
Passing arrays from ASP To VB-components...need help
I use this functionality to pass an array to my multistring registry writer
activex component.
Dim myArray(3), Arraypass
myarray(0) = "test"
myarray(1) = "test"
myarray(2) = "test"
arraypass = myarray
Set oReg = CreateObeject("yourcompnentname")
oreg.writemultistring("hklm", "software\key", arraypass)
Your com component must be set to accept a variant for the arraypass.
There are probably better ways of doing it but I asked the same question and
never got a responce
Hope it helps
Paul Halse
Quote:
> Hi i am trying to pass an array from an asp-page to a function in my
> ActiveX-dll built in VB
> Is it possible to pass an array from ASP to a VB-function?
> Christoffer