Hi PHV - sorry but I missed your reply somehow
Can you clarify which properties you mean?
My shortcut is the one that windows creates when I right click on my VBscript file.
thanks
For information of other readers, I have found a way forward:
I open my program as described in the first post above then open a second form (off the display area) which I then close, then the API functions work correctly for multiple instances.
My fix is in the VBA code area rather than the...
I found that if I open 2 separate instances of my test program from the 1 script, then they both work perfectly:
Dim xlApp
Dim PathFileName
PathFileName = left(WScript.ScriptFullName,(Len(WScript.ScriptFullName))-(len(WScript.ScriptName))) & "Test1.xlsm"
Set xlApp =...
I have a desktop shortcut to a vbs script (below) that opens Excel (invisible) and displays a form. I use Windows API to add an icon to the titlebar of the form, to add a minimize button to the form, and add the programs name to the Taskbar. This works perfectly.
If I double click on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.