Click here to Skip to main content
15,895,011 members
Home / Discussions / COM
   

COM

 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
KarstenK21-Apr-09 21:18
mveKarstenK21-Apr-09 21:18 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu24-Apr-09 2:14
rsandeepu24-Apr-09 2:14 
QuestionAccess to managed constructor with parameters from unmanaged code. Pin
fenrirjk219-Apr-09 23:32
fenrirjk219-Apr-09 23:32 
AnswerRe: Access to managed constructor with parameters from unmanaged code. Pin
KarstenK24-Apr-09 4:21
mveKarstenK24-Apr-09 4:21 
GeneralRe: Access to managed constructor with parameters from unmanaged code. Pin
fenrirjk224-Apr-09 4:37
fenrirjk224-Apr-09 4:37 
GeneralRe: Access to managed constructor with parameters from unmanaged code. Pin
KarstenK26-Apr-09 20:32
mveKarstenK26-Apr-09 20:32 
GeneralRe: Access to managed constructor with parameters from unmanaged code. Pin
fenrirjk226-Apr-09 21:44
fenrirjk226-Apr-09 21:44 
QuestionAccessing ActiveX Ambient properties? Pin
dequadin17-Apr-09 23:57
dequadin17-Apr-09 23:57 
Sorry for the double post, but I didn't get any love on the C# forum, thought I'd try my luck here.

Please could someone point me in the right direction. I've written an ActiveX control in C# and it's working well except for one "small" problem. I'm trying to access the ambient properties of the ActiveX container and am drawing blank.

I'm trying to replicate the following VB 6.0 functionality in C#:

Ambient Properties:
ActiveXAmbientMode = UserControl.Ambient.UserMode


Ambient Properties changed event:
Private Sub UserControl_AmbientChanged(PropertyName As String)
    If PropertyName = "UserMode" Then
        ' Do Stuff Here
    End If   
End Sub


From what I can find out so far is that this "might" have something do to with implimenting the IOLEControl COM interface? But I can find NO examples of this ever being done? Anyone ever managed to get this working because I can't find any useful info on this anywhere?
AnswerRe: Accessing ActiveX Ambient properties? Pin
dequadin18-Apr-09 5:21
dequadin18-Apr-09 5:21 
GeneralRe: Accessing ActiveX Ambient properties? Pin
rdunnill3-Aug-20 11:37
rdunnill3-Aug-20 11:37 
QuestionHow to get image from IHTMLImgElement ? Pin
alexhalt17-Apr-09 6:14
alexhalt17-Apr-09 6:14 
AnswerRe: How to get image from IHTMLImgElement ? Pin
sdc39528-May-09 4:36
sdc39528-May-09 4:36 
Questionhow to ping message in wireless network Pin
alish061015-Apr-09 3:04
alish061015-Apr-09 3:04 
Questionerror "Missing file: ---- Urgent Pin
shantanusenin14-Apr-09 18:44
shantanusenin14-Apr-09 18:44 
QuestionRe: Call C# DLL using C++ - "Not enough storage is available to complete this operation" [modified] Pin
mla15414-Apr-09 8:42
mla15414-Apr-09 8:42 
AnswerRe: Call C# DLL using C++ - "Not enough storage is available to complete this operation" Pin
mla15415-Apr-09 10:55
mla15415-Apr-09 10:55 
QuestionUnable to emit assembly: Referenced assembly 'Interop.ADODB' does not have a strong name Pin
MarcelloTurnbull14-Apr-09 6:37
MarcelloTurnbull14-Apr-09 6:37 
AnswerRe: Unable to emit assembly: Referenced assembly 'Interop.ADODB' does not have a strong name Pin
mla15415-Apr-09 7:53
mla15415-Apr-09 7:53 
Questionout process server crash......... Pin
contactjey13-Apr-09 6:11
contactjey13-Apr-09 6:11 
QuestionTAPI Looking for minimum required code for making outgoing calls Pin
Ron Segijn12-Apr-09 0:30
Ron Segijn12-Apr-09 0:30 
QuestionAtlAxAttachControl - An outgoing call cannot be made since the application is dispatching an input-syncronous call. Pin
bfoo759-Apr-09 13:20
bfoo759-Apr-09 13:20 
QuestionHow to create new object in C# for reading COM port. Pin
gaurav_quexst9-Apr-09 1:57
gaurav_quexst9-Apr-09 1:57 
AnswerRe: How to create new object in C# for reading COM port. [modified] Pin
Vozzie29-Apr-09 6:23
Vozzie29-Apr-09 6:23 
QuestionAdd-in express.. Pin
gothic_coder9-Apr-09 1:11
gothic_coder9-Apr-09 1:11 
QuestionIs VariantChangeType() have problem with BSTR to VT_I4 conversion with even numbers and odd numbers Pin
Shankarcodebase8-Apr-09 5:48
Shankarcodebase8-Apr-09 5:48 

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.