Hi,
I am fairly new to VB.NET and i'm just wondering if anyone can help with a problem I am having. I am looking to pass some parameters to a vb.net application fwhen I call the app from another program (written in oracle forms). My question relates to how these parameters should be handled.
In my form_load I have a test to see if anything is passed in -
<code>strBalType = My.Application.CommandLineArgs(0) </code>.
My other question is how is this app then called? For example from my command line can I just call c:\test.exe 10, and the string above will have a value of ten? I have tried testing this but I always get an index out of range exception.
Also is there a way, when debugging, I can run the project with these command line parameters being passed in from the IDE? This would save me having to build the project every time.
Hopefully someone can help with this because it has been dricing me crazy!
David.