473,951 Members | 16,311 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embedding Windows/smart client controls in a Web Controls page

I would like to embed a windows controls or smart client controls in a web
page, in a similar way to which a java applet or a flash applet or an active
x control is embedded. I read something somewhere about compiling the
control to a dll, and then putting this dll in the web server directory, and
setting the classid to the url to this.

Is there a way of doing this all automatically as part of one project, or
one solution?

Also, is there a way of selecting a different version (smart client or
windows control) depending on the PC viewing the page. I was thinking of
something that detects the version of the browser (ie. looking for pocket
internet explorer or normal internet explorer).

Thanks,
Martin

--
Martin Eyles
ma**********@NO SPAM.bytronic.c om
Nov 19 '05 #1
2 1440
for a window control, you can add the dll project to your web app sln, set a
reference to in the web project, so the dll is copied to your bin by VS.
there are a couple of issues with this:

1) the user must install the .net framework (22mb download)
2) the page will take a while to render because the page must load the .net
vm, create an app domain, and load the dll.

-- bruce (sqlwork.com)
"Martin Eyles" <ma**********@N OSPAM.bytronic. com> wrote in message
news:11******** *****@corp.supe rnews.com...
| I would like to embed a windows controls or smart client controls in a web
| page, in a similar way to which a java applet or a flash applet or an
active
| x control is embedded. I read something somewhere about compiling the
| control to a dll, and then putting this dll in the web server directory,
and
| setting the classid to the url to this.
|
| Is there a way of doing this all automatically as part of one project, or
| one solution?
|
| Also, is there a way of selecting a different version (smart client or
| windows control) depending on the PC viewing the page. I was thinking of
| something that detects the version of the browser (ie. looking for pocket
| internet explorer or normal internet explorer).
|
| Thanks,
| Martin
|
| --
| Martin Eyles
| ma**********@NO SPAM.bytronic.c om
|
|
Nov 19 '05 #2
I tried this, but the dll doesn't load up. I then tried putting the dll in
the url bar in internet explorer. It gives the following error:

An exception 'System.Securit y.SecurityExcep tion' has occured in IEExec.exe.

Has anyone got any ideas how to solve this problem

Thanks,
Martin

--
Martin Eyles
ma**********@NO SPAM.bytronic.c om

"bruce barker" <no***********@ safeco.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
for a window control, you can add the dll project to your web app sln, set a reference to in the web project, so the dll is copied to your bin by VS.
there are a couple of issues with this:

1) the user must install the .net framework (22mb download)
2) the page will take a while to render because the page must load the ..net vm, create an app domain, and load the dll.

-- bruce (sqlwork.com)
"Martin Eyles" <ma**********@N OSPAM.bytronic. com> wrote in message
news:11******** *****@corp.supe rnews.com...
| I would like to embed a windows controls or smart client controls in a web | page, in a similar way to which a java applet or a flash applet or an
active
| x control is embedded. I read something somewhere about compiling the
| control to a dll, and then putting this dll in the web server directory,
and
| setting the classid to the url to this.
|
| Is there a way of doing this all automatically as part of one project, or | one solution?
|
| Also, is there a way of selecting a different version (smart client or
| windows control) depending on the PC viewing the page. I was thinking of
| something that detects the version of the browser (ie. looking for pocket | internet explorer or normal internet explorer).
|
| Thanks,
| Martin
|
| --
| Martin Eyles
| ma**********@NO SPAM.bytronic.c om
|
|

Nov 19 '05 #3

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

Similar topics

5
3328
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 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.
18
2021
by: jayderk | last post by:
a customer was trying to install some of our software after they installed the windows XP service pack 2 and he is getting a message that says something about it not being compatable with windows XP? we have our software on thousands of XP boxes and have not had a problem up to this point. Any Clues/suggestions on what it could be? Regards, Jay
9
2834
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am facing. Please please help me to solve this as soon as possible. So here we go ... I am not able to take the screen shot of the windows form based "Smart
2
2415
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 installing anything on the client (but I hate HTML and markup in general and it's limitations, the request/response model, state management, etc). AFAIK, Smart apps or smart clients or whatever we call them are simply variations of Web applications...
1
2448
by: HM | last post by:
Hi, I have an existing web application in ASP/VB which uses OCX controls. I want to replace them with a Smart client solution, but I do not want to change the whole application at the first go. First I want to change my Local OCX control and replace it with a smart client. Is there any way the smart client can be called form a web application? Also please suggest me a good site where I can see some examples and build a smart client...
7
4412
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
4
4029
by: Pini | last post by:
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?
5
3426
by: Anil Gupte | last post by:
How do I embed Windows Media Player so I can control it with VB code. I am familiar with embedding in a web page like this: *************** <embed src="Test.asx" width=320 height=300 autostart=True type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="MediaPlayer1" showcontrols=1 showstatusbar=1</embed> **************** I have also created a WM Player control in a VB Windows Application. But
1
11640
by: SeanBoyWalton | last post by:
Hi, I'm currently trying to build a website for a DJ friend of mine and I have come stuck with a couple of issues. I've searched everywhere and put some code together but I still have problems. I want to be able to map controls of the media player to images on the page ie - when user clicks play image - song plays. I can currently get it working in IE but I can't get it to work in Firefox. Problems: 1. The buttons (image buttons)...
0
11607
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11201
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11378
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10704
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8271
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7445
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6237
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6359
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4968
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.