|
-
Aug 13th, 2001, 03:46 PM
#1
Thread Starter
Lively Member
running another program
Hi. I am wondering how you run other programs from visual basic, for example, i want to run notepad (c:\windows\notepad.exe i think) when you hit a button.
-
Aug 13th, 2001, 03:54 PM
#2
Frenzied Member
Use the shell function.
VB Code:
Shell "c:\windows\notepad.exe", vbNormalFocus
-
Aug 13th, 2001, 04:03 PM
#3
Thread Starter
Lively Member
-
Aug 13th, 2001, 04:04 PM
#4
Frenzied Member
-
Aug 13th, 2001, 04:14 PM
#5
Thread Starter
Lively Member
actually.. now how would i oepn a file other than a exe? such as a text file
-
Aug 13th, 2001, 04:16 PM
#6
Frenzied Member
Here is a good place to start. It will give you more detailed information. This is the way lot's of programmers like to do it. I prefer to use the File System Object.
-
Aug 13th, 2001, 04:21 PM
#7
Thread Starter
Lively Member
where is a good place to start?
-
Aug 13th, 2001, 04:23 PM
#8
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|