How to write to the windows-registry from NAV ?

moddymoddy Member Posts: 3
How can I write into the windows registry from within Navision ?? I need to update some data in the registry from another application what I want to use from Navision.

Have anyone an idea?

Thanks for help.


  • Options
    Miklos_HollenderMiklos_Hollender Member Posts: 1,598
    1. Google for how to do it from VB6/VBScript/VBScript For Applications.
    2. Find a solution that uses COM/OCX objects.
    3. Do the same from Navision using Automation or OCX variables.
  • Options
    kinekine Member Posts: 12,562
    The Shell script dll can be used for accessing registry ('Windows Script Host Object Model'.WshShell)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    garakgarak Member Posts: 3,263
    Yes use WSH for this
    Do you make it right, it works too!
  • Options
    moddymoddy Member Posts: 3
    Thanks a lot for the answers =D>

    I used an Automation-Variable for 'Windows Script Host Object Model'.WshShell and it worked fine.
Sign In or Register to comment.