How to write to the windows-registry from NAV ?

moddy
moddy 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.
moddy

Comments

  • Miklos_Hollender
    Miklos_Hollender Member Posts: 1,629
    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.
  • kine
    kine 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.
  • garak
    garak Member Posts: 3,263
    Yes use WSH for this
    Do you make it right, it works too!
  • moddy
    moddy 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.
    Thanks.