?
Solved

Call application that is not part of project solution

Posted on 2004-08-23
3
Medium Priority
?
156 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 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