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

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**********@NOSPAM.bytronic.com
Nov 19 '05 #1
2 1391
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**********@NOSPAM.bytronic.com> wrote in message
news:11*************@corp.supernews.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**********@NOSPAM.bytronic.com
|
|
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.Security.SecurityException' has occured in IEExec.exe.

Has anyone got any ideas how to solve this problem

Thanks,
Martin

--
Martin Eyles
ma**********@NOSPAM.bytronic.com

"bruce barker" <no***********@safeco.com> wrote in message
news:%2****************@TK2MSFTNGP12.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**********@NOSPAM.bytronic.com> wrote in message
news:11*************@corp.supernews.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**********@NOSPAM.bytronic.com
|
|

Nov 19 '05 #3

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

Similar topics

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...
18
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...
9
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...
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...
1
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....
7
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...
4
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...
5
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...
1
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. ...
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
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?
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
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.