|
-
Jun 19th, 2000, 04:47 PM
#1
Thread Starter
Member
Hello,
I am trying to call a visual basic function from within asp,
pass it some parameters, and receive some values back .
How do I call the function and then return more than one value back, all the values are of different types?
regards
-
Jun 19th, 2000, 06:26 PM
#2
Fanatic Member
Hi raj2000
As you may or may not know, ASP only uses variants.
Si I would try converting all your return values into strings And returning them in a 2 dimension variant array(eg. array(0,0),array(0,1) can hold all your strings.array(1,0),array(1,1) could hold all your numbers etc etc.)
then Once you have returned them into asp, you can then convert them back to what ever you need.
If you are using activeX dll's to do this reply back and I can show you another way if you like.
Hope this helps
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jun 19th, 2000, 06:31 PM
#3
Thread Starter
Member
I am using activex dlls to this.
-
Jun 19th, 2000, 07:36 PM
#4
Fanatic Member
Hi raj2000
In that case why not set up properties for your class. When you call the function or on the class initalize depending whether your passing any variables, set the properties to what you need then in the asp you can use myvar = myObject.Myproperty. That way you can have as many different values as you like.
Hope this helps
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
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
|