Still Need desperate help to start with ASP NET - simplified problems - HELP!!
- From: pamelafluente@xxxxxxxxx
- Date: 2 Jul 2006 05:39:39 -0700
I am still working with no success on that client/server
problem. I need your help. I will submit simplified versions
of my problem so we can see clearly what is going on.
My model:
A client uses IE to talk with a server.
The user on the client (IE) sees an ASP net page containing
a TextBox. He can write some text in this text box and
push a submit button.
Problem 1. What's the code the ASP NET page?
============================================
A server computer on http://MyServer/MyApp.exe has a .NET
program running. This is a win application which contains
somewhere the following public function:
Function GenerateResponsePage(ByVal ThisIsWhatReceivedFromClient As
String) As String
Dim MyWebPage As String = String.Empty
MyWebPage &= "<html>"
MyWebPage &= vbCrLf & "<Body>"
MyWebPage &= vbCrLf & "Received from client: <br>"
MyWebPage &= vbCrLf & ThisIsWhatReceivedFromClient
MyWebPage &= vbCrLf & "</Body>"
MyWebPage &= vbCrLf & "</html>"
Return MyWebPage
End Function
The win application on the server receives the text submitted in the
text box
(we call it "ThisIsWhatReceivedFromClient") by the user who is using IE
on the client side. As an answer the Server sends back a page generated
by
the function "GenerateResponsePage" and the browser displays it to the
User
on the client side.
Problem 2. How do I make the win application to
receive the text submitted by the user in the TextBox ?
======================================================
Problem 3. How do I make display the string generated by
the "GenerateResponsePage" (simple html page) on the user
browser ?
============================================================
That all for now. My biggest problems are with problems 2 and 3. I need
a simple
working example to get started. Please help!
-Pam
.
- Follow-Ups:
- Prev by Date: Re: Memory leak when using Response.Write()
- Next by Date: Re: Changing the selecteddate of a calendar control in code
- Previous by thread: Invalid URI: There is an invalid sequence in the string. Error!!
- Next by thread: Re: Still Need desperate help to start with ASP NET - simplified problems - HELP!!
- Index(es):