Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Variant Arrays


Variant Arrays

Author
Message
davrook
davrook
Forum God
Forum God (800 reputation)Forum God (800 reputation)Forum God (800 reputation)Forum God (800 reputation)Forum God (800 reputation)Forum God (800 reputation)Forum God (800 reputation)Forum God (800 reputation)Forum God (800 reputation)

Group: Forum Members
Posts: 2, Visits: 7
I have a COM object that i wrote a few years ago in delphi which requires a variant array to be passed in and a variant array to receive the results.

VB.net now does not support the type Variant, for which i have tried to declare an array of type object, but the COM object rejects this saying Exception Details: System.Runtime.InteropServices.COMException: Variant is not an array

Is there anyway round this using vb.net or c#.net?  as i dont want to have to re-write the com server as it is highly complicated.

Many thanks in advance.....

Keithuk
Keithuk
Forum God
Forum God (291K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Well if your only posting spam charmeddvd123 don't bother. 

Please delete his topics. Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search