Hello Guest it is May 18, 2024, 03:22:06 PM

Author Topic: button for two programs  (Read 1072 times)

0 Members and 1 Guest are viewing this topic.

button for two programs
« on: May 05, 2024, 03:03:04 AM »
Good morning
having the need to start two programs from mach3 I created a button with the following script:

Option Explicit
Dim pgmName As String
pgmName = "C:\deskpins\deskpins.exe "
Shell(pgmName )   
Option Explicit
pgmName = "C:\******************x\******************x.exe "
Shell(pgmName )

It works to work but I don't know if it's done well or if there is another better method, given that I understand little about programming, is there anyone who can tell me if it's okay or if there is another better way?
I thank anyone who can help me