If VB or VBS is your only choices, you will have to use VB. I don't think that you can pass arguments into a vbs script. In vb, you can make a formless program, just by removing the form, and adding a module to your project. Then in the module, you need a function called sub main.
In vb, you would use the Command keyword like this:
VB Code:
Sub Main() msgbox Command$ End sub
This will show the arguments passed to the program in a messagebox.
Hope this helps.




Reply With Quote