Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Query


Message #1 by "Phil Perks" <philp@w...> on Wed, 6 Sep 2000 17:02:27 +0100
---Original Message-----

From: Taiyabi Electricwala [mailto:tabs76@r...]

Sent: 06 September 2000 11:20

To: philp@w...

Subject: Query



I will tell you what is my problem



I am developing an ActiveX Control through VB 6.0 which has to be deployed

on an ASP Page.

I have to get recordset from the database through a COM Component inside

an ActiveX Control which resides on ASP Page.

Well getting recordsets inside the control is successful through RDS, but

now as per the program logic I have to create a new recordset i.e changed

and updated recordset and send it back to the COM component residing on

the web server.

So how do I send a recordset out of the ActiveX Control

to a COM Component residing on the WEB Server ?



Right now I am saving the recordset on the client's machine and uploading

it through Microsoft Internet Transfer Control. But here I have to

navigate to another ASP page for creating the COM OBJECT which reads the

uploaded file and after the transactions I redirect back to the ASP page

which has the control on it.



Could you provide me with some of your thoughts like how to go about it ?



Waiting for your reply



Thanks and regards



Taiyabi 

Message #2 by David Sant <dsant@s...> on Wed, 6 Sep 2000 13:49:00 -0400
Create a custom business object on the server for use with RDS. Then in that

business object, create a function that accepts a recordset as a parameter.

Then from the client ActiveX control, you can pass the recordset back to the

server by calling that function - then the business object can reconnect it

to the database or do whatever it needs with it from there.



________________________ 

David Sant 

dsant@s...

Technology Architect

The Sant Corporation

http://www.santcorp.com 









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

From: Phil Perks [mailto:philp@w...]

Sent: Wednesday, September 06, 2000 12:02 PM

To: ASP components

Subject: [asp_components] Query





---Original Message-----

From: Taiyabi Electricwala [mailto:tabs76@r...]

Sent: 06 September 2000 11:20

To: philp@w...

Subject: Query



I will tell you what is my problem



I am developing an ActiveX Control through VB 6.0 which has to be deployed

on an ASP Page.

I have to get recordset from the database through a COM Component inside

an ActiveX Control which resides on ASP Page.

Well getting recordsets inside the control is successful through RDS, but

now as per the program logic I have to create a new recordset i.e changed

and updated recordset and send it back to the COM component residing on

the web server.

So how do I send a recordset out of the ActiveX Control

to a COM Component residing on the WEB Server ?



Right now I am saving the recordset on the client's machine and uploading

it through Microsoft Internet Transfer Control. But here I have to

navigate to another ASP page for creating the COM OBJECT which reads the

uploaded file and after the transactions I redirect back to the ASP page

which has the control on it.



Could you provide me with some of your thoughts like how to go about it ?



Waiting for your reply



Thanks and regards



Taiyabi 




  Return to Index