DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check the registry to confirm the registration of an OCX progrmatically?

Please let me know how to programatically check the system regisry to confirm that an OCX is registered usind DIAdem 9. Can anyone help me quickly,

thanks in advance
0 Kudos
Message 1 of 3
(3,253 Views)
Hello,
This can only be done by Windows Scripting. VBS offers certain methods (RegWrite, RegRead, RegDelete) to work with the registry. They are all member of the WSHShell Object.
Refer to VBS Forums in the internet, I am sure you can find some example scripts how to program the registry.

Ingo Schumacher
National Instruments
0 Kudos
Message 2 of 3
(3,253 Views)
Hi mv_rajk,

I don't have an example of reading the registry, but below you will find an example of writing to the registry that programmatically creates a database DSN.

A good resource for Wshell questions is devguru.com.

Hope this helps,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,253 Views)