Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm wondering if there is a way to make a program wait mid sub for a return of data. For example

 

Sub main()

 

run code

 

if statement

 

call function

 

End if

 

more code...

 

end sub

 

^^^ THis is easy, But what I'm looking to do is....

 

Sub main()

 

run code

 

if statement

 

Load second form (collect data from user)

 

Return data/use it in code

 

End if

 

more code...

 

end sub

 

Whats hapenneing is when I load the second form the program is just finishing out the sub main code, it's not waiting for the data to come back from the second form to finish it's code.

 

Is there a way to make it wait?

 

Thanks

Nendail

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...