This should be an EASY one guys!
I have a form called form1 and a function called doStuff. The doStuff function takes 2 integers in and does things (like modify textboxes on the form and modify global variables etc). In form1, I can call it simply like this: doStuff(5,8) and it works great!
I have a DLL. I launch this dll 500 times and it goes out and "does its thing" and reports back in a minute or so when it's done. I want it to send its gathered information to the doStuff function in Form1 before it unloads itself.
In the DLL, I'm using the code:
Dim asdf As Form1
asdf.doit(x, y) '(x and y are integers)
and it's not working! It seems to be running the function as it it were IN the DLL (there are no textboxes in the DLL!)
How do I make the DLL call a function on Form1 and have it run *ON FORM1*? Thanks in advance!