Click here to Skip to main content
15,922,650 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to know if a tooltip is displayed or not when mouse is moved Pin
Anonymous29-Mar-05 19:18
Anonymous29-Mar-05 19:18 
GeneralDisplay a form in Sub Main() Pin
Mahesh167929-Mar-05 18:50
Mahesh167929-Mar-05 18:50 
GeneralRe: Display a form in Sub Main() Pin
sumit2129-Mar-05 19:46
sumit2129-Mar-05 19:46 
GeneralRe: Display a form in Sub Main() Pin
Mahesh167929-Mar-05 20:12
Mahesh167929-Mar-05 20:12 
GeneralRe: Display a form in Sub Main() Pin
rwestgraham29-Mar-05 20:27
rwestgraham29-Mar-05 20:27 
GeneralRe: Display a form in Sub Main() Pin
Sunil Gidwani29-Mar-05 19:58
Sunil Gidwani29-Mar-05 19:58 
GeneralRe: Display a form in Sub Main() Pin
sumit2129-Mar-05 20:30
sumit2129-Mar-05 20:30 
GeneralRe: Display a form in Sub Main() Pin
Mitch F.29-Mar-05 20:43
Mitch F.29-Mar-05 20:43 
Hello,
You could try to put your conditional statements inside of the Form Load event. If the conditions are not met, you could then use Me.Close() to exit.

For an example,
If <conditions> then
'Do your stuff here if it is met
Else
Me.Close() 'Exit the application since the conditions are not met.
End If


I hope this helps,

Programmer2k4

My sig:

"And it is a professional faux pas to pay someone else to destroy your computer when you are perfectly capable of destroying it yourself." - Roger Wright

I now use my CodeProject Blog!

Most recent blog post: March 24

GeneralRe: Display a form in Sub Main() Pin
Benjamin Liedblad29-Mar-05 21:48
Benjamin Liedblad29-Mar-05 21:48 
GeneralRe: Display a form in Sub Main() Pin
Mahesh167929-Mar-05 22:36
Mahesh167929-Mar-05 22:36 
GeneralThanks ! Pin
Mahesh167929-Mar-05 22:36
Mahesh167929-Mar-05 22:36 
QuestionHow to convert a string to form object? Pin
Sheel Gohe29-Mar-05 18:26
Sheel Gohe29-Mar-05 18:26 
AnswerRe: How to convert a string to form object? Pin
Ritesh123430-Mar-05 3:19
Ritesh123430-Mar-05 3:19 
GeneralRe: How to convert a string to form object? Pin
Sheel Gohe30-Mar-05 20:10
Sheel Gohe30-Mar-05 20:10 
QuestionHow to get the command line argument of the other processes in VB using Win32 API? Pin
Kent Liu29-Mar-05 17:39
professionalKent Liu29-Mar-05 17:39 
Generalserialization problem Pin
29-Mar-05 16:17
suss29-Mar-05 16:17 
GeneralDatagrid Pin
rusudhan29-Mar-05 16:12
rusudhan29-Mar-05 16:12 
GeneralRe: Datagrid Pin
Christian Graus29-Mar-05 16:34
protectorChristian Graus29-Mar-05 16:34 
GeneralCode Downgrade Pin
Member 175892829-Mar-05 14:20
Member 175892829-Mar-05 14:20 
GeneralRe: Code Downgrade Pin
Mitch F.29-Mar-05 20:24
Mitch F.29-Mar-05 20:24 
GeneralRe: Code Downgrade Pin
Member 175892830-Mar-05 0:52
Member 175892830-Mar-05 0:52 
Generalmultiple objects in datagrid Pin
nordyck29-Mar-05 13:21
nordyck29-Mar-05 13:21 
GeneralAdvice to learn assembly programming language Pin
Mekong River29-Mar-05 11:29
Mekong River29-Mar-05 11:29 
GeneralRe: Advice to learn assembly programming language Pin
Colin Angus Mackay29-Mar-05 12:03
Colin Angus Mackay29-Mar-05 12:03 
GeneralRe: Advice to learn assembly programming language Pin
Christian Graus29-Mar-05 12:09
protectorChristian Graus29-Mar-05 12:09 

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.