Passing arrays from a VB dll into a VBScript 
Author Message
 Passing arrays from a VB dll into a VBScript

Hi,

This driving me crazy!!

I have a VB dll that contains

    Public Function A() As Integer()
        Dim myArray(0 to 1000)
        ....
        A=myArray
    End Function

Then an asp page which contains
    Dim aspArray()
    aspArray() = myArray()

I keep getting the error "Subscript out of range"

Can anyone help a beginner and show him the error of his ways.

Thanks

Paul Clements



Sat, 28 Dec 2002 03:00:00 GMT  
 Passing arrays from a VB dll into a VBScript
See my reply in the other NG.

steve


Quote:
> Hi,

> This driving me crazy!!

> I have a VB dll that contains

>     Public Function A() As Integer()
>         Dim myArray(0 to 1000)
>         ....
>         A=myArray
>     End Function

> Then an asp page which contains
>     Dim aspArray()
>     aspArray() = myArray()

> I keep getting the error "Subscript out of range"

> Can anyone help a beginner and show him the error of his ways.

> Thanks

> Paul Clements



Sat, 28 Dec 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Passing Arrays into VbScript from a VB dll

2. Passing arrays from VBScript to VB DLL

3. Passing array from VB to DLL and returning array

4. Passing array from ASP (VBScript) to DLL and back

5. passing arrays from vb dll to vb form

6. how to pass the array from vb to vbscript

7. PB/DLL passing multidimensional VB arrays by pointers

8. Passing Array of data from DLL to VB

9. passing (string) arrays from VB to C-DLL and vice versa

10. Passing Multi-Dimension Arrays from VB to DLL

11. Pass array from ASP to VB ActiveX DLL

12. Passing array of strings to a dll in VB

 

 
Powered by phpBB® Forum Software