Hi Mibuso Community
Is there a way to know where Navision is running from, i.e., if run from C:\Navision\Fin.exe then I want to know that it was run from C:\Navision or if run from E:\Navision\Fin.exe then I want to know that it was run from E:\Navision?
Thanks for your help as always
!
Cheers
Comments
Regards
regards
Thanks for the reply yes it was a 3.70 version I required. I found IWshShell3 in Windows Script Host Object Model - presumed it was one and the same for an XP m/c! What OLE do I need to register to run your lovely code?
Cheers and thanks
Remembered that I have used that Automation ('Windows Script Host Object Model'.WshShell) for setting function keys and obtaining the windows currency so I just used your routine in the same codeunit and bingo - all works great thanks !
Never understood why Navision remembers a registration in one object but doesn't allow the same Automation routine in another new instance!
Cheers and thanks
David
Am on a roll today - found wshom.ocx in C:\WINDOWS\system32\ and this had the actual WshShell which works in all objects now - hurrah !
Thanks