|
-
Oct 4th, 2000, 09:11 PM
#1
Thread Starter
New Member
Does anyone know how to access an ASP application variable, specifically an array variable, from a Visual Basic component. I have created an array application variable in the global.asa Application_Onstart handler (Application("myArray") = MyLocalArray), where MyLocalArray was created with "Dim MyLocalArray() and then redim'd with "Redim MyLocalArray(10)". From ASP I then pass in the Application variable to my VB component as a Variant called objApp. In the VB component I then Dim a local array variable called local_array, and try to set it equal to the App array (local_array = objApp("myArray")). The system just hangs - On Error resume Next doesn't even work. I would appreciate any info! Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|