Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: User Defined Type in VB COM Object


Message #1 by "Duncan Allen" <dxallen@b...> on Thu, 14 Dec 2000 12:03:12 -0000
I need to pass a lot of data to a vb COM object, which I can't do as a

long list of parameters. I'm trying to do it via a publicly declared User

Defined Type in the COM object. How do I make the ASP aware of the User

Defined Type - or can't I ? I'm using Visual Interdev as the ASP

development environment.



Any suggestions on different ways of doing it gratefully recieved.



Ta very much



---

You are currently subscribed to asp_components as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_components-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #2 by "Toby Anscombe" <tanscombe@m...> on Thu, 14 Dec 2000 13:08:48 -0000
In theory, yes.



But, as ASP only supports variant data types you kind of loose out on typing

each element. Net result is you may as well use a var array.



How many items are you passing ?



Regards



T



-----Original Message-----

From: Duncan Allen [mailto:dxallen@b...]

Sent: 14 December 2000 20:56

To: ASP components

Subject: [asp_components] User Defined Type in VB COM Object





I need to pass a lot of data to a vb COM object, which I can't do as a

long list of parameters. I'm trying to do it via a publicly declared User

Defined Type in the COM object. How do I make the ASP aware of the User

Defined Type - or can't I ? I'm using Visual Interdev as the ASP

development environment.



Any suggestions on different ways of doing it gratefully recieved.



Ta very much





---

You are currently subscribed to asp_components as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_components-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #3 by dxallen@b... on Tue, 19 Dec 2000 09:07:44 -0000
Hi,



I'm passing about 51 items back - basically an entire form. I'm using

disconnected recordsets but I guess a variant array would use less

resources ?



---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_components as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_components-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index