Solved

Call application that is not part of project solution

Posted on 2004-08-23
3
144 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

7 Experts available now in Live!

Get 1:1 Help Now