JeroenDortmans
Technical User
Hi,
I use ActiveX "CreateObject" to create a BAT file. The contents of this BAT file partly comes from a database. Immediately after creating the BAT file, it will be "executed" and an application is started with the right parameter, which comes from the database.
When different users will run this script at the same time the problem could occur that one or more of the users will "execute" a BAT file with the wrong database value. Therefore, the application is started with the wrong parameter. How can I modify the script so that it will wait until 1 session of 1 user is finished? Can I do this with "SessionID"?
I use ActiveX "CreateObject" to create a BAT file. The contents of this BAT file partly comes from a database. Immediately after creating the BAT file, it will be "executed" and an application is started with the right parameter, which comes from the database.
When different users will run this script at the same time the problem could occur that one or more of the users will "execute" a BAT file with the wrong database value. Therefore, the application is started with the wrong parameter. How can I modify the script so that it will wait until 1 session of 1 user is finished? Can I do this with "SessionID"?