A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Available to use



 
 
Thread Tools Display Modes
  #1  
Old January 20th, 2010, 02:30 PM posted to microsoft.public.powerpoint
Nickooo87
external usenet poster
 
Posts: 11
Default Available to use

Hello,

Im trying to create a quiz system that allows users to log in and take
a quiz. However there are two users of the system, lecturers and
students. What I need help with is I want to make a page on my slide
to allow a lecturer to make content avaiable. For instance

If the lecturer logs in they are taken to a page with two buttons on
it saying log out or make slides avaiable.

Then if a student logs in, depending if the presentation is avaiable
they are taken to the quiz, if it is not avaiable a message pops up
and telling them it is unvaiable and they are taken to the login
screen.

Im thinking that i need some sort of button to update a textbox with a
value and if that textbox has the value in then it can be made
available but im ensure on how to do this?

Can anybody help with this? sorry the above is a bit confusing.

Thanks

Nick
  #2  
Old January 20th, 2010, 04:05 PM posted to microsoft.public.powerpoint
David Marcovitz
external usenet poster
 
Posts: 647
Default Available to use

This can be done in a number of ways. The simplest thing is to use an
InputBox:

myPassword = InputBox("Type the instructor password.")
If myPassword = "LetMeIn" Then
do something here such as GotoSlide 7
Else
do something else such as MsgBox "Wrong password"
End If

Now, the question is what do you do in the "do somethings" above. You will
need to keep track of what the instructor has done so you'll need to have
the instructor presentation keep track of something. This is really easy if
the presentation is running continuously (just use a variable Dim
quizAvailable As Boolean), but if the presentation is going to be shut down,
you'll have to do something else. If you want to store the information in
the presentation, you'll have to save the presentation
(ActivePresenation.Save). You could do this by hiding and showing buttons.
One button takes you to the quiz, the other pops up a MsgBox saying the quiz
is unavailable. If the instructor makes the quiz available hide one button
and show the other and save. You could do this with a tag and then you would
use an If statement to check the tag. Were you the one working with external
databases? If so, you could store the information about the availability of
the quiz in the external database. Lots of options.

--David

On 1/20/10 8:30 AM, in article
,
"Nickooo87" wrote:

Hello,

Im trying to create a quiz system that allows users to log in and take
a quiz. However there are two users of the system, lecturers and
students. What I need help with is I want to make a page on my slide
to allow a lecturer to make content avaiable. For instance

If the lecturer logs in they are taken to a page with two buttons on
it saying log out or make slides avaiable.

Then if a student logs in, depending if the presentation is avaiable
they are taken to the quiz, if it is not avaiable a message pops up
and telling them it is unvaiable and they are taken to the login
screen.

Im thinking that i need some sort of button to update a textbox with a
value and if that textbox has the value in then it can be made
available but im ensure on how to do this?

Can anybody help with this? sorry the above is a bit confusing.

Thanks

Nick


--
David M. Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
Microsoft PowerPoint MVP
Associate Professor, Loyola University Maryland


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.