Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 3rd, 2003, 10:12 AM
Registered User
 
Join Date: Nov 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Berni016x
Default ActiveX + ASP -> array as parameter

hallo!

I've got the following problem and i couldn't find an answer yet. please, if anybody knows anything please help me!

I've programmed an ActiveX DLL with VB.
There is a function witch requires an array as parameter. it looks a little bit like the following line.

Public Function myFunction(asActions()) As Variant
   'DO HERE ANYTHING
End Function

I call this function with asp like this
Dim asActions(1)
asActions(0) = "ADD"
asActions(1) = "EDIT"
Response.Write myObject.myFunction(asActions)

But there allways is a runtime error: index out of range

WHY? WHAT CAN I DO?

please help me!
thx Bernhard Wurm
(austria)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Two Dimensional Array as parameter Manisha0605 .NET Framework 1.x 0 February 7th, 2007 04:15 PM
passing parameter array Maryann BOOK: Access 2003 VBA Programmer's Reference 0 December 4th, 2006 10:56 AM
Achitecture ? SQL -> XML -> ASP -> PDF or HTML Frm jstrong Classic ASP XML 0 July 9th, 2005 01:18 PM
Array to ref parameter dedex C# 4 February 12th, 2005 02:58 PM
Problem with reading array from ActiveX DLL acdsky Classic ASP Components 1 June 15th, 2004 02:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.