Solved

Call application that is not part of project solution

Posted on 2004-08-23
3
151 Views
Last Modified: 2010-04-23
Hi,

I'm trying to call a VB.Net application that is not part of the current solution. How can I achieve this? Currently, I've tried both of these with no success:

Request.ServerVariables("HTTP_HOST") & "remaing URL Path"
Request.UserHostName & "remaing URL Path"

Thanks,
JS
0
Comment
Question by:gometang
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Scoobyed
ID: 11878949
this is a webservice you're after by looks of it, not a separate exe, on the server?
for web service, not sure if this helps
http://weblogs.asp.net/britchie/archive/2004/08/02/206427.aspx
0
 

Author Comment

by:gometang
ID: 11881428
No, I'm simply trying to call a webpage (.aspx) located in another solution (different virtual directory on the server).
0
 
LVL 3

Accepted Solution

by:
Scoobyed earned 500 total points
ID: 11889821
ok, not really an asp bod, but have done some, and webservices
so it's to put the html generated into the current page? or to call specific functions?
if it's specific functions, might be best moving functions into separate file and using an include on both pages to get same functions in both (http://techies.co.za/phpBB2/viewtopic.php?p=21 - http://www.w3schools.com/asp/asp_incfiles.asp)

if it's to get html into current page I've seen stuff like <!--#include file="insertthisfile.html" --> to get existing html, but not generated from one page to another, but looks like it's done with getContent (http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_21078240.html)
ie.
<%
rqst=Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("PATH_INFO")
url="http://www.onyoursite.com/data/cxc.htp?rqst="&rqst
set Http = server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
Http.Open "GET", url, False
Http.Send
Dim resptext
resptext = Http.ResponseText
response.write (resptext)
Set Http = nothing
%>
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now