VB.Net - Help With Passing Variable to EXE
Posted on 2013-12-26
Good Day Experts!
I have my next requirement for my new project that I am unsure how to achieve...hopefully you can help.
New Project Deliverable:
Add ability to accept passing in of Variable to User.exe.
The User.exe was in VB6 and I just converted it to Vb.Net. The calling program is in VB6 and has the following line of code to call the exe and will be modified to pass a Variable:
I have to modifiy the User project to take in the newly passed in variable.
The User project Form load event has this following button click to initiate the activity:
Private Sub Form2_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
Command1_Click(Command1, New System.EventArgs())
What do I have to do to my Form2_Load event and Command1_Click to get this newly passed variable into the code?
Thanks for the help,