473,407 Members | 2,598 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,407 software developers and data experts.

Embedding windows forms in IE

Hi all,
I have a massive windows application that refernces a lot of assemblies
and doing a lot of DAL anf IO operations.

I want to expose this application to the interner so that a user can
access it using a web browser.

How can i do it?
Do i have to use smart client?
Can i do it using activex controls?

All the example i have seen in the group talk about embeddign specific
controls and not a massive form and exe to the web.

Any ideas?

Sep 5 '06 #1
4 4008
Hi Pini

Firstly, a Smart Client (to my understanding) is a windows forms based
application that gets its data/services from a network/internet based
server (i.e. a bit like Outlook in that the application runs on your PC
but it downloads the messages from either your internal Exchange/Mail
server, or from a mail server hosted on a web site). In order for that
to be able to work then the client (winforms) application needs to know
how to communicate with the server (whether over your LAN or via the
internet using webservices for example), and likewise from the server
side of things (as well as taking care of authentication etc) so I
imagine this would probably result in a large rewrite of your app (but
that obviously depends on how it's already structured) and on top of
that, from your post it looks like you want people to run your app
inside a browser so I don't think this is what you're trying to
achieve.

As far as I know, you can't 'host' a windows form inside of a web
browser (could be wrong there though as I don't tend to do a lot of web
development).

If you want your users to be able to run your app via a web browser
then I imagine you're going to have to re-code your UI as web
forms/pages that consume your backend application code.

I think both options may involve quite a lot of work on your side to
get it running but again, it really depends on how your current app is
structured as to how complex this is.

Hope that helps
Martin

Pini wrote:
Hi all,
I have a massive windows application that refernces a lot of assemblies
and doing a lot of DAL anf IO operations.

I want to expose this application to the interner so that a user can
access it using a web browser.

How can i do it?
Do i have to use smart client?
Can i do it using activex controls?

All the example i have seen in the group talk about embeddign specific
controls and not a massive form and exe to the web.

Any ideas?
Sep 6 '06 #2
..net windows forms have always been 'embedable' in aspx pages : note the
limits & constraints

http://www.15seconds.com/Issue/030610.htm
"Pritcham" <do******************@hotmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
Hi Pini

Firstly, a Smart Client (to my understanding) is a windows forms based
application that gets its data/services from a network/internet based
server (i.e. a bit like Outlook in that the application runs on your PC
but it downloads the messages from either your internal Exchange/Mail
server, or from a mail server hosted on a web site). In order for that
to be able to work then the client (winforms) application needs to know
how to communicate with the server (whether over your LAN or via the
internet using webservices for example), and likewise from the server
side of things (as well as taking care of authentication etc) so I
imagine this would probably result in a large rewrite of your app (but
that obviously depends on how it's already structured) and on top of
that, from your post it looks like you want people to run your app
inside a browser so I don't think this is what you're trying to
achieve.

As far as I know, you can't 'host' a windows form inside of a web
browser (could be wrong there though as I don't tend to do a lot of web
development).

If you want your users to be able to run your app via a web browser
then I imagine you're going to have to re-code your UI as web
forms/pages that consume your backend application code.

I think both options may involve quite a lot of work on your side to
get it running but again, it really depends on how your current app is
structured as to how complex this is.

Hope that helps
Martin

Pini wrote:
Hi all,
I have a massive windows application that refernces a lot of assemblies
and doing a lot of DAL anf IO operations.

I want to expose this application to the interner so that a user can
access it using a web browser.

How can i do it?
Do i have to use smart client?
Can i do it using activex controls?

All the example i have seen in the group talk about embeddign specific
controls and not a massive form and exe to the web.

Any ideas?

Sep 7 '06 #3
Hi

As I posted, I don't do a great deal of web development so my knowledge
there is more limited but from what I understand the OP wanted to host
his windows forms application in a browser - quote:
All the example i have seen in the group talk about embeddign specific
controls and not a massive form and exe to the web.
(app, not individual controls - quote: ) and that was what I was
answering.

Martin
gerry wrote:
.net windows forms have always been 'embedable' in aspx pages : note the
limits & constraints

http://www.15seconds.com/Issue/030610.htm
"Pritcham" <do******************@hotmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
Hi Pini

Firstly, a Smart Client (to my understanding) is a windows forms based
application that gets its data/services from a network/internet based
server (i.e. a bit like Outlook in that the application runs on your PC
but it downloads the messages from either your internal Exchange/Mail
server, or from a mail server hosted on a web site). In order for that
to be able to work then the client (winforms) application needs to know
how to communicate with the server (whether over your LAN or via the
internet using webservices for example), and likewise from the server
side of things (as well as taking care of authentication etc) so I
imagine this would probably result in a large rewrite of your app (but
that obviously depends on how it's already structured) and on top of
that, from your post it looks like you want people to run your app
inside a browser so I don't think this is what you're trying to
achieve.

As far as I know, you can't 'host' a windows form inside of a web
browser (could be wrong there though as I don't tend to do a lot of web
development).

If you want your users to be able to run your app via a web browser
then I imagine you're going to have to re-code your UI as web
forms/pages that consume your backend application code.

I think both options may involve quite a lot of work on your side to
get it running but again, it really depends on how your current app is
structured as to how complex this is.

Hope that helps
Martin

Pini wrote:
Hi all,
I have a massive windows application that refernces a lot of assemblies
and doing a lot of DAL anf IO operations.
>
I want to expose this application to the interner so that a user can
access it using a web browser.
>
How can i do it?
Do i have to use smart client?
Can i do it using activex controls?
>
All the example i have seen in the group talk about embeddign specific
controls and not a massive form and exe to the web.
>
Any ideas?
Sep 7 '06 #4
Hi there,Thank you all for your answers, I did the following and
manages to get a good soultion to my problem without to built a smart
client application
Here what i did
I create a usercontrol and expose himslef as a com objetc.(this is very
easy)
then i added 2 functions that resister this class as an activex.
I created a setup project.
The created files are msi file and an setup.exe file.
I creates a cab file that contains all the exe and refernces.
I created an html file with the <objecttag.

Ho and dont forget. My usercontrol exposes a public function that
creates a new process wich runs my exe.

This means that who ever is trying to get to the html file is dowloding
the cab file wich extracts the exe and other files and then register
the com.

Now everything works great.

Read more at
http://blog.joycode.com/felix/articles/32905.aspx

Sep 12 '06 #5

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

Similar topics

4
by: Alicia Haumann | last post by:
I accidentally sent this to webmaster@python.org, so this could be a duplicate if "webmaster" forwards it to this list. :{ Hi, there. Thanks for any help that can be offered. I've been...
2
by: Roose | last post by:
With some googling I have found these resources: http://docs.python.org/ext/win-dlls.html http://www.python.org/doc/faq/windows.html I have a large Win32/MFC/C/C++ application that has an...
1
by: Yasutaka Ito | last post by:
Hi, I have an MDI application, in which I want to embed one form (System.Windows.Forms.Form) into a specified area of my MDI application. This is, wihtout affecting the capability of other child...
2
by: Furer Ramon | last post by:
Has anyone a example with source code to emmbed a true type fonts with a application? Thanks a lot Ramon Furer
1
by: Dominic via DotNetMonster.com | last post by:
With a little help from someone in this forum, I am currently creating forms and then embedding them into tabpages, so that I get a display similar to Lotus Notes. I have one container window, so I...
0
by: Mike Chamberlain | last post by:
Hi there. I'm trying to embed a flash movie in my .NET 2.0 form. However, all I see is a white square, no movie is playing. I have done the following: * added a reference to the...
2
by: Budhi Saputra Prasetya | last post by:
Hi, I managed to create a Windows Form Control and put it on my ASP .NET page. I have done the suggestion that is provided by modifying the security settings. From the stack trace, I would...
0
by: Budhi Saputra Prasetya | last post by:
Hi, I still have the same problem with embedding Windows Control. I'll just requote what I posted last time: I managed to create a Windows Form Control and put it on my ASP .NET page. I...
0
Pittaman
by: Pittaman | last post by:
Hello, We're developing an application (.NET 2.0) that let's users drop documents in the application and allows users to show some document types "embedded". For example, a textfile would appear...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.