Groups | Blog | Home
all groups > dotnet general > november 2004 >

dotnet general : How to send data from an ASP form to a visual basic form?


Kurien Baker Fenn
11/10/2004 10:11:01 PM
How to send data from an ASP form to a visual basic form?

Kurien Baker Fenn
11/10/2004 11:14:05 PM
Hello Nick,
Thank you for responding to my mail.i am using IIS and the vb
application is on the same system.what i want to do is i want to generate an
excel report from the datas provided by the user in the asp form.hope this
will be able for you to solve my query.


[quoted text, click to view]
Nick Malik
11/11/2004 6:38:41 AM
please be more specific. What server is the asp app running on? Is the vb
app on a different machine or on the same machine? What business problem
are you trying to solve? What have you tried already?


--- Nick

"Kurien Baker Fenn" <KurienBakerFenn@discussions.microsoft.com> wrote in
message news:AC7435FB-1A44-401A-953C-C6417D2F71A2@microsoft.com...
[quoted text, click to view]

UAError
11/11/2004 7:44:48 AM
"Kurien Baker Fenn"
[quoted text, click to view]

Write the data to a file in a common directory
use a FileSystemWatcher

NET Framework Class Library FileSystemWatcher Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiofilesystemwatcherclasstopic.asp

A.) in the running Windows Forms application to detect the
appearance of a new file and load it.

B) in a Windows Service to launch the Windows Forms
application specifying the file as command-line argument. If
the Windows Forms application is already running notify the
Windows Form application by an alternative means.

Alternately you could use .NET remoting to directly send
data from the ASP.NET application to the Windows Forms
Application/Windows Service (acting as the remoting host) -
however the file solution is simpler and isn't as likely to
Nick Malik
11/11/2004 2:56:38 PM
Hi Kurien,

Is the user uploading an excel spreadsheet, or are they just entering data?
If they are entering data, are they entering it into a database via your
ASP.NET app? If so, use the database as the common point of control. Have
your VB app poll for new data (send queries that return TRUE if new data
exists). Simply reload your excel spreadsheet when the new data arrives.

--- Nick

"Kurien Baker Fenn" <KurienBakerFenn@discussions.microsoft.com> wrote in
message news:9F8A16B5-6E49-4DEA-B7ED-7F45AF3A6834@microsoft.com...
[quoted text, click to view]


AddThis Social Bookmark Button