Solved

Call application that is not part of project solution

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

Technology Partners: 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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 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