Unknown OLE Control

If u get an application from a customer or anybody where you have an OLE where it says as subtype “Unknown OLE Control” … then where and how can you actually see what ole control it is missing in you system?

I usually just look at the methods used in the C/AL. Then I find the control, re-register it and document what control it is! I don’t know of any other way to find out … sorry! [V] It can be a right pain in the butt and that’s the reason why I ‘document’ my code with a description, new variables, functions, locals etc. … [:)] Hope this helps.

Hi Frode! Generally speaking, you can’t [:(] Whenever someone creates a COM control in VB or VC++ or whatever, a GUID is created for this control. This is a worldwide unique ID by which this control is identified in the system and by applications that use this control (e.g. Navision). When the client application then creates a COM object at runtime, it looks up the GUID in the registry, where the path to the DLL, OCX or EXE which contains the object’s code is stored. So, if I wrote an OCX and referenced it in a Navision object, all that would be stored inside Navision would be the GUID of the OCX. If I then sent you the FOB without the OCX, you had absolutely no way to re-establish the link between the GUID and the OCX (which you never received [:p]). Your only chance is to look up the GUID (visible in the Navision variable declaration) and look it up in some search engine. If you are lucky, it’s a relatively common object that is available for download somewhere. If it’s a specialized custom control… well… [xx(]

The only way i’ve got for that is using the old fashion way… call the customer where that database is working fine and guide the user through the object designer to the “problematic” object so they can see on their client what OCX control is giving the trouble. After that you can always go onto that client to the control list and check where the ocx is kept… so you can try by asking them to copy it and send it to you… Regards,

IF you have txt version of the working object you can find what’s the OLE Control that missing using Text Editor.