Is that all I need? Is there anything else i need know?
Server.Execute(<urlwithquer
Main Topics
Browse All TopicsNed to send query string URL through code-behind to another server and NOT open a browser window.
So in vb.net code-behind need code to send a query string to another server (another domain name) to send info in the query string to their database, BUT can not open a window so user does not know.
Need to do in code-behind code of vb.net 2003 asp.net 1.1 how I can find code example of how?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
On thing this URL is on other server outside of my domain .
I got this error!
Server Error in '/DEV' Application.
--------------------------
Invalid path for child request 'http://gateway.varitalk.c
A virtual path is expected.
Sorry, My mistake Server.Execute cannot execute code outside its AppDomain. Instead you will ne to use XmlHttpRequest, XmlHttpResponse objects for in the code-behind file as follows:
HttpWebRequest request = (HttpWebRequest) WebRequest.Create("http://
request.KeepAlive = false;
HttpWebResponse response = (HttpWebResponse)request.G
Stream receiveStream = response.GetResponseStream
Encoding encode = System.Text.Encoding.GetEn
// Pipes the stream to a higher level stream reader with the required encoding format.
StreamReader readStream = new StreamReader(receiveStream
while (!readStream.EndOfStream)
{
Debug.WriteLine(readStream
}
readStream.Close();
response.Close();
Regards,
Chirag
Its Conversion in VB.Net is like this
Dim request As System.Net.HttpWebRequest = CType(WebRequest.Create("h
request.KeepAlive = False
Dim response As HttpWebResponse = CType(request.GetResponse(
Dim receiveStream As Stream = response.GetResponseStream
Dim encode As Encoding = System.Text.Encoding.GetEn
// Pipes the stream to a higher level stream reader with the required encoding format.
Dim readStream As New StreamReader(receiveStream
While Not readStream.EndOfStream
Debug.WriteLine(readStream
End While
readStream.Close()
response.Close()
Business Accounts
Answer for Membership
by: Chirag1211Posted on 2008-09-19 at 09:39:21ID: 22522983
You can make use of Server.Execute(<urlwithquer ystring>)
Regards,
Chirag