Click here to Skip to main content
15,925,782 members
Home / Discussions / COM
   

COM

 
GeneralRe: Printing an HTML page without the print dialog Pin
Ed K19-Apr-05 11:04
Ed K19-Apr-05 11:04 
GeneralHandling COM events from VB for Applications Pin
Anonymous8-Apr-05 5:32
Anonymous8-Apr-05 5:32 
GeneralRe: Handling COM events from VB for Applications Pin
rwestgraham8-Apr-05 15:00
rwestgraham8-Apr-05 15:00 
QuestionHow to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 5:30
Khang Nguyen8-Apr-05 5:30 
AnswerRe: How to use non .NET DLLs in .NET environment? Pin
rwestgraham8-Apr-05 14:40
rwestgraham8-Apr-05 14:40 
GeneralRe: How to use non .NET DLLs in .NET environment? Pin
Anonymous9-Apr-05 10:40
Anonymous9-Apr-05 10:40 
GeneralWriting COM object for C++ and VB Pin
Anonymous6-Apr-05 1:07
Anonymous6-Apr-05 1:07 
GeneralRe: Writing COM object for C++ and VB Pin
rwestgraham6-Apr-05 9:15
rwestgraham6-Apr-05 9:15 
VB actually does receive the S_OK and S_FALSE values. It just processes them behind the scenes so you do not see them in VB.

When you are building the Com object in the wizard check the Support ISupportErrorInfo option and the VB client will be able to receive error information.

To fill in the error info you need to call the Error method in CComCoClass in your ATL component. It has various overloaded versions that allow you to fill in the error info you want to return.

Robert
GeneralRe: Writing COM object for C++ and VB Pin
Anonymous8-Apr-05 4:27
Anonymous8-Apr-05 4:27 
GeneralRe: Writing COM object for C++ and VB Pin
rwestgraham8-Apr-05 10:40
rwestgraham8-Apr-05 10:40 
GeneralRe: Correction to the above Pin
rwestgraham8-Apr-05 11:47
rwestgraham8-Apr-05 11:47 
GeneralRe: Correction to the above Pin
Anonymous11-Apr-05 0:02
Anonymous11-Apr-05 0:02 
GeneralRe: Correction to the above Pin
rwestgraham11-Apr-05 9:53
rwestgraham11-Apr-05 9:53 
GeneralProblem using ATL Object in other ATL Server Pin
andreasf5-Apr-05 20:26
andreasf5-Apr-05 20:26 
GeneralIHTMLDocument2 mouse handler Pin
Kharfax5-Apr-05 2:07
Kharfax5-Apr-05 2:07 
GeneralOutlook object library and windows service.. Pin
Muhammad Irfan Azam4-Apr-05 19:41
Muhammad Irfan Azam4-Apr-05 19:41 
QuestionFlash ActiveX MFC Control. Secure? Pin
RobotIntestines4-Apr-05 19:00
RobotIntestines4-Apr-05 19:00 
QuestionDLL and EXE files? Pin
123dotnet4-Apr-05 18:45
123dotnet4-Apr-05 18:45 
Generallinking to office-help Pin
sampad_m4-Apr-05 7:55
sampad_m4-Apr-05 7:55 
GeneralRe: linking to office-help Pin
rwestgraham7-Apr-05 12:33
rwestgraham7-Apr-05 12:33 
GeneralRe: linking to office-help Pin
sampad_m13-Apr-05 23:19
sampad_m13-Apr-05 23:19 
GeneralControl the Systemtray Pin
Anonymous2-Apr-05 5:30
Anonymous2-Apr-05 5:30 
GeneralRe: Control the Systemtray Pin
Anonymous2-Apr-05 21:17
Anonymous2-Apr-05 21:17 
Questionhow to call a function like "HRESULT test([in]byte* aaa);" using VBScript Pin
samfromcn31-Mar-05 15:19
samfromcn31-Mar-05 15:19 
AnswerRe: how to call a function like "HRESULT test([in]byte* aaa);" using VBScript Pin
rwestgraham31-Mar-05 18:27
rwestgraham31-Mar-05 18:27 

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.