Determine if another VBA program is running

Determine if another VBA program is running

Anonymous
Not applicable
422 Views
1 Reply
Message 1 of 2

Determine if another VBA program is running

Anonymous
Not applicable
I have a routine in VBA that runs whenever anything in the drawing is modified. It filters out anything not of the correct type or on the correct layer. The probelem I have is I need it to ignore anything being done by another routine.



Is there a way to determine if another VBA program is running?



Thanks.
0 Likes
423 Views
1 Reply
Reply (1)
Message 2 of 2

arcticad
Advisor
Advisor
You will need to set a variable that be read and checked by the other program.
I do this by storing a value in the registry while the program is running and then removing the entry when the program exits.
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes