Click here to Skip to main content
16,017,037 members
Home / Discussions / COM
   

COM

 
Generalexe-server component's interface related Pin
satishsilla11-May-03 20:54
satishsilla11-May-03 20:54 
GeneralRe: exe-server component's interface related Pin
valikac13-May-03 16:04
valikac13-May-03 16:04 
Generalexe-server component's interface related Pin
satishsilla11-May-03 20:53
satishsilla11-May-03 20:53 
GeneralMSHTML & IStream Pin
luda10-May-03 13:13
luda10-May-03 13:13 
GeneralRe: MSHTML & IStream Pin
Stephane Rodriguez.12-May-03 3:43
Stephane Rodriguez.12-May-03 3:43 
GeneralATL components Pin
Ancient Dragon9-May-03 13:00
Ancient Dragon9-May-03 13:00 
GeneralRe: ATL components Pin
valikac15-May-03 7:59
valikac15-May-03 7:59 
GeneralCustom Outlook property sheet (C#) Pin
rkiesler9-May-03 12:45
rkiesler9-May-03 12:45 
I created a custom C# property page for Outlook XP, and add it to the Tools | Options.. dialog using the following code in my OnStartupComplete() handler:

m_outlookApp.OptionsPagesAdd +=<br />
    new ApplicationEvents_10_OptionsPagesAddEventHandler(<br />
        this.OnOptionsPagesAdd );


public void OnOptionsPagesAdd( PropertyPages pages )<br />
{<br />
    if ( m_rxPropPage == null )<br />
        m_rxPropPage = new Rx5UI.RxPropPage( this.m_nameSpace );<br />
<br />
    pages.Add( m_rxPropPage, "Rhythmyx" );<br />
}


The problem is that the property page tab text is set to "Untitled" instead of the expected string ("Rhythmyx") passed to the Add() method (see attached illustration) -- why is that?

Another issue I'm struggling with is how to get a reference for the PropertyPageSite interface -- in VB6 (based on http://www.cdolive.com/prool2k.htm), the code looks like:

Private Sub UserControl_InitProperties()<br />
    'Init the PropertyPageSite variable<br />
    Set oSite = Parent<br />
    ...<br />
End Sub


However, unlike ActiveX controls, neither System.Windows.Forms.UserControl or its parent implement the PropertyPageSite interface. Does anyone know what the C# equivalent to this code is?

Thanks,
--
Roy
QuestionHow to get (and use) the IStream interface from CFile Pin
Anders Sandberg8-May-03 22:30
Anders Sandberg8-May-03 22:30 
AnswerRe: How to get (and use) the IStream interface from CFile Pin
rkiesler11-May-03 13:17
rkiesler11-May-03 13:17 
GeneralCOM vs ActiveX vs OLE Pin
weichai7-May-03 16:28
weichai7-May-03 16:28 
GeneralRe: COM vs ActiveX vs OLE Pin
Davy Mitchell8-May-03 8:53
Davy Mitchell8-May-03 8:53 
GeneralRe: Help...stuck on error MIDL2020 : error generating type library : LayOut failed : IVSSItemOld Pin
Stephane Rodriguez.7-May-03 20:47
Stephane Rodriguez.7-May-03 20:47 
GeneralRe: Help...stuck on error MIDL2020 : error generating type library : LayOut failed : IVSSItemOld Pin
RGTx8-May-03 10:09
RGTx8-May-03 10:09 
GeneralRe: Help...stuck on error MIDL2020 : error generating type library : LayOut failed : IVSSItemOld Pin
Vi27-May-03 22:52
Vi27-May-03 22:52 
GeneralRe: Help...stuck on error MIDL2020 : error generating type library : LayOut failed : IVSSItemOld Pin
RGTx8-May-03 10:10
RGTx8-May-03 10:10 
GeneralCD Burning Pin
TekProfessional7-May-03 13:30
TekProfessional7-May-03 13:30 
GeneralRe: CD Burning Pin
Michael Dunn7-May-03 15:12
sitebuilderMichael Dunn7-May-03 15:12 
GeneralAPI/Control -> AuthenTec FingerLogic USB Scanner Pin
Kramins7-May-03 10:35
Kramins7-May-03 10:35 
GeneralEmbedding word documents in OLE Container Pin
rajandpayal4-May-03 17:52
rajandpayal4-May-03 17:52 
GeneralPleas help me with IConnectionPoint::Advise() Pin
faberge3-May-03 2:01
faberge3-May-03 2:01 
QuestionAdd toolbar to IE? Pin
Jim Howard30-Apr-03 8:50
Jim Howard30-Apr-03 8:50 
AnswerRe: Add toolbar to IE? Pin
J. Dunlap3-May-03 8:09
J. Dunlap3-May-03 8:09 
GeneralGetActiveObject fails with IE Pin
rdautel30-Apr-03 5:15
rdautel30-Apr-03 5:15 
GeneralRe: GetActiveObject fails with IE Pin
Stephane Rodriguez.3-May-03 19:54
Stephane Rodriguez.3-May-03 19:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.