Solved

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

Posted on 2003-11-27
11
406 Views
Last Modified: 2010-05-01
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
0
Comment
Question by:AArnie
  • 5
  • 3
11 Comments
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 9834171
You need to use the <OBJECT> tag of HTML to do so.
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 9834177
Official refrence to use Object Tag of HTML:

http://www.w3.org/TR/REC-html40/struct/objects.html
0
 

Author Comment

by:AArnie
ID: 9836331
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.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 19

Expert Comment

by:RanjeetRain
ID: 9836373
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.
0
 

Author Comment

by:AArnie
ID: 9845331
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
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 9846078
AArnie,

did my comments lead you in the right direction?
0
 

Author Comment

by:AArnie
ID: 9846266
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.
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 9866793
I suggest the question be packed at 0 points.
0
 
LVL 2

Accepted Solution

by:
Lunchy earned 0 total points
ID: 9866843
PAQed, with points refunded (200)

Lunchy
Friendly Neighbourhood Community Support Admin
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Script Host failed (Access is denied.) error 6 153
Access 2013 combo box not working 3 45
Exit a vb6 apps when a calling it apps closes 15 49
Spell Check in VB6 13 114
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question