|
-
May 1st, 2008, 05:24 PM
#1
Thread Starter
Hyperactive Member
use vb to run another program on the desktop
i use a program that is inaccessible to being connected to and run via code, but i want to automate the use of it
the first thing i want to do is launch the program
c:\crunchnumbers.exe
then the next thing i want to do is go to the File menu, and select open, and then open c:\numbers.csv
now the numbers are loaded in the program.
the next part is tricky because unfortunately there is no menu item, there is just a big fat 'clickable' button that says 'Calculate' on it. normally i'd have to manually click on it to run the numbers, but i want to use code to do the 'click'
once this is done i need to go back to the file menu and select
c:\crunched.txt
from there i can grab the text file and have my vb prog take it from there
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
|