Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:59 am
by Hido Hasimbegovic >> Mon, 29 Jan 2001 4:04:59 GMT
It's probably asking you for the ClassID from the registry, although I'm guessing it's Jade 5.1 you are using, as I don't recognise that method from 5.016.
Registry stores all ActiveX GUIDs under "CLSID" key. For example, mscal.ocx (calendar control) registry key is {8E27C92B-1264-101C-8A2F-040224009C02}. To get the key of an ActiveX control have a look at
RegQueryValueEx and a few other related functions in "advapi32.dll". In Jade terms, external function declaration looks roughly something like this:
regQueryValueEx(hKey :Integer;
lpValueName :String;
lpReserved :Integer;
lpType :Integer io;
lpData :Integer io;
lpcbData :Integer io):Integer is RegQueryValueEx in "advapi32.dll";
I have an example of all the other registry fiddling functions if you need them. I hope this helps.
Cheers,
Hido