can you give an example ? i am not quite sure i understood it... and i am still open to any other suggestions...
Printable View
can you give an example ? i am not quite sure i understood it... and i am still open to any other suggestions...
start a new project with a textbox on it
insert this code:
Private Sub Form_Load()
Text1.Text = Command
End Sub
and compile it
then in windows you need to create an associtaition for a filetype
eg. create a file called 'testfile.xyz' click on it and it will ask what program you wish to open it with..click other and find your program that you just compiled....make sure the always use this program for this filetype is checked...
now whenever you click on a file of type .xyz it will open your program and the name of the file will be in the text box
thank you very much chrisa it really works :))