Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
how do I pass external parameters to a vb exec
I want to pass two external parameters to my vb exec to be used as variables so I can reuse the same exec.
The two parameters are the SQL table name and the report name.
I want to create a shortcut on the user's desktop that the command line is as follows:
IconMain.exe _SQLtablename_ _ReportFileName_
I'm using Sub Main() as my start since execution should be transparent to the user.
I also have a Sub Process_Workfile() which I want to pass both parameters to.
Can someone give me a code snippet example of how to do this?
0 · ·