Click here to Skip to main content
15,944,950 members
Home / Discussions / COM
   

COM

 
AnswerRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082114-May-09 4:12
Cajunman082114-May-09 4:12 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082114-May-09 6:39
Cajunman082114-May-09 6:39 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Lim Bio Liong14-May-09 22:39
Lim Bio Liong14-May-09 22:39 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Vi217-May-09 23:45
Vi217-May-09 23:45 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082118-May-09 1:51
Cajunman082118-May-09 1:51 
QuestionTurn Off Bluetooth using Com [modified] Pin
elluna14-May-09 2:47
elluna14-May-09 2:47 
AnswerRe: Turn Off Bluetooth using Com Pin
elluna17-May-09 19:22
elluna17-May-09 19:22 
QuestionHow to use activeX function that has a pointer parameter in JavaScript? [modified] Pin
lynn100712-May-09 16:01
lynn100712-May-09 16:01 
Hi,

I've had a problem when I'm trying to use an activeX function that has a pointer parameter in JavaScript. Other activeX funtions all can be successfully called in javascript. The definition of the activeX function (written in VC++) is shown as follows:
NewCommand(ULONG DevID,ULONG* pCmdStruct)
The problem I encountered is how to call this function in javascript.
var a;
a = 1;
var pdat = new Array(1);
pdat[0] = 1;
document.ActiveXObject.NewCommand(a,pdat);

When I use the above sentences, it occurs an error "Run-time error:Type mismatch".

If someone knows something about this topic that can help me, I will appreciate it.

Thanks!

modified on Wednesday, May 13, 2009 2:08 AM

AnswerRe: How to use activeX function that has a pointer parameter in JavaScript? Pin
CPallini12-May-09 23:33
mveCPallini12-May-09 23:33 
GeneralRe: How to use activeX function that has a pointer parameter in JavaScript? Pin
lynn100713-May-09 2:09
lynn100713-May-09 2:09 
Questionmonikers Pin
monemshalash12-May-09 9:05
monemshalash12-May-09 9:05 
AnswerRe: monikers Pin
«_Superman_»12-May-09 19:40
professional«_Superman_»12-May-09 19:40 
GeneralRe: monikers Pin
monemshalash14-May-09 1:48
monemshalash14-May-09 1:48 
AnswerRe: monikers Pin
Baltoro14-May-09 5:44
Baltoro14-May-09 5:44 
Question.NET1.1 cannot create COM Object created with Net2.0 ?? Pin
Member 257016711-May-09 1:21
Member 257016711-May-09 1:21 
QuestionNot getting DocumentOpen notification while opening winword document. Pin
sksaran9-May-09 2:32
sksaran9-May-09 2:32 
AnswerRe: Not getting DocumentOpen notification while opening winword document. Pin
SNI10-May-09 22:47
SNI10-May-09 22:47 
QuestionHow to get Menu click event of Winword using COM? Pin
SNI7-May-09 20:00
SNI7-May-09 20:00 
AnswerRe: How to get Menu click event of Winword using COM? Pin
sashoalm29-Jul-09 22:44
sashoalm29-Jul-09 22:44 
QuestionPrinting a regedit key to page with activeX? Pin
fentanyl6-May-09 9:03
fentanyl6-May-09 9:03 
QuestionHas Microsoft exposed Direct3D 10 on COM? Pin
Klempie6-May-09 5:16
Klempie6-May-09 5:16 
AnswerRe: Has Microsoft exposed Direct3D 10 on COM? Pin
led mike6-May-09 5:51
led mike6-May-09 5:51 
GeneralRe: Has Microsoft exposed Direct3D 10 on COM? Pin
Klempie6-May-09 10:05
Klempie6-May-09 10:05 
GeneralRe: Has Microsoft exposed Direct3D 10 on COM? Pin
led mike6-May-09 10:15
led mike6-May-09 10:15 
GeneralRe: Has Microsoft exposed Direct3D 10 on COM? Pin
Klempie6-May-09 10:46
Klempie6-May-09 10:46 

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.