Solved

Call application that is not part of project solution

Posted on 2004-08-23
3
154 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 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