Posts: 1,769
Threads: 410
Joined: Feb 2003
i'm trying to get an integer assigned via the "run" command but cant figure out how i'm messing this up.
run("c:\database.mdb" "" "" "" 0 "" z)
can you tell me where i'm going wrong?
thanks.
Posts: 12,073
Threads: 140
Joined: Dec 2002
Window name or +class must be specified. Then run will wait for that window (of that program) and store its handle into z. Also, may not work if run does not create new process but rather opens the document in an existing window. Then instead use z=wait(...) in next line.
Posts: 1,769
Threads: 410
Joined: Feb 2003