F Franky Feb 10, 2006 #1 the file .exe in the vbnet can received a parameter how can i received this parameter by code ??
F Fabien Feb 15, 2006 #2 Hi, You can do this with the following lines : Public Sub MainForm(ByVal args() As String) If args.Length = 0 Then MessageBox.Show("Nothing") Else MessageBox.Show(args(0)) End If Args is a string array with the parameters. BR Fabien Decret ADENEO (ADESET) http://www.adeneo.adetelgroup.com/ Franky a écrit :
Hi, You can do this with the following lines : Public Sub MainForm(ByVal args() As String) If args.Length = 0 Then MessageBox.Show("Nothing") Else MessageBox.Show(args(0)) End If Args is a string array with the parameters. BR Fabien Decret ADENEO (ADESET) http://www.adeneo.adetelgroup.com/ Franky a écrit :