Re: [RESOLVED] Double Click
So help other members by posting what you was doing wrong and what solved it.
Re: [RESOLVED] Double Click
I wasn't doing anything wrong. And while your code works and I can understand it, I still have no idea why the extra code is necessary to make the browser open/execute a file on a double-click or using the open button when the window is opened from Visual Basic. That is still way beyond my pay grade.
Re: [RESOLVED] Double Click
If you want to run a file then use process start
Re: [RESOLVED] Double Click
I have been using the following to first create a directory:
'creates Directory for files
System.IO.Directory.CreateDirectory(FILEPATH & txtFileAdd)
Then I use the OFD to open the directory:
ofdFileCabinet.InitialDirectory = txtMasterFiles
ofdFileCabinet.ShowDialog()
Then, from the browser window, I can scan files into the directory or copy/move them into the directory. Additionally, the files can be opened by selecting the file and right clicking. As soon as I can find some time to put in the code you gave me I should also be able to open the selected file with a double-click.
One other thing Is I can run a application by doing the following (in this case Adobe Acrobat which I use to scan documents into the directory):
'Opens Adobe Acrobat 11.0
Diagnostics.Process.Start(ADOBEPATH)
Re: [RESOLVED] Double Click
I have no idea what you are trying to say to me.
Re: [RESOLVED] Double Click
So sorry. I thought I was speaking English. At any rate, thanks for the code, it will help with a minor problem that bothered me.