Click here to Skip to main content
16,010,553 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Access 2007 DB Row Locking Pin
bmcD9929-Jul-11 4:42
bmcD9929-Jul-11 4:42 
QuestionHow to convert an SQL table to Access table Pin
Milad.Biroonvand6-Jun-11 8:52
Milad.Biroonvand6-Jun-11 8:52 
AnswerRe: How to convert an SQL table to Access table Pin
Johan Hakkesteegt9-Jun-11 3:04
Johan Hakkesteegt9-Jun-11 3:04 
QuestionVB.NET read email using MAPI [modified] Pin
hansoctantan3-Jun-11 21:44
professionalhansoctantan3-Jun-11 21:44 
AnswerRe: VB.NET read email using MAPI Pin
Dalek Dave13-Jun-11 11:49
professionalDalek Dave13-Jun-11 11:49 
QuestionVB crystal report datasource connection Pin
Central_IT3-Jun-11 1:49
Central_IT3-Jun-11 1:49 
AnswerRe: VB crystal report datasource connection Pin
Dave Kreskowiak3-Jun-11 3:31
mveDave Kreskowiak3-Jun-11 3:31 
QuestionHandle to functions. Pin
Capitanevs2-Jun-11 15:10
Capitanevs2-Jun-11 15:10 
Hi!

Is there a way to use "function handles in VB 2010"?

For instance, let's suppose to define an array of sub or functions:

array1 = {sub1(), sub2(param1, param2), sub3(param3)....}


I would like them to be called in the sequence specified within array1 from another sub, let's say a "server sub"

for i = 0 to N_MAX

  INVOKE_FuNCTION(array1(i))
end


Lines before were in "symbolic" language (not true VB, of course).

Is there a way to build array1 and to subsequently call the therein contained functions, as stated above?

Thanks!
...............................................
For who is interested in my troubles....

I am using the System.Windows.Form.WebBrowser and I have a sequence of operation to perform programmatically, each of which requires the DocumentCompleted event to be triggered. My idea was to put the for loop within the function DocumentCompleted function, in order to call the operations being sure the web page is loaded. This allows the sequence of function to be changed. tnx!

Do While ReadyStatus = False
Loop
ReadyStatus = False

End Sub
AnswerRe: Handle to functions. Pin
Dave Kreskowiak2-Jun-11 15:47
mveDave Kreskowiak2-Jun-11 15:47 
GeneralRe: Handle to functions. Pin
Capitanevs2-Jun-11 21:44
Capitanevs2-Jun-11 21:44 
QuestionVB.NET read all folders in FTP Server Pin
hansoctantan2-Jun-11 3:30
professionalhansoctantan2-Jun-11 3:30 
AnswerRe: VB.NET read all folders in FTP Server Pin
Luc Pattyn2-Jun-11 4:21
sitebuilderLuc Pattyn2-Jun-11 4:21 
GeneralRe: VB.NET read all folders in FTP Server Pin
hansoctantan3-Jun-11 21:43
professionalhansoctantan3-Jun-11 21:43 
QuestionTCP Comm to Zebra Printer Pin
dBrong31-May-11 6:29
dBrong31-May-11 6:29 
AnswerWindows environment ? Pin
David Mujica31-May-11 7:17
David Mujica31-May-11 7:17 
GeneralRe: Windows environment ? Pin
dBrong31-May-11 10:43
dBrong31-May-11 10:43 
AnswerRaw Data Printer Component Pin
David Mujica1-Jun-11 6:26
David Mujica1-Jun-11 6:26 
GeneralRe: Raw Data Printer Component Pin
dBrong1-Jun-11 10:45
dBrong1-Jun-11 10:45 
GeneralRe: Raw Data Printer Component Pin
David Mujica2-Jun-11 5:58
David Mujica2-Jun-11 5:58 
GeneralRe: Raw Data Printer Component Pin
dBrong2-Jun-11 8:48
dBrong2-Jun-11 8:48 
QuestionVB.NET TO SQL STORED PROCEDURE Pin
PingLocalHost27-May-11 16:21
PingLocalHost27-May-11 16:21 
AnswerRe: VB.NET TO SQL STORED PROCEDURE Pin
thatraja27-May-11 17:07
professionalthatraja27-May-11 17:07 
QuestionVB6 vs VS2005 Pin
DanYELL27-May-11 3:14
DanYELL27-May-11 3:14 
AnswerRe: VB6 vs VS2005 Pin
Eddy Vluggen27-May-11 3:29
professionalEddy Vluggen27-May-11 3:29 
AnswerRe: VB6 vs VS2005 Pin
Dave Kreskowiak27-May-11 3:42
mveDave Kreskowiak27-May-11 3:42 

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.