Windows Script Host Automation

elmarfv
Member Posts: 53
Hi guys,
I used the Windows Script Host to write a value into the computers Registry and it works fine on my laptop that is running Windows XP. Then I took it to the clients who is going to run it on a server that runs Microsoft Windows 2000 Server. Than it did not work. It gives me an error that the automation needs to be registered and installed. Even though I can see the automation, I don't seem to be able to use it. I was wandering how I should handle it, either find a suitible replacement for the Windows Script Host Automation, or register the one I used? I don't know what the replacement should be and I don't know how to register the one I used.
Any input would be appriciated.
I used the Windows Script Host to write a value into the computers Registry and it works fine on my laptop that is running Windows XP. Then I took it to the clients who is going to run it on a server that runs Microsoft Windows 2000 Server. Than it did not work. It gives me an error that the automation needs to be registered and installed. Even though I can see the automation, I don't seem to be able to use it. I was wandering how I should handle it, either find a suitible replacement for the Windows Script Host Automation, or register the one I used? I don't know what the replacement should be and I don't know how to register the one I used.
Any input would be appriciated.
Elmar F. Vidisson
Certified Navision Attain Developer
Certified Navision Attain Developer
0
Comments
-
Try to compile the objects on clients computer. If they are using a different version because of diff OS, then change it to the one they have on their pc.0
-
The Object did compile on their PC. Do you, or anybody, know what other Automation or OCX's i could use instead?Elmar F. Vidisson
Certified Navision Attain Developer0 -
Make sure the user has permission to run the automation. try to test it as local admin.0
-
The user used to do the testing was a super, both the one logged onto the computer, and the one logged into Navision.Elmar F. Vidisson
Certified Navision Attain Developer0 -
Search the forum, I posted somewhere how to use this automation under Win2000. You need to use another class within it which works under all Win versions ('Windows Script Host Object Model'.IWshShell_Class under Win XP, but this class is not in the selection list...)0
-
I made the change and will be try it out when I go there next week. Thank you very much for your help.Elmar F. Vidisson
Certified Navision Attain Developer0 -
I have implemented the change and it worked perfectly. Thank you very much for your help.Elmar F. Vidisson
Certified Navision Attain Developer0 -
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions