|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to launch Notepad and open an existing file?Looking at shell command I don't see how I can specify the filename to open.
I need to launch notepad AND automatically open an existing file. Using VB 2005. Any help would be greatly appreciated. Bob Process.Start ("myfile.txt") - This will open the file in the default app
for text files. To specifically use Notepad, Process.Start ("notepad.exe", "myfile.txt") "Bob" <bduf***@sgiims.com> wrote in message Looking at shell command I don't see how I can specify the filename to open.news:ex6MIwjvGHA.2036@TK2MSFTNGP05.phx.gbl... I need to launch notepad AND automatically open an existing file. Using VB 2005. Any help would be greatly appreciated. Bob Thanks a lot
Bob Show quoteHide quote "Siva M" <shiva***@online.excite.com> wrote in message news:uB%23rWAkvGHA.3912@TK2MSFTNGP03.phx.gbl... > Process.Start ("myfile.txt") - This will open the file in the default app > for text files. To specifically use Notepad, Process.Start ("notepad.exe", > "myfile.txt") > > "Bob" <bduf***@sgiims.com> wrote in message > news:ex6MIwjvGHA.2036@TK2MSFTNGP05.phx.gbl... > Looking at shell command I don't see how I can specify the filename to > open. > I need to launch notepad AND automatically open an existing file. > Using VB 2005. > > Any help would be greatly appreciated. > > Bob > >
Regular expression to match person's name
Array in Structure Problem with ComboBox execution from command line FTP Upload (Encoding) problem Windows Service losing variable value? Help! pumping wait primitives - what is that? Run an Access report in a VB .Net application How to detect if program execution is in debug mode? TimeSpan issue |
|||||||||||||||||||||||