473,320 Members | 1,732 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.

Question: hosting smart client inside IE

Hi,

I am looking for help with the following challenge. We are writing a
Smart Client management application, which we want to appear to
customers as a Web client. Hence we want to embed it inside IE, but
are not sure technically how this may be done. Any ideas, pointers etc
will be appreciated.

BTW, on MSDN I only found general statements that this is possible,
e.g.
http://msdn.microsoft.com/library/de.../scag-ch01.asp
"The .NET Framework provides a great deal of flexibility in how your
smart client applications can be hosted. Applications can be run as
traditional desktop applications or can be hosted within Office or
Microsoft Internet Explorer"…

Thanks,

-- Shaul Dar

Email: Sh******@gmail.com
Jul 21 '05 #1
5 3276
"Shaul Dar" wrote:
I am looking for help with the following challenge. We are writing a
Smart Client management application, which we want to appear to
customers as a Web client. Hence we want to embed it inside IE, but
are not sure technically how this may be done. Any ideas, pointers etc
will be appreciated.
http://www.devhood.com/tutorials/tut...=187&printer=t
BTW, on MSDN I only found general statements that this is possible,


As always, MSDN is right :-)

Steven

- - -
Jul 21 '05 #2
Here are some detailed instructions on how it is done:
http://msdn.microsoft.com/library/de...nusingie55.asp

Currently, Href Exes are the modus for this type of deployment but with
VS2005 this will become more rigorous with ClickOnce technology:
http://msdn.microsoft.com/vstudio/us...ld12012004.asp

ok,
aq

"Shaul Dar" <sh******@gmail.com> wrote in message
news:23*************************@posting.google.co m...
Hi,

I am looking for help with the following challenge. We are writing a
Smart Client management application, which we want to appear to
customers as a Web client. Hence we want to embed it inside IE, but
are not sure technically how this may be done. Any ideas, pointers etc
will be appreciated.

BTW, on MSDN I only found general statements that this is possible,
e.g.
http://msdn.microsoft.com/library/de.../scag-ch01.asp "The .NET Framework provides a great deal of flexibility in how your
smart client applications can be hosted. Applications can be run as
traditional desktop applications or can be hosted within Office or
Microsoft Internet Explorer".

Thanks,

-- Shaul Dar

Email: Sh******@gmail.com

Jul 21 '05 #3
Wow! I didn't know you could embed controls inside IE! Sweet...

Intrigued and fascinated, I had to try it myself. It works, and performance
seems usable. Only libraries seem to work, however, not executables. And
only winform controls. No DirectX capabilities can be rendered within IE,
and there are certain GDI+ limitations.

My question is, why aren't more devs using this deployment method?

The article mentions the feasability of a chat client and goes on to say the
possibilities are endless..but I haven't seen any implementations thus far.
Does anyone know of examples where embedded IE winform control deployment is
used in the field?

ok,
aq

"Steven Spits" <no****@company.com> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
"Shaul Dar" wrote:
I am looking for help with the following challenge. We are writing a
Smart Client management application, which we want to appear to
customers as a Web client. Hence we want to embed it inside IE, but
are not sure technically how this may be done. Any ideas, pointers etc
will be appreciated.

http://www.devhood.com/tutorials/tut...=187&printer=t
BTW, on MSDN I only found general statements that this is possible,


As always, MSDN is right :-)

Steven

- - -

Jul 21 '05 #4
"Ahmed Qurashi" <ah**********@gmail.com> wrote in message
news:ua**************@TK2MSFTNGP15.phx.gbl...
Wow! I didn't know you could embed controls inside IE! Sweet...

Intrigued and fascinated, I had to try it myself. It works, and
performance
seems usable. Only libraries seem to work, however, not executables. And
only winform controls. No DirectX capabilities can be rendered within IE,
and there are certain GDI+ limitations.
You might find that some of these restrictions have to do with the fact that
..NET doesn't trust the library, due to the fact that it's been executed from
the Internet Zone. I haven't done this before, so I may be mistaken. However
I suggest you have a look at CAS (Code Access Security) for more
information. If you have some control over the client workstations, you can
configure them to trust your website, and possibly circumvent these
limitations.
My question is, why aren't more devs using this deployment method?


Basically there are three main options:
WebForms - Easy deployment, small download, requires connectivity, limited
UI
WinForms hosted in IE - Easy deployment, large download, requires
connectivity, rich UI
WinForms - More difficult deployment, large install, can operate offline,
rich UI

I think most devs are going for one of the two extremes.
Jul 21 '05 #5

"Sean Hederman" <us***@blogentry.com> wrote in message
news:cs**********@ctb-nnrp2.saix.net...
You might find that some of these restrictions have to do with the fact that .NET doesn't trust the library, due to the fact that it's been executed from the Internet Zone. I haven't done this before, so I may be mistaken. However I suggest you have a look at CAS (Code Access Security) for more
information. If you have some control over the client workstations, you can configure them to trust your website, and possibly circumvent these
limitations.

Running assemblies from a local server usually automatically places the
assembly within the Local Intranet Zone which can be granted Full Trust. For
testing purposes this is just fine...
Basically there are three main options:
WebForms - Easy deployment, small download, requires connectivity, limited
UI
WinForms hosted in IE - Easy deployment, large download, requires
connectivity, rich UI
WinForms - More difficult deployment, large install, can operate offline,
rich UI

I think most devs are going for one of the two extremes.


After additional testing of about a dozen different controls, I am beginning
to see why IE embedded WinForms are not a really viable alternative to the
Smart Client model. Most notable were anomolies in the browser rendering of
System.Window.Forms.Timer tick events which are crucial in animations for
that "rich" UI effect. Also, GDI+ bitmaps which render smoothly on client
forms, tend to get quite aliased in IE rendered controls. However, for
simple databound and text based controls, mostly it all clicked.

Overall, the user experience is less than "rich" and I'd say stick with the
two dominant models:
1. WebForms with client-side DOM scripting (and ActionScript Flash Remoting
when it becomes available)
2. ClickOnce WinForm deployment via IE created in VS2005

ok,
aq
Jul 21 '05 #6

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

Similar topics

2
by: Dave Bartlett | last post by:
I was wondering what most web hosting companies would think if I asked them to host a .NET executable application? Are they going to laugh me out the door, or can .NET code be suitably...
27
by: Susan Baker | last post by:
Hi, I'm just reading about smart pointers.. I have some existing C code that I would like to provide wrapper classes for. Specifically, I would like to provide wrappers for two stucts defined...
9
by: MaSTeR | last post by:
I want to stream data from a server, the client is a smart client it I want to be able to connect to a pc (eventually the pc it's been downloaded from). The problem as you might expect is that the...
5
by: Shaul Dar | last post by:
Hi, I am looking for help with the following challenge. We are writing a Smart Client management application, which we want to appear to customers as a Web client. Hence we want to embed it...
3
by: Marc Gravell | last post by:
Kind of an open question on best-practice for smart-client design. I'd really appreciate anyones views (preferably with reasoning, but I'll take what I get...). Or if anybody has any useful links...
2
by: Jeff | last post by:
Please note this is NOT a rant or complaint! And yes, I'm over-simplifying, but intentionally. Here goes... With ASP.NET Web applications I like that I can access data from anywhere without...
8
by: Axter | last post by:
I normally use a program call Doxygen to document my source code.(http://www.stack.nl/~dimitri/doxygen) This method works great for small and medium size projects, and you can get good...
10
by: Pieter Coucke | last post by:
Hi, What's in general the most performant for a VB.NET Windows Forms (2.0) application: - a fat client (everything one the client, the server hosts only the database) - a smart client (an...
2
by: thomas | last post by:
Hello All, The question may seem to be trivial, but I found it really was not, and I am hoping that someone who has done it could share his/her experience. How do I share my web application...
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...
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...
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)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.