473,473 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to call asp page from ASPNET

is there anyway I can call ASP page from ASPNET page. How should I
call...whats the syntax...or code sample

thanks
Nov 19 '05 #1
10 1295
abcd wrote:
is there anyway I can call ASP page from ASPNET page. How should I
call...whats the syntax...or code sample

thanks


Call it for what purpose? Are you trying to parse it in, in the
background? Redirect to it? etc?

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #2
I have a COM component which is instantiated in ASP page and that does a job
for me....ASP page returns me the list of some values....as that ASP page is
already written I dont want to convert it into aspx page....

the values I get from ASP page I use it in ASPX page in list box....


Curt_C [MVP] wrote:
abcd wrote:
is there anyway I can call ASP page from ASPNET page. How should I
call...whats the syntax...or code sample

thanks


Call it for what purpose? Are you trying to parse it in, in the
background? Redirect to it? etc?

Nov 19 '05 #3
abcd wrote:
I have a COM component which is instantiated in ASP page and that does a job
for me....ASP page returns me the list of some values....as that ASP page is
already written I dont want to convert it into aspx page....

the values I get from ASP page I use it in ASPX page in list box....


So you want to Parse the Remote Page... that's your search, I think you
will find a number of ways to do this out there.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #4
yes...

do you know any quick solution
Curt_C [MVP] wrote:
abcd wrote:
I have a COM component which is instantiated in ASP page and that
does a job for me....ASP page returns me the list of some
values....as that ASP page is already written I dont want to convert
it into aspx page.... the values I get from ASP page I use it in ASPX
page in list box....


So you want to Parse the Remote Page... that's your search, I think
you will find a number of ways to do this out there.

Nov 19 '05 #5
abcd wrote:
yes...

do you know any quick solution
Curt_C [MVP] wrote:
abcd wrote:
I have a COM component which is instantiated in ASP page and that
does a job for me....ASP page returns me the list of some
values....as that ASP page is already written I dont want to convert
it into aspx page.... the values I get from ASP page I use it in ASPX
page in list box....


So you want to Parse the Remote Page... that's your search, I think
you will find a number of ways to do this out there.



With ASP.NET I don't, sorry. I know I've seen it posted here before, and
would be willing to bet that Google would get you a good start.
The problem isnt calling the remote page, its going to be getting the
Text out of the html generated page... The whole page will be read in
as a large string, which you will have to break apart.
In the end I'd be willing to bet you will be better off calling that
same COM component from your ASP.NET page instead....

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #6
my current solution is I am using VB component which is using Internet
Transport Control to reach to that asp page that works great....and I call
that coponent from aspx page

my code looks like

Set obj = CreateObject("InetCtls.Inet")
output = obj.OpenURL(strURL, icString)

this worlks good....but we have deployment issues...we dont know whether
this control exsits on every OS....

Curt_C [MVP] wrote:
abcd wrote:
yes...

do you know any quick solution
Curt_C [MVP] wrote:
abcd wrote:

I have a COM component which is instantiated in ASP page and that
does a job for me....ASP page returns me the list of some
values....as that ASP page is already written I dont want to
convert it into aspx page.... the values I get from ASP page I use
it in ASPX page in list box....
So you want to Parse the Remote Page... that's your search, I think
you will find a number of ways to do this out there.



With ASP.NET I don't, sorry. I know I've seen it posted here before,
and would be willing to bet that Google would get you a good start.
The problem isnt calling the remote page, its going to be getting the
Text out of the html generated page... The whole page will be read in
as a large string, which you will have to break apart.
In the end I'd be willing to bet you will be better off calling that
same COM component from your ASP.NET page instead....

Nov 19 '05 #7
"abcd" <ab**@abcd.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
is there anyway I can call ASP page from ASPNET page. How should I
call...whats the syntax...or code sample


What do you mean by "call" exactly? If you mean that an ASP.NET page
contains a hyperlink which points to an ASP page, or that its code-behind
redirects or transfers to an ASP page, then you do it just as if it were an
ASP.NET page.
Nov 19 '05 #8
I mean my codebehind will run/execute (or whatever mechanism is) that asp
page and return some outout for me (asp page is using response.wrire) ....

what is that mecnhamism ?? so that I can get out put from asp page into my
aspx page
Mark Rae wrote:
"abcd" <ab**@abcd.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
is there anyway I can call ASP page from ASPNET page. How should I
call...whats the syntax...or code sample


What do you mean by "call" exactly? If you mean that an ASP.NET page
contains a hyperlink which points to an ASP page, or that its
code-behind redirects or transfers to an ASP page, then you do it
just as if it were an ASP.NET page.

Nov 19 '05 #9
WJ

"abcd"

Can you direct the ASP page to return you XML so that your ASP.Net page can
read in into your list ?

John
Nov 19 '05 #10
HttpWebRequest has solved my issue !!!
Curt_C [MVP] wrote:
abcd wrote:
is there anyway I can call ASP page from ASPNET page. How should I
call...whats the syntax...or code sample

thanks


Call it for what purpose? Are you trying to parse it in, in the
background? Redirect to it? etc?

Nov 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jade | last post by:
I saw some web page saying I could do it this way in javascript: var iNumber = <%#publicvarname publicpropertyname %> but it doesn't seem to work. I have this piece of code here in...
8
by: A.M | last post by:
Hi, I know that i can use Page.Request.Path to find what is the current page name. The problem is I can't access to Page object inside a user control. Is there any way that a user control...
2
by: moondaddy | last post by:
I'm using vb.net and have an aspx page where I want to call a function in the code behind to do something on the backend and I want to call this function from a jscript function in the aspx page. ...
9
by: EMW | last post by:
I have created a page in aspx and after a click on a button, a new page should open. How is this possible? I tried it doing it like in vb.NET with opening a new form, but it doesn't work. rg,...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
2
by: rjack | last post by:
I'm using VS 2005 Beta 2. In VS 2003, the Page directive in an aspx page has Language and CodeBehind attributes. You can have the language be different than the code behind file language. For...
8
by: TS | last post by:
Hi, i have inherited a page from another user. The page is the target frame in a frameset. for some reason the whole page runs twice (page_load, init, etc. all run twice) I can't figure out how...
1
by: Sam | last post by:
Attached I am sending 2 URL's from MSFT ASP.net Quick Start Tutorial Web Site. 1) Run it URL: http://www.asp.net/QuickStart/aspnet/samples/data/GridViewMasterDetai... 2) View Source URL:...
0
by: pratikkagda | last post by:
Hi, I have created desktop applications in visual basic .net (Framework 2.0) which access the web information from a particular site. This application is working great. There is no problem at all....
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.