Click here to Skip to main content
15,905,875 members
Home / Discussions / COM
   

COM

 
Questionproblem in query interface Pin
chandrakar ashish14-May-09 21:27
chandrakar ashish14-May-09 21:27 
AnswerRe: problem in query interface Pin
Stuart Dootson15-May-09 0:12
professionalStuart Dootson15-May-09 0:12 
AnswerRe: problem in query interface Pin
«_Superman_»15-May-09 5:19
professional«_Superman_»15-May-09 5:19 
AnswerRe: problem in query interface Pin
Jürgen Jung15-May-09 5:39
Jürgen Jung15-May-09 5:39 
QuestionExcel 2007 automation on top of a Windows Server 2008 x64 [modified] Pin
Chris Richner14-May-09 10:24
Chris Richner14-May-09 10:24 
Questionout-of-proc c# COM server: AccessViolationException in .net client Pin
thorben50014-May-09 9:27
thorben50014-May-09 9:27 
QuestionE_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082114-May-09 3:30
Cajunman082114-May-09 3:30 
AnswerRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082114-May-09 4:12
Cajunman082114-May-09 4:12 
The line:
if (V_VT(vArray) != (VT_ARRAY | VT_BSTR))

is return TRUE, which make me think that this not a valid array, but in my vb code that calls this function I have a string array that is getting properly assigned.

In the link above, they say, "The key to getting this syntax to work in Visual Basic 6.0 is to first Dim the array variable as a variant, and then ReDim it so that it becomes a variant containing an array of strings. "

Part of the problem is that I am not using VB6.0, I am using .Net 2005. They do not allow the Redim to change the type any longer.

Thanks again for any help you may have.
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 
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 

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.