-
I have this code:
Code:
Text1.Visible = False
Genie.Show
Genie.Play "Greet"
Genie.Speak "Please Enter Your NAme"
Text1.Visible = True
So the text1 is supposed to be visible onlay after the character has done all the actions.But instead,text1 becomes visible and then the character does the actions.Can somebody help me with this?
-
Try a doevents after you set the visible prop to false.
-
Then I think one of those lines of code is asynchronous. This word gets mentioned in the MSDN and help files quite abit, meaning that VB might not actually wait for the action to finish before moving on, like the shell function. Try using Play and Greet individually to see if they are both asynchronous or just one of them.
Sunny