473,652 Members | 2,979 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 1276
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*********@DO NTwalchemSPAM.c om> wrote in message
news:O1******** ******@TK2MSFTN GP12.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******** ******@tk2msftn gp13.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*********@DO NTwalchemSPAM.c om> wrote in message
news:O1******** ******@TK2MSFTN GP12.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******** ******@tk2msftn gp13.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*********@DO NTwalchemSPAM.c om> wrote in message
news:O1******** ******@TK2MSFTN GP12.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
2433
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 and i got some problems with using ActiveX. Second question is how AxHost do it? I mean how he show Activex?
7
2719
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 pass the ActiveX variable into my ASP script. My code is as follows. Thanks. ----------------- activeX code: (I have this saved as activeX.asp which seems to work fine)
7
2815
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) My code is below. I am getting the following error "MyForm.oNetwork.Value is Null or is not an object". I'm struggling to diagnose what to do next. I'd very much appreciate some help Many thanks <HTML><BODY><FORM NAME="MyForm"...
4
2686
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 able to run ActiveX control". So, the ActiveX control just show on the broswer, but not able to run it. I want to find a way to detect it. And prompt the user a message telling
2
6082
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. Now, all i want to do is disable the button & change the text while the activex is loading. now, the code below should work, but what i'm seeing is that the js doesn't even start executing until the activex is loaded. so, what i'm expecting is...
11
3630
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
1615
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 configuration (All the most up to date versions except for Visual C++): Windows XP (Home Edition).
1
6830
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 somewhere? Is it hard coded, or can you edit it? Also, is there a way for the script to ask the user if they want to change the security setting to allow the ActiveX control to be used? For example, if "Initialize and script ..." is marked...
1
1651
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 licensed. I want to check a specified activeX control whether it is licensed or not before adding ut to the WindowsForm. How can i check an ActiveX control whether it is licensed or not on runtime?????
1
2441
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?) interfaces using OLE/COM viewer. I tried to get the IUnknown interface of the control through IAccessibleFromWindow and it seems possible. But when I query IUnknown interface for another (coclass?) interfaces (for instance IGrid for MSDataGrid) it...
0
8367
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8279
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8703
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
8467
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
7302
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
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
5619
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
4145
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...
1
2703
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.