dhreis
18th December 2002, 14:09
Hello.

I have one device that is notepad, and in the the argument i have some like "ASCII:notepad %s".

And the result of this is that i have my list in notepad.

My question is:

Is there any way that i after the notepad, send the logname for example? :confused:
Is there any way that i could pass any parameter to the program that i'm open in windows? :confused:

Thanks any way. ;)

Diogo Reis

NPRao
18th December 2002, 15:36
Diogo,

You can send/use the parameters which are defined for the particular executable programs.

If you open the my computers, then the tools, folder options, file types and the extention "txt", then the advanced properties and the edit types gives you the allowed parameters.

Hence, you cannot send a login name etc to the notepad program as it takes only one parameter, the file name.

dhreis
18th December 2002, 16:18
Yes, i know that notepad only takes one parameter. The notepad was one example.

Because i want this to one application that i'm doing in Visual Basic.

Thaks any way.

Diogo Reis