I have to pass parameters from one exe to other exe of vb.net. Second applicaion must receive the parameter in constructor.
I am calling the second exe from first application the code is -
Process.Start("D:\Test1\Test1.exe", "Tesing Application")
Constructor in second application is -
Public Sub New(ByVal newParameter As String)
'MyBase.New()
InitializeComponent()
p1 = newParameter
End Sub
But "Testing Application" parameter is not able to read thro' second application.
How can i send it to second application and how can i receive it?
I am calling the second exe from first application the code is -
Process.Start("D:\Test1\Test1.exe", "Tesing Application")
Constructor in second application is -
Public Sub New(ByVal newParameter As String)
'MyBase.New()
InitializeComponent()
p1 = newParameter
End Sub
But "Testing Application" parameter is not able to read thro' second application.
How can i send it to second application and how can i receive it?