473,230 Members | 4,187 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,230 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 4001
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: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.