Link to home
Start Free TrialLog in
Avatar of AArnie
AArnie

asked on

Creating an ActiveX / OCX file - where do I start.

Hi,

I have a form that lets me capture video from my web camera.

Where do I need to start looking to be able to run this in a web page?

For example I load the web page, I get prompted to install/download the ActiveX control, and then i can capture/view footage via the web page buttons.

The post

Solution Title: ACTIVEX CONTROL FROM AN HTML PAGE
Author: const71
Points: 50   Grade: A
Date: 11/27/2003 10:53AM PST

has what i think the HTML may resemble <Object> <params> codebase cab files etc....

I not sure where to start? - Not sure what the "buzz words" are for this one  (Plug-in ActiveX/OCX - Install on demand?)

Am I making sense?

AArnie
Avatar of RanjeetRain
RanjeetRain

You need to use the <OBJECT> tag of HTML to do so.
Official refrence to use Object Tag of HTML:

http://www.w3.org/TR/REC-html40/struct/objects.html
Avatar of AArnie

ASKER

ok I'll take a look at the url....

My current vb app is a plain vbp (Standard .exe). Can I just reference this in the web page? or do I have to create it with special parameters in vb? (ActiveX EXE - ActiveX DLL - ActiveX Control - ActiveXDocument DLL - ActiveX Docement EXE)?

Any pointers to getting started with ActiveX controls? I've only ever made basic standard .exes

Thanks

AArnie.
You must rebuild the application as an ActiveX control. You will also have to fish out its CLSID from the registry before you can use it in your web page.
Avatar of AArnie

ASKER

I found this on the microsoft site and it contains pretty much all I was after.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaxctrl/html/msdn_actxcont.asp

Thanks anyway.

AArnie
AArnie,

did my comments lead you in the right direction?
Avatar of AArnie

ASKER

Lunchy,

I don't think I can award RanjeeRain 200 points for the answers given, but I would appreciate it if you could award 50 points for responding/giving me a nudge in the general direction.

Thanks anyway RanjeeRain,

Cheers.

AArnie.
I suggest the question be packed at 0 points.
ASKER CERTIFIED SOLUTION
Avatar of Lunchy
Lunchy
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial