Hi - I've done a bit of VB.net programming but am still learning ..
I want to create a .net DLL which I will call from another application (NS Teststand).
When I call the Dll -
1. I will need to pass a string to it,
2. It must show a form,
3. display the string in the form
4. then ask a user to type something into a text box ( also on the form) and click an OK button.
5. when the Ok button is clicked the form should close and return the data in the text box.
I can setup the dlll - with a form inside ....textbox ., buttons etc... but am not sure how to call the dll and how to open the form inside the dll, then pass the string to it and return the textbox text from it ..back to the Dll caller
Does anyone have any sample code I could look at ?
appreciate your help in advance.
B.
I want to create a .net DLL which I will call from another application (NS Teststand).
When I call the Dll -
1. I will need to pass a string to it,
2. It must show a form,
3. display the string in the form
4. then ask a user to type something into a text box ( also on the form) and click an OK button.
5. when the Ok button is clicked the form should close and return the data in the text box.
I can setup the dlll - with a form inside ....textbox ., buttons etc... but am not sure how to call the dll and how to open the form inside the dll, then pass the string to it and return the textbox text from it ..back to the Dll caller
Does anyone have any sample code I could look at ?
appreciate your help in advance.
B.