is there anyway I can call ASP page from ASPNET page. How should I
call...whats the syntax...or code sample
thanks 10 1313
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
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?
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
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.
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
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("I netCtls.Inet")
output = obj.OpenURL(str URL, 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....
"abcd" <ab**@abcd.co m> wrote in message
news:%2******** ********@TK2MSF TNGP15.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.
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.co m> wrote in message news:%2******** ********@TK2MSF TNGP15.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.
"abcd"
Can you direct the ASP page to return you XML so that your ASP.Net page can
read in into your list ?
John This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 javascript:
<script language="javascript">
var sessionServer = "<%#jsTestServer%>";
alert(sessionServer);
</script>
|
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 access to the page class?
Thanks
Ali
|
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. Furthermore I know there
will be a postback involved but the state of the page will not change at all
so I would like it to be as efficient as...
|
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,
Eric
|
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 button will verify the information that has been entered and
updates the data base if the data is correct. Update will throw an exception
if the data is...
| |
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 instance, you can have
Language="vb"
CodeBehind="classA.cs"
In VS 2005, the CodeBehind attribute seems to have been replaced with
|
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 this is happening. there are no transfers or
redirects that are occurring in the pages. the page runs thru all of its
events then starts all over...
|
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:
http://www.asp.net/QuickStart/util/srcview.aspx?path=~/aspnet/samples...
|
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. Now I want to call this exe from web, for that I have set up asp.net application, using the process class of the System.Diagnostics namespace, it is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |