Question : DLL executing asynchronously

I have a VB.net 2005 solution with 2 projects. Project 1 is windows application and project 2 is a dll.  Project 1 has a subroutine that calls a function in project 2. The problem is project 1 subroutine finishes before project 2 function returns a value.  
How do I make the subrountine wait for the function to return a value?

Answer : DLL executing asynchronously

From wikipedia, the definition of computer programming is as follows:
"Computer programming (often shortened to programming or coding) is the process of designing, writing, testing, debugging  / troubleshooting, and maintaining the source code of computer programs"

As you are not creating source code of a computer program, instead you are just retrieving or inputting data into a database, you are not programming when writing SQL.

Programming processes include input>functions>output to get something new from the data which you put into the program in the first place. If you are just sending and retreiving the same data in different forms or places, SQL is not technically programming, just as HTML is coding not programming also. Hope this helps.
Random Solutions  
 
programming4us programming4us