ss002d6252
New member
- Joined
- Jul 3, 2006
- Messages
- 4
- Programming Experience
- Beginner
I have a calculator like program which has a function to export a string ('StringBuild') to notepad .
The process start OK but it has a funny problem. When I run Process.Start it also keept running a sub that I had linked to one of the calculator buttons.
I played around with the code but now it runs a hyperlink that I have on the calculator.
Can anyone suggest a way to stop this happening ?. I even tried adding an empty, hidden, button as the last item on the tabindex to see if that would work but it hasn't.
The process start OK but it has a funny problem. When I run Process.Start it also keept running a sub that I had linked to one of the calculator buttons.
I played around with the code but now it runs a hyperlink that I have on the calculator.
Can anyone suggest a way to stop this happening ?. I even tried adding an empty, hidden, button as the last item on the tabindex to see if that would work but it hasn't.
VB.NET:
Process.Start("Notepad.exe")
SendKeys.Send(StringBuild.ToString)