473,471 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Integrating Legacy Windows app with ASP.Net app

Ok, I have a funky situation here. The client has an existing windows
application that they want exposed via their c# asp.Net application. The
windows app is not .Net based and we do not have the source code for it.

Their thought is to have the app running on the web server and essientally
screen-scrape it two-ways (data in and data out) on their web app. They want
to recreate the basic field layout (even including tab-order) on the web
page and then have the submitted data submitted to the windows app. All of
this done on the fly of course.

Now, I've been in Web development for a number of years but have never heard
of anything like this working. The reason behind this is the windows app is
known and liked in the target community and would take too long to recreate
each screen (300+ pages).

Any advice anyone can give me would be greatly appreciated.
Nov 19 '05 #1
2 1082
I would try and see if any API's have been exposed so that you could use
pinvoke or see if any COM classes have been written for the older app. If
there are, then you could use pinvoke or COM interop to "interact" with the
non-.net app.

"John Stockton" wrote:
Ok, I have a funky situation here. The client has an existing windows
application that they want exposed via their c# asp.Net application. The
windows app is not .Net based and we do not have the source code for it.

Their thought is to have the app running on the web server and essientally
screen-scrape it two-ways (data in and data out) on their web app. They want
to recreate the basic field layout (even including tab-order) on the web
page and then have the submitted data submitted to the windows app. All of
this done on the fly of course.

Now, I've been in Web development for a number of years but have never heard
of anything like this working. The reason behind this is the windows app is
known and liked in the target community and would take too long to recreate
each screen (300+ pages).

Any advice anyone can give me would be greatly appreciated.

Nov 19 '05 #2
tell your client its the wrong approach. anyway here are some of the issues:

the basic logic would be to start the screen app, and send keystokes to it.
to do this reliably, I pick up a windows screen testing api (will have code
to help determine the page, detect popups etc). each web user will have to
have their own instance of the app running (does it support
multi-instances?). on session start you need to create an instance (as
asp.net cannot start a windows app you will need a techinque for this.) also
thiese must be an active desktop on the server - logged in account, to
support the windows app. on session end - close the window app assoicated
with the session.

-- bruce (sqlwork.com)
"John Stockton" <jo*********@hotmail.com> wrote in message
news:un**************@TK2MSFTNGP15.phx.gbl...
Ok, I have a funky situation here. The client has an existing windows
application that they want exposed via their c# asp.Net application. The
windows app is not .Net based and we do not have the source code for it.

Their thought is to have the app running on the web server and essientally
screen-scrape it two-ways (data in and data out) on their web app. They
want to recreate the basic field layout (even including tab-order) on the
web page and then have the submitted data submitted to the windows app.
All of this done on the fly of course.

Now, I've been in Web development for a number of years but have never
heard of anything like this working. The reason behind this is the windows
app is known and liked in the target community and would take too long to
recreate each screen (300+ pages).

Any advice anyone can give me would be greatly appreciated.

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Russ | last post by:
Hello. I have a very large business application written all in VC++ and MFC. Now I want to interface some of it to the web. I have VS.NET2003 and have been studing walkthroughs and documentation...
8
by: Russ | last post by:
Hello. I have a very large business application written all in VC++ and MFC. Now I want to interface some of it to the web. I have VS.NET2003 and have been studing walkthroughs and documentation...
4
by: Jason Madison | last post by:
I would like to create a .net application that still uses a few screens from an old legacy application we have. I can list records from the database in my .net app, but when it comes to making...
2
by: akshalika | last post by:
Can some one assist me what are the limitation of BizTalk Server when Integrating legacy System Like AS/400 ? Someone help really appreciates
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.