Click here to Skip to main content
15,899,313 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionLink progress bar to a timer Pin
harveyhanson3-Mar-07 5:52
harveyhanson3-Mar-07 5:52 
AnswerRe: Link progress bar to a timer Pin
Dave Kreskowiak3-Mar-07 6:44
mveDave Kreskowiak3-Mar-07 6:44 
GeneralRe: Link progress bar to a timer Pin
harveyhanson3-Mar-07 7:12
harveyhanson3-Mar-07 7:12 
QuestionCall Keypress Pin
Anybloodyid3-Mar-07 5:14
Anybloodyid3-Mar-07 5:14 
AnswerRe: Call Keypress Pin
JUNEYT3-Mar-07 5:32
JUNEYT3-Mar-07 5:32 
AnswerRe: Call Keypress Pin
Dave Kreskowiak3-Mar-07 6:37
mveDave Kreskowiak3-Mar-07 6:37 
GeneralRe: Call Keypress Pin
Anybloodyid3-Mar-07 10:55
Anybloodyid3-Mar-07 10:55 
GeneralRe: Call Keypress Pin
Dave Kreskowiak3-Mar-07 13:14
mveDave Kreskowiak3-Mar-07 13:14 
Your tile coordinates would probably have class scope. This mean you can get to the coordinates from any method in your form.

Your Timer event should just be concerned with changing the coordinates, moving the tile down the form. It doesn't need to know anything about any keystrokes and doesn't need to generate any.

The second thing that the Timer event needs to do is redraw the form so the user sees the tile moving down the form.

Your keydown event should be doing just what it's doing - moving the tile coordinates left and right.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Call Keypress Pin
Anybloodyid3-Mar-07 22:08
Anybloodyid3-Mar-07 22:08 
QuestionVB.net and GetForegroundWindow Issues/Bug??? Pin
brentleim13-Mar-07 4:58
brentleim13-Mar-07 4:58 
AnswerRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 6:25
mveDave Kreskowiak3-Mar-07 6:25 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? [modified] Pin
brentleim13-Mar-07 8:20
brentleim13-Mar-07 8:20 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 10:29
mveDave Kreskowiak3-Mar-07 10:29 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
brentleim13-Mar-07 10:56
brentleim13-Mar-07 10:56 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
brentleim13-Mar-07 12:43
brentleim13-Mar-07 12:43 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 13:29
mveDave Kreskowiak3-Mar-07 13:29 
GeneralRe: VB.net and GetForegroundWindow Issues/Bug??? Pin
Dave Kreskowiak3-Mar-07 13:26
mveDave Kreskowiak3-Mar-07 13:26 
Question[Message Deleted] Pin
harveyhanson3-Mar-07 2:46
harveyhanson3-Mar-07 2:46 
AnswerRe: Easy one (I hope) Pin
JUNEYT3-Mar-07 2:53
JUNEYT3-Mar-07 2:53 
AnswerRe: Easy one (I hope) Pin
kubben3-Mar-07 4:30
kubben3-Mar-07 4:30 
Questionreading data from a barcode reader Pin
moseti3-Mar-07 2:29
moseti3-Mar-07 2:29 
AnswerRe: reading data from a barcode reader Pin
mr_lasseter3-Mar-07 4:05
mr_lasseter3-Mar-07 4:05 
AnswerRe: reading data from a barcode reader Pin
steve_rm3-Mar-07 6:09
steve_rm3-Mar-07 6:09 
QuestionImporting data from Foxpro to MS-Access Pin
hisuman1003-Mar-07 0:59
hisuman1003-Mar-07 0:59 
QuestionUrgent..SOS...SOS... Pin
NANCO3-Mar-07 0:57
NANCO3-Mar-07 0:57 

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.