On 4/7/06 11:58 AM, "GregO" <[EMAIL PROTECTED]> wrote:
> So trying to answer my own question, I followed the constructor
> format that an ActiveX Object uses when you bring that in:
>
> Sub Constructor()
> #if TargetWin32 then
> OLEObject("{941BD791-06C1-4D4D-8F6A-8F685810DD5E}")
> #endif
> End Sub
>
> and of course I substituted the correct GUID for the type library
> (got if from the registry). My new Class' Super is OLEObject, and
> I've created an instance on a window. So knowing that just adding the
> Reference in VB works, anyone have an idea as to why I'd be getting
> an OLEException?
What kind of COM object is this? It must support automation, which means it
must implement the IDispatch interface. Perhaps you got the wrong GUID,
what does the OLEException message say about the error?
Regards,
William Yu
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>