Click here to Skip to main content
15,915,799 members
Home / Discussions / COM
   

COM

 
QuestionHow to get the html text box contain into my custom browser Pin
Member 462021612-May-08 0:10
Member 462021612-May-08 0:10 
AnswerRe: How to get the html text box contain into my custom browser Pin
Yajnesh Narayan Behera15-May-08 22:14
Yajnesh Narayan Behera15-May-08 22:14 
QuestionCOM programming Pin
hari_honey11-May-08 19:12
hari_honey11-May-08 19:12 
AnswerRe: COM programming Pin
User 21559712-May-08 0:21
User 21559712-May-08 0:21 
AnswerRe: COM programming Pin
ShilpiP12-May-08 1:14
ShilpiP12-May-08 1:14 
AnswerRe: COM programming Pin
bulg21-May-08 10:14
bulg21-May-08 10:14 
QuestionIssue in Event Handling of COM Event in Java Script Pin
garammasala9-May-08 1:57
garammasala9-May-08 1:57 
Questionvalue of pbCancel parameter of OnWorkbookBeforeClose Pin
HarishKumarS8-May-08 2:11
HarishKumarS8-May-08 2:11 
Hi all,

a) I have written addin to handle the close button of excel in C++, which

is working fine and the protype is as below.

OnWorkbookBeforeClose(IDispatch* pWorkbook, VARIANT_BOOL* pbCancel)
{
.......
}

b) There is one excel file which contains macro as below, when close

button is clicked, "Cancel" paramter is set to TRUE in the macro.

Afterwards control goes to OnWorkbookBeforeClose function in C++

and value of pbCancel parameter will be -1.

Macro :
Private Sub Workbook_BeforeClose(Cancel As Boolean)
.........
Cancel = True
End If
End Sub


My Question :
Is the value of pbCancel parameter is -1 in C++, if cancel paramter is

set to true in a macro.

Thanx in advance.:

Harish
AnswerRe: value of pbCancel parameter of OnWorkbookBeforeClose Pin
User 2155979-May-08 0:03
User 2155979-May-08 0:03 
QuestionIs vector list contain NULL CComPtr? Pin
Sakthivel P8-May-08 1:33
Sakthivel P8-May-08 1:33 
QuestionError in opening Database using ADO in COM dll Pin
MKUser8-May-08 1:33
MKUser8-May-08 1:33 
AnswerRe: Error in opening Database using ADO in COM dll Pin
MKUser11-May-08 21:00
MKUser11-May-08 21:00 
GeneralRe: Error in opening Database using ADO in COM dll Pin
MKUser13-May-08 1:37
MKUser13-May-08 1:37 
QuestionHow to read data from a serial port in COM Pin
hari_honey8-May-08 1:23
hari_honey8-May-08 1:23 
QuestionRe: How to read data from a serial port in COM Pin
CPallini8-May-08 2:12
mveCPallini8-May-08 2:12 
AnswerRe: How to read data from a serial port in COM Pin
hari_honey8-May-08 2:15
hari_honey8-May-08 2:15 
QuestionRe: How to read data from a serial port in COM Pin
CPallini8-May-08 2:22
mveCPallini8-May-08 2:22 
AnswerRe: How to read data from a serial port in COM Pin
hari_honey8-May-08 2:35
hari_honey8-May-08 2:35 
QuestionRe: How to read data from a serial port in COM Pin
CPallini8-May-08 2:52
mveCPallini8-May-08 2:52 
AnswerRe: How to read data from a serial port in COM Pin
hari_honey8-May-08 18:22
hari_honey8-May-08 18:22 
GeneralRe: How to read data from a serial port in COM Pin
CPallini8-May-08 21:26
mveCPallini8-May-08 21:26 
JokeRe: How to read data from a serial port in COM Pin
User 2155979-May-08 7:22
User 2155979-May-08 7:22 
GeneralRe: How to read data from a serial port in COM Pin
hari_honey11-May-08 18:29
hari_honey11-May-08 18:29 
GeneralRe: How to read data from a serial port in COM Pin
CPallini12-May-08 0:41
mveCPallini12-May-08 0:41 
AnswerRe: How to read data from a serial port in COM Pin
QuickDeveloper13-May-08 23:34
QuickDeveloper13-May-08 23:34 

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.