Click here to Skip to main content
16,005,206 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: App does not get focus on Win 2000. Pin
Dave Kreskowiak13-Jul-06 4:51
mveDave Kreskowiak13-Jul-06 4:51 
Questiondatabase programming Pin
ramin_ok13-Jul-06 0:38
ramin_ok13-Jul-06 0:38 
AnswerRe: database programming Pin
Christian Graus13-Jul-06 4:26
protectorChristian Graus13-Jul-06 4:26 
QuestionHow I do Video Streaming in VB.NET Pin
sam_pune12-Jul-06 23:42
sam_pune12-Jul-06 23:42 
AnswerRe: How I do Video Streaming in VB.NET Pin
Dave Kreskowiak13-Jul-06 4:40
mveDave Kreskowiak13-Jul-06 4:40 
Questionusing VB 6.0 how to reset the timer while excuting the program Pin
Simple programmer12-Jul-06 23:14
Simple programmer12-Jul-06 23:14 
AnswerRe: using VB 6.0 how to reset the timer while excuting the program Pin
Dave Kreskowiak13-Jul-06 4:31
mveDave Kreskowiak13-Jul-06 4:31 
GeneralRe: using VB 6.0 how to reset the timer while excuting the program Pin
Simple programmer13-Jul-06 15:44
Simple programmer13-Jul-06 15:44 
Hi Dave,
Thanx fr ur rply. so basically there is few levels in the test. Each level there are arnd 10 images. For every level i'm using 1 form.
Currently i using the 1 timer only & i set the timer interval as 1000. c the code there

private form1_load()
image1.picture=Loadpicture("C:\images\apple") 'question 1
End Sub.

Private sub form1_keypress(keyascii as integer)
if (keyascii=65) then
image1.picture=Loadpicture("C:\images\bus") 'question 2
if (keyascii=66) then
image1.picture=Loadpicture("C:\images\Cat") 'question 3
if (keyascii=67) then
score=3 'score is a global variable
form2.show 'GOTO LEVEL 2
me.hide
else
score=2
endif
else
score=2
endif
else
image1.picture=Loadpicture("C:\images\apple") 'repeat the question
if (keyascii=65) then
score=1
else
score=0
endif
endif

//if (timer1=10)
image1.picture=Loadpicture("C:\images\bus")
else if (timer1=20)
image1.picture=Loadpicture("C:\images\cat")
endif//

so now i don't know how to set the timer event. According to the code here Let's say if the user answer below 5 secs for the que 1,it will give 15 secs to answer the que 2. which is not correct.

pls me help to solve this.

Thanx.

Regards


GeneralRe: using VB 6.0 how to reset the timer while excuting the program Pin
Dave Kreskowiak14-Jul-06 0:41
mveDave Kreskowiak14-Jul-06 0:41 
QuestionIn crystal report data are not displayed when passing paramete Pin
subhsam12-Jul-06 23:14
subhsam12-Jul-06 23:14 
Questionconnecting to MySQL Server Pin
70's live!12-Jul-06 22:07
70's live!12-Jul-06 22:07 
AnswerRe: connecting to MySQL Server Pin
Guffa13-Jul-06 0:59
Guffa13-Jul-06 0:59 
AnswerRe: connecting to MySQL Server Pin
Guffa13-Jul-06 11:50
Guffa13-Jul-06 11:50 
GeneralRe: connecting to MySQL Server Pin
70's live!16-Jul-06 20:40
70's live!16-Jul-06 20:40 
QuestionI need help...pls help.... Pin
LifeIsSad12-Jul-06 22:02
LifeIsSad12-Jul-06 22:02 
AnswerRe: I need help...pls help.... Pin
Dave Kreskowiak13-Jul-06 2:36
mveDave Kreskowiak13-Jul-06 2:36 
AnswerRe: I need help...pls help.... Pin
PlayByTheRules13-Jul-06 2:37
PlayByTheRules13-Jul-06 2:37 
AnswerRe: I need help...pls help.... Pin
Christian Graus13-Jul-06 4:27
protectorChristian Graus13-Jul-06 4:27 
QuestionTreeView Multi-select Pin
jo_eylee12-Jul-06 21:53
jo_eylee12-Jul-06 21:53 
AnswerRe: TreeView Multi-select Pin
Dave Kreskowiak13-Jul-06 2:39
mveDave Kreskowiak13-Jul-06 2:39 
AnswerRe: TreeView Multi-select Pin
Werries18-Jul-06 11:21
Werries18-Jul-06 11:21 
GeneralRe: TreeView Multi-select Pin
jo_eylee18-Jul-06 17:28
jo_eylee18-Jul-06 17:28 
QuestionADVAPI32.lib Pin
vbvic12-Jul-06 20:38
vbvic12-Jul-06 20:38 
AnswerRe: ADVAPI32.lib Pin
Dave Kreskowiak13-Jul-06 2:38
mveDave Kreskowiak13-Jul-06 2:38 
QuestionHow to dynamically create a query in Access database using Vb.net/C# and ADO.Net Pin
Hari Prasad Karnam12-Jul-06 20:33
Hari Prasad Karnam12-Jul-06 20:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.