473,320 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Porting a C++ desktop application to a web application (AND dotnetdesktop app)

I wrote a desktop application in C++ a little while ago, and I will like
to port it to a web application.

Here are the details:

1). ALL business logic is held in ANSI C++ libraries (e.g. I make
extensive use of the BOOST C++ libraries)
2). The front end is written entirely in VB6

What I want to do is to is to be able to be able to have a choice of
building a DOTNET desktop application or a web application (preferably,
using as much of the same presentation layer code as possible).

I realize that I will have to port the GUI from VB6 to either C# or
VB.Net (I can code in either language easily enough). I would like to
know if :

1). I can build both a web application and a desktop application from
the same (presentation layer) source code - if no, what is the best way
to minimize duplicating code?

2). Which of the two languages (VB.Net or C#) will be better suited for
this job (i.e. coding a new presentation layer), and why ?

Jun 18 '07 #1
1 1797
Responded to in asp.net newsgroup. Please don't cross post.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~
Ben Rush
Microsoft .NET Consultant
http://www.ben-rush.net/blog
http://www.sideshowsystems.com
"Bartholomew Simpson" <12**********@terrace.comwrote in message
news:2p*********************@bt.com...
>I wrote a desktop application in C++ a little while ago, and I will like to
port it to a web application.

Here are the details:

1). ALL business logic is held in ANSI C++ libraries (e.g. I make
extensive use of the BOOST C++ libraries)
2). The front end is written entirely in VB6

What I want to do is to is to be able to be able to have a choice of
building a DOTNET desktop application or a web application (preferably,
using as much of the same presentation layer code as possible).

I realize that I will have to port the GUI from VB6 to either C# or VB.Net
(I can code in either language easily enough). I would like to know if :

1). I can build both a web application and a desktop application from the
same (presentation layer) source code - if no, what is the best way to
minimize duplicating code?

2). Which of the two languages (VB.Net or C#) will be better suited for
this job (i.e. coding a new presentation layer), and why ?

Jun 18 '07 #2

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

Similar topics

14
by: Wolfgang Keller | last post by:
Hello, as a non-developer I am currently participating in an industrial "research" project to develop a so-called "web application". This application serves at the same time as middleware to...
9
by: Etienne Charland | last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA, but the same problem applies for RDC or PC Anywhere). Now, I want to send keys to the remote application from a local app....
2
by: Michael Sgier | last post by:
Hello i'm trying to port a windows program to linux with Kdevelop 1.question: unsigned char *LoadBitmapFile(char *filename, BITMAPINFOHEADER *bitmapInfoHeader); ...
4
by: Chris Travers | last post by:
Hi all; A few years ago, I set about porting a PHP application from MySQL to PostgreSQL, after realizing that MySQL wasn't going to be able to handle it. In order to do this, I built a light,...
3
by: Elp | last post by:
Hi, I have developped a Windows applcation (in C#) that allows, among other things, users to view and control the desktop of a remote Windows XP Pro machine. I have actually simply embedded the...
2
by: sandip desale | last post by:
Dear All, We have a Tcl/Tk application written using Python 2.2. Using this application we want to call some customizable Java APIs. I tried porting Tcl/Tk application to Jython but not able to do...
2
by: Bartholomew Simpson | last post by:
I wrote a desktop application in C++ a little while ago, and I will like to port it to a web application. Here are the details: 1). ALL business logic is held in ANSI C++ libraries (e.g. I...
1
by: Bartholomew Simpson | last post by:
I wrote a desktop application in C++ a little while ago, and I will like to port it to a web application. Here are the details: 1). ALL business logic is held in ANSI C++ libraries (e.g. I...
5
by: developing | last post by:
My project is to port a .net desktop app (c#) to the web. Of course, I am going with asp.net since I can reuse most of the libraries and business logic. Problems come up with the GUI part. Is...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.