Hi,Navision Master
I use COM component (Automation) built in Navision : Windows Script Host Object Model but have problem. Some PC can run the COM successfully but some other PC can not. when I check it there is no class WshShell in Windows Script Host Object Model. What the problem? Windows?Service Pack? or I must download it and register it again in Navision?Where website address I can download Navision Com component?
Regards,
Angelo
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
You can use the Virtual Table 2000000046 Automation Servers to check what Automation Server is installed on a particular PC. This to determine which Codeunit you need to run (the WinXP version or the Win2000 version). The function fctIsOCXDLLInstalled in the How To: How To install an OCX/DLL on the client's PC when needed (at run-time)? uses this technique.
Yes, it is one solution. My solution are using our customers without problems on WIn2k3 terminal server, on Win XP, etc. It is only about the class, not the library... :-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.