Click here to Skip to main content
15,913,133 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Strange PostMessage Problem Pin
Richard Deeming28-Jan-03 0:44
mveRichard Deeming28-Jan-03 0:44 
GeneralI need a wait command Pin
NickOne27-Jan-03 10:07
NickOne27-Jan-03 10:07 
GeneralRe: I need a wait command Pin
Ray Cassick27-Jan-03 12:00
Ray Cassick27-Jan-03 12:00 
GeneralVB Data control Pin
mixahlos27-Jan-03 9:43
mixahlos27-Jan-03 9:43 
QuestionHow to catch DoubleClick event in treeview control Pin
26-Jan-03 23:34
suss26-Jan-03 23:34 
AnswerRe: How to catch DoubleClick event in treeview control Pin
Heath Stewart27-Jan-03 1:56
protectorHeath Stewart27-Jan-03 1:56 
Generalgenerating report based on subgroups Pin
mcm26-Jan-03 3:45
mcm26-Jan-03 3:45 
Generalcalling a subroutine at the beginnign Pin
NickOne25-Jan-03 14:16
NickOne25-Jan-03 14:16 
hello,

I am trying to learn how to call a subroutine at the beginning of a program, before anyone has to click on anything. I am writing a real simple unit conversion program, and I wanted to display this menu inside a picture box:

pic_unitDisplay.Print "1. inch", "2. fathom", "3. foot"
pic_unitDisplay.Print "4. furlong", "5. kilometer", "6. meter"
pic_unitDisplay.Print "7. fathom", "8. rod", "9. yard"

(oh yeah I am doingthis in VB 6)
So I placed that in a subroutine called unitDisplay. If I call subroutine on any of the click, like a command button or anything, it'll pop up like I want. BUT I want it to pop up first, right at the beginning of the program. How do I call a subroutine right at the beginning of program execution?

Thanks

Nick
GeneralRe: calling a subroutine at the beginnign Pin
Hesham Amin26-Jan-03 10:52
Hesham Amin26-Jan-03 10:52 
GeneralRe: calling a subroutine at the beginnign Pin
Paul Farry22-Feb-03 17:41
professionalPaul Farry22-Feb-03 17:41 
Generalgenerating report based on parametres in Where clause Pin
mcm25-Jan-03 4:37
mcm25-Jan-03 4:37 
GeneralSerializing a strong typed collection Pin
Jan Tielens24-Jan-03 10:13
Jan Tielens24-Jan-03 10:13 
GeneralRe: Serializing a strong typed collection Pin
Jan Tielens3-Mar-03 7:31
Jan Tielens3-Mar-03 7:31 
QuestionVB 6.0 printf-like string function? Pin
Derek Price24-Jan-03 8:31
Derek Price24-Jan-03 8:31 
AnswerRe: VB 6.0 printf-like string function? Pin
pnpfriend24-Jan-03 9:44
pnpfriend24-Jan-03 9:44 
GeneralRe: VB 6.0 printf-like string function? Pin
Derek Price24-Jan-03 9:51
Derek Price24-Jan-03 9:51 
GeneralRe: VB 6.0 printf-like string function? Pin
mixahlos27-Jan-03 11:12
mixahlos27-Jan-03 11:12 
GeneralMinimize button Pin
Xanty24-Jan-03 6:31
Xanty24-Jan-03 6:31 
GeneralRe: Minimize button Pin
SimonS24-Jan-03 7:11
SimonS24-Jan-03 7:11 
GeneralRe: Minimize button Pin
Anomaly102428-Jan-03 16:39
Anomaly102428-Jan-03 16:39 
Generalint to a Pin
pnpfriend24-Jan-03 6:01
pnpfriend24-Jan-03 6:01 
GeneralRe: int to a Pin
SimonS24-Jan-03 7:05
SimonS24-Jan-03 7:05 
GeneralRe: int to a Pin
pnpfriend24-Jan-03 7:21
pnpfriend24-Jan-03 7:21 
GeneralRe: int to a Pin
SimonS24-Jan-03 7:36
SimonS24-Jan-03 7:36 
GeneralRe: int to a Pin
Nick Seng24-Jan-03 8:01
Nick Seng24-Jan-03 8:01 

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.