Click to See Complete Forum and Search --> : Calling VB component from ASP


tejasb
December 15th, 1999, 10:20 AM
Hi all,
I am trying to design Active Server Pages using VB Script.
I've designed COM component using Visual Basic.
One of the methods takes an array of variants as an argument.
Now, the problem..

After instantiating the COM component, I call the method of that object, and pass an array of variant to that method.
But here I get the error message, Subscript out of range message.
The COM component is an ActiveX DLL.
The internet server is IIS and I am using Visual Interdev for designing ASP.

Can anyone help...

Regards,
Tejas

e-mail : tejasb@bsil.com

vhtml
December 29th, 1999, 07:57 PM
Somewhere in your code, you're trying to call an array value beyond the scope of the array. IOW, if you have 15 items in the array, somewhere your code is asking for item 16. (c: I can't help you after that b/c it's somewhere in your source code. When getting the number of array items, use UBound(ArrayName) to get the upperbound...Wish I could help you more, but that's all I can do! Hope you have an awesome day! Bye! (c:


Sincerely,
- David Hoyt -
We're currently looking for any programmer who wants to join our programming team. Please check out the website for more information. Feel free to e-mail me at vhtml@hotmail.com to apply. We're working on an HTML Editor, Visual HTML. Thanks for your interest! (c: