Ok ! I make the file association, but there is a problem. When i double-click the file - it only opens the application, but does not display the desired file !
Why ?
Printable View
Ok ! I make the file association, but there is a problem. When i double-click the file - it only opens the application, but does not display the desired file !
Why ?
Use Command to retrieve the command line argument.
Code:Private Sub Form_Load()
'The filename of the file that was double clicked is
'represented by "Command", therefor, simply call your
'load function using "Command" as the file name.
'For example, if you were making a Text Editor
Open Command For Input As #1
Text1 = Input(LOF(1), 1)
Close #1
End Sub
Another thing. Next time, please choose a legit met subject instead of "Sex Again."
He got a reply, though, didn't he?
Wink, wink, Megatron.
I try to look at all threads, regardless of their title, but it would be helpful to have a legit met subject.
Thanks guys !
World
Your Welcome