Hi Justin, Nope, that's fine thanks. I found it in the end, using my trusty route of scanning through the Object Browser until I saw something that looked likely, and then hit f1. <grin> strCommandLineParms = Command David Lant I.T. Consultant Consultancy & Development ICT Services Tel: (01392) 382464 Devon County Council accepts no legal responsibility for the contents of this message. The views expressed do not reflect those of Devon County Council. -----Original Message----- From: Justin Daubenmire [mailto:justind@xxxxxxxxx] Sent: 09 September 2005 14:59 To: program-l@xxxxxxxxxxxxx Subject: [program-l] Re: VB6 and Command Line Parameters David, if you still need this let me know. I have code for this on my home pc but am at work now. Justin ----- Original Message ----- From: "David Lant" <david.lant@xxxxxxxxxxxx> To: <Program-L@xxxxxxxxxxxxx> Sent: Thursday, September 08, 2005 7:59 AM Subject: [program-l] VB6 and Command Line Parameters > Hi again, > > My day for dumb questions I think.... > > How would one receive command line parameters in a VB6 .exe? I don't > see > a > property of the App object that might present them, and I can't find any > documentation on how it is done. > > David Lant > > I.T. Consultant > Consultancy & Development > ICT Services > Tel: (01392) 382464 > > Devon County Council accepts no legal responsibility for the contents > of this message. The views expressed do not reflect those of Devon > County Council. > > ** To leave the list, click on the immediately-following link:- > ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] > ** If this link doesn't work then send a message to: > ** program-l-request@xxxxxxxxxxxxx > ** and in the Subject line type > ** unsubscribe > ** For other list commands such as vacation mode, click on the > ** immediately-following link:- > ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] > ** or send a message, to > ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq ** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq ** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq