Jump to content

Home

How Do I...


Zavior

Recommended Posts

This is basicly a help thread, this thread is to ask questions like so...

 

 

How do I program the extra buttons on my keyboard like the internet button, movie/music button. Btw my computer is Windows ME.

 

 

If someone answers my question they get to post a help post, so on and so on. It could really be helpful!

 

 

D.

Link to comment
Share on other sites

For those of you who know Visual Basic...

 

How do I display a certain MsgBox depending on a variable's value? I'm trying to write this code (variables are in bold):

 

[b]score[/b]  = [b]one[/b] + [b]two[/b] + [b]three[/b] + [b]four[/b] + [b]five[/b] + [b]six[/b] + [b]seven[/b]

If [b]score[/b]  = 1 Then
MsgBox "Message"
If [b]score[/b] = 2 Then
MsgBox "Message"

 

..and so on. Can someone help me? :confused:

Link to comment
Share on other sites

Originally posted by Samuel Dravis

select case score

 

case 1

'msgbox code

case 2

'msgbox code

case 3

'msgbox code

case 4

'msgbox code

case 5

'msgbox code

end select

 

I don't really know what you want with it, but this is smaller...

 

What's with the ['] before msgBox?

 

'msgbox??

Link to comment
Share on other sites

Originally posted by Domo-Kun

This is basicly a help thread, this thread is to ask questions like so...

 

 

How do I program the extra buttons on my keyboard like the internet button, movie/music button. Btw my computer is Windows ME.

 

 

If someone answers my question they get to post a help post, so on and so on. It could really be helpful!

 

 

D.

 

Try here, it is on the HP site, since Compaq and HP merged, see if this helps

 

http://h20015.www2.hp.com/en/document.jhtml?lc=en&docName=bph06267

Link to comment
Share on other sites

domo-kun - go look at this thread.

 

joe - the forum is probably the best idea. post it in the VB newbies section if its just a simple problem. you can upload your code to their server, and then they will be able to tell you what to do (in detail). Thanks for the vote of confidence, but I'm not really all that great of a VB programmer...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...