473,322 Members | 1,352 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,322 software developers and data experts.

Can a Window C# app be ported to the Web?

One advantage of ActiveX is that something that is developed for (and tested
with) a desktop app can be used on the web. Can .NET do this? Is there a
way to develop a user interface first for a Windows app and then use that UI
on the Web? It seems to me that the classes used to develop a Forms-based
Windows app are very different from those used to develop ASP.
Dec 13 '05 #1
2 1040
You can create a windows forms UserControl and host this in internet explorer
with an appropriately constructed Object tag (See MSDN for details), however
it will run in the IE restricted "sandbox" by default, and CAS policy
settings must be adjusted for it to be able to do things link access the
filesystem or databases.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"David" wrote:
One advantage of ActiveX is that something that is developed for (and tested
with) a desktop app can be used on the web. Can .NET do this? Is there a
way to develop a user interface first for a Windows app and then use that UI
on the Web? It seems to me that the classes used to develop a Forms-based
Windows app are very different from those used to develop ASP.

Dec 13 '05 #2
Why not decouple the UI from the business and data layers and use them with
any UI you want (be it web or win32). You are trying to re-use the wrong
part... I think an n-tier design would get you where you want just in a
slightly diff way. Take a look at Model-View-Controller (not .NET
specific).

--

Derek Davis
dd******@gmail.com

"David" <Co*********@AdsorptionProcessModeling.com> wrote in message
news:siHnf.17618$Mi5.13200@dukeread07...
One advantage of ActiveX is that something that is developed for (and
tested with) a desktop app can be used on the web. Can .NET do this? Is
there a way to develop a user interface first for a Windows app and then
use that UI on the Web? It seems to me that the classes used to develop a
Forms-based Windows app are very different from those used to develop ASP.

Dec 14 '05 #3

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

Similar topics

5
by: Bootstrap Bill | last post by:
Does anyone have a list of applications that have been ported to the .net framework? Does anyone know if future versions of Office will be ported? What about other Microsoft products? Games?
1
by: gerard.l1.demers | last post by:
I'm looking for a version of this code that has been ported to make cleanly under HPUX11i. I'm not a C++ progammer and am struggling with the compiler errors: vector.hpp:55: error: declaration...
6
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
0
by: Joel Foner | last post by:
I realize this sounds like a bizarre question, but... is it possible to create an MFC window as a child of a non-MFC parent? Here's the background. I'm trying to create an add-in for a product...
4
by: Steve | last post by:
I have the MDI MFC application ported to .NET. Now this application include mixed managed/unmanaged code. The application displays progress dialog with the cancel button during lenghtly...
4
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
0
by: Helmut Jarausch | last post by:
Hi, does anybody know if ReSTedit (originally for Mac OS X) has been ported to Linux? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University...
6
by: brandon.e.taylor | last post by:
I am looking for a tool capable of producing HTML pages from source files written in different languages, where the source written in one language is a port of the source written in another...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.