December 28th, 1999, 08:45 AM
I have a *.txt file listed in a List Box. What is the simplest method to open it in Notepad. Let's say double click on that file in a list box will opens this file.
Thank you.
Thank you.
|
Click to See Complete Forum and Search --> : Open File in Notepad December 28th, 1999, 08:45 AM I have a *.txt file listed in a List Box. What is the simplest method to open it in Notepad. Let's say double click on that file in a list box will opens this file. Thank you. dj4 December 28th, 1999, 11:47 PM Try this: Dim Z As Long Dim X X = "Test.txt" Z = Shell("c:\windows\notepad.exe " & X, vbNormalFocus) - Dj4 December 29th, 1999, 11:42 AM Thanks a lot. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |