473,399 Members | 3,832 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,399 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 3280
"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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.