Question: How do I register an ocx file to the registry for my application?
I need to register a dbgrid32.ocx component to my application using code...not just going to the Format-->Components screen. However, I need to do it behind the scenes on my splash screen. I've been looking high and low for answers but haven't found anything concrete. Any help would be greatly appreciated.
Amazing what you can find with a good search
By george I think I've got it
Shell "Regsvr32.exe c:\winnt\system32\dbgrid32.ocx", 1
Now if I want to hide that from the user, I would use
Shell "Regsvr32.exe /s c:\winnt\system32\dbgrid32.ocx", 1