469,898 Members | 1,591 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

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 1268
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Shaul Dar | last post: by
18 posts views Thread by jayderk | last post: by
1 post views Thread by HM | last post: by
7 posts views Thread by Jarod_24 | last post: by
4 posts views Thread by Pini | last post: by
5 posts views Thread by Anil Gupte | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.