Calling an ActiveX objct (written by vb6) from VB.NET

A

ALI-R

I am trying to Call an ActiveX objct (written by vb6) from VB.NET which uses
an arry of string but I get an unspecified error

Unspecified error (-2147467259)
.. Interesting point is that that AxtiveX is working fine in my VB programme
,is there a difference between arry of string in vb 6 and vb.net??



thnaks for your help
 
H

Harry Strybos

ALI-R said:
I am trying to Call an ActiveX objct (written by vb6) from VB.NET which
uses
an arry of string but I get an unspecified error

Unspecified error (-2147467259)
. Interesting point is that that AxtiveX is working fine in my VB
programme
,is there a difference between arry of string in vb 6 and vb.net??



thnaks for your help
The array in VB.Net and VB6 are different creatures. We got around the
problem by converting the VB array into a delimited string using the Join
function and changing the export type to string rather than string array.
You can reassemble into a VB.Net array at the VB.Net end.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top