Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] ActiveX Control

JML is correct, the OleControlSite hosts the ActiveX control.
You can use OLEView available from Microsoft to get the program id and to
view the type library info.



                                                                                                                                                     
                      "jml" <jml@xxxxxxxx>                                                                                                           
                      Sent by:                        To:      <platform-swt-dev@xxxxxxxxxxx>                                                        
                      platform-swt-dev-admin@         cc:                                                                                            
                      eclipse.org                     Subject: Re: [platform-swt-dev] ActiveX Control                                                
                                                                                                                                                     
                                                                                                                                                     
                      29/10/2002 11:05 PM                                                                                                            
                      Please respond to                                                                                                              
                      platform-swt-dev                                                                                                               
                                                                                                                                                     
                                                                                                                                                     



I guess OleControlSite is used to host an activex control, not used to
develop your own activex control.

When hosting an activex control, you should know the progid beforehand. For
example, if you want to host the IE browser, then the progid is
"shell.explorer", which is documented in IE's document.

jml

----- Original Message -----
From: lvyb
To: platform-swt-dev@xxxxxxxxxxx
Sent: Wednesday, October 30, 2002 11:54 AM
Subject: [platform-swt-dev] ActiveX Control


Hi,

When develop ActiveX Control in my Eclipse plugin,in the methed:

public OleControlSite(Composite parent, int style, String progId) {}

how can I get "progId"?



Best regards

lvyb





Back to the top