cdoverlaw Posted January 24, 2004 Posted January 24, 2004 (edited) Hi, I am currently having problems remembering what the code is to open a program outside my application, can someone please remind me Jonathan Edited January 24, 2004 by cdoverlaw Quote
Leaders dynamic_sysop Posted January 24, 2004 Leaders Posted January 24, 2004 Process.Start(" path to your executable here ") Quote
hog Posted January 24, 2004 Posted January 24, 2004 You vcan do it this way; Dim proAnim8or As Process ' startup an anim8or session proAnim8or = New Process proAnim8or.StartInfo.FileName = Application.StartupPath & "\anim8or.exe" proAnim8or.Start() There is also a shell command, escapes me at the mo, which is a single line you execute with the file name to start DOH....he beat me to it :( Quote My website
samsmithnz Posted January 24, 2004 Posted January 24, 2004 you mean shell() Quote Thanks Sam http://www.samsmith.co.nz
*Experts* Bucky Posted January 24, 2004 *Experts* Posted January 24, 2004 Yes, Shell will work, but it's part of the VB6 compatability layer and thus should be avoided. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.