CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 1999
    Posts
    1

    Calling VB component from ASP

    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 : [email protected]



  2. #2
    Join Date
    Dec 1999
    Location
    CA and UT
    Posts
    5

    Re: Calling VB component from ASP

    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 [email protected] to apply. We're working on an HTML Editor, Visual HTML. Thanks for your interest! (c:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured