473,503 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ActiveX, plug-in...whatever

The other day I posted a question about using ActiveX in my project.....
obviously, that's not the best solution. But I found this great article on
what the author calls rich-client which does EXACTLY what I'm looking for.
Being able to show a windows form in an IE window!
http://msdn.microsoft.com/msdnmag/is...h/default.aspx

Unfortunately, some of the terminology is over my head and it's in C#...I'm
a VB person. Could anyone explain how this is done or point me somewhere
that does this? I will admit, I can be quite dumb some days and learn best
by a nice step-by-step example.

Thanks for your help.

-Rob T.
Nov 19 '05 #1
3 1270
you can now write an active/x control in .net and download to the browser.
there are serveral rules involved:

1) the client must have the .net framework installed already (gennerally you
need 1.1 installed)
2) the code dll or cab file must be signed
3) the user must allow active/x controls in the browser
4) because the control is written in .net, hosted by unmanged code, it runs
in a special security envoriment, and unlike a normal active/x control will
be restricted to what it can do (no access to the disk, other website other
than the one downloaded from, etc).
5) IE only.
6) when the page first loads the control, it must load the .net runtime, and
load an appdomain. this can take several seconds, up to minute or more. so
you don't want to do this for a trival control.

in general use this techonolgy where you would use a large java applet.

-- bruce (sqlwork.com)

"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
| The other day I posted a question about using ActiveX in my project.....
| obviously, that's not the best solution. But I found this great article
on
| what the author calls rich-client which does EXACTLY what I'm looking for.
| Being able to show a windows form in an IE window!
| http://msdn.microsoft.com/msdnmag/is...h/default.aspx
|
| Unfortunately, some of the terminology is over my head and it's in
C#...I'm
| a VB person. Could anyone explain how this is done or point me somewhere
| that does this? I will admit, I can be quite dumb some days and learn
best
| by a nice step-by-step example.
|
| Thanks for your help.
|
| -Rob T.
|
|
Nov 19 '05 #2
Thanks for the response Bruce. I'm aware of these 'restrictions'. I guess
my real question is how do I create the class with the windows form in it?
If I were to crate a new project from scratch, what type of project template
should I use? Are there any existing VB example out there I can pick
through? I'm basically looking for a good How-To on it.

Thanks again.
"bruce barker" <no***********@safeco.com> wrote in message
news:em**************@tk2msftngp13.phx.gbl...
you can now write an active/x control in .net and download to the browser.
there are serveral rules involved:

1) the client must have the .net framework installed already (gennerally
you
need 1.1 installed)
2) the code dll or cab file must be signed
3) the user must allow active/x controls in the browser
4) because the control is written in .net, hosted by unmanged code, it
runs
in a special security envoriment, and unlike a normal active/x control
will
be restricted to what it can do (no access to the disk, other website
other
than the one downloaded from, etc).
5) IE only.
6) when the page first loads the control, it must load the .net runtime,
and
load an appdomain. this can take several seconds, up to minute or more. so
you don't want to do this for a trival control.

in general use this techonolgy where you would use a large java applet.

-- bruce (sqlwork.com)

"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
| The other day I posted a question about using ActiveX in my project.....
| obviously, that's not the best solution. But I found this great article
on
| what the author calls rich-client which does EXACTLY what I'm looking
for.
| Being able to show a windows form in an IE window!
| http://msdn.microsoft.com/msdnmag/is...h/default.aspx
|
| Unfortunately, some of the terminology is over my head and it's in
C#...I'm
| a VB person. Could anyone explain how this is done or point me
somewhere
| that does this? I will admit, I can be quite dumb some days and learn
best
| by a nice step-by-step example.
|
| Thanks for your help.
|
| -Rob T.
|
|

Nov 19 '05 #3
Hi ,
Why dont use some of the code converters from C# to vb.net ??
I think by doing this it would be easier for you to understand the code.

Thanks
"Rob T" wrote:
Thanks for the response Bruce. I'm aware of these 'restrictions'. I guess
my real question is how do I create the class with the windows form in it?
If I were to crate a new project from scratch, what type of project template
should I use? Are there any existing VB example out there I can pick
through? I'm basically looking for a good How-To on it.

Thanks again.
"bruce barker" <no***********@safeco.com> wrote in message
news:em**************@tk2msftngp13.phx.gbl...
you can now write an active/x control in .net and download to the browser.
there are serveral rules involved:

1) the client must have the .net framework installed already (gennerally
you
need 1.1 installed)
2) the code dll or cab file must be signed
3) the user must allow active/x controls in the browser
4) because the control is written in .net, hosted by unmanged code, it
runs
in a special security envoriment, and unlike a normal active/x control
will
be restricted to what it can do (no access to the disk, other website
other
than the one downloaded from, etc).
5) IE only.
6) when the page first loads the control, it must load the .net runtime,
and
load an appdomain. this can take several seconds, up to minute or more. so
you don't want to do this for a trival control.

in general use this techonolgy where you would use a large java applet.

-- bruce (sqlwork.com)

"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
| The other day I posted a question about using ActiveX in my project.....
| obviously, that's not the best solution. But I found this great article
on
| what the author calls rich-client which does EXACTLY what I'm looking
for.
| Being able to show a windows form in an IE window!
| http://msdn.microsoft.com/msdnmag/is...h/default.aspx
|
| Unfortunately, some of the terminology is over my head and it's in
C#...I'm
| a VB person. Could anyone explain how this is done or point me
somewhere
| that does this? I will admit, I can be quite dumb some days and learn
best
| by a nice step-by-step example.
|
| Thanks for your help.
|
| -Rob T.
|
|


Nov 19 '05 #4

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

Similar topics

2
2418
by: Kuba Florczyk | last post by:
Hi Do anybody know how to show ActiveX whitout AxHost? For example i got wrapper to ActiveX and now i don't know how AxHost shows ActiveX. I must do it, because i think AxHost made it wrong...
7
2708
by: Newbie | last post by:
Hi all, I have some activeX code that I use to get the local computer name. (I don't think this is possible using ASP from my research). The rest of my code is ASP. I'd like to know how to...
7
2809
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
4
2680
by: SiuLoBow | last post by:
Hi, Is there anyway to detect the ActiveX control is able to run on the browser or not? After I installed the ActiveX control to my system, user sometimes switch the secruity setting to "not...
2
6073
by: Grant H. | last post by:
hi all, i have a strange problem here & i'm not sure how to go about fixing it. Basically, I have a page with an activex control that gets launch with JS when a user clicks a "connect" button....
11
3609
by: Dave | last post by:
I have this sample HTML code: <html> <head> <script type="text/javascript"> var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1"); </script> </head>
1
1598
by: John Gabriel | last post by:
I have set up a website and am testing ASPs. I have created a very simple ActiveX component with two interfaces: AboutBox() - displays About details calcpi() - returns 3.14159 Here is my...
1
6808
by: UnaCoder | last post by:
Hi, I noticed that this particular object is only accessable if the IE security setting "Initialize and and script ActiveX controls not marked as safe" is enabled. Does windows maintain this list...
1
1643
by: Melisa | last post by:
Hi I have a list of all activeX controls registered on my system. When i add one of these activeX controls to Windows Form on runtime , an exception is thrown if this activeX control is not...
1
2432
by: mierzej | last post by:
Hi everybody. My problem is - I want to take control over an ActiveX control of another running process. All I can obtain is a hwnd of the mentioned control. I can explore the control (coclass?)...
0
7199
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
7274
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,...
0
7323
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...
1
6984
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...
0
7453
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...
1
5005
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...
0
4670
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...
0
3151
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
377
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.