Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / April 2004

Tip: Looking for answers? Try searching our database.

Loading an ocx ActiveX control from a webcam

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce Chastain - 28 Mar 2004 18:54 GMT
I have a webcam, a D-Link DCS-900.  It's an Ethernet camera that has built
in HTML web pages.  When I access it, it gives me the option of video the
video using either Java, or an ActiveX control called xplug.ocx.  The
problem is that while the Java control works, the ActiveX control doesn't,
at least not automatically.

If I download the xplug.ocx from D-link and run the installer, then whatever
PC I've installed it on now works and can see the webcam video.  However,
any other PC is still limited to Java unless they do the same installation,
for which nothing on the webpage indicates how to accomplish that.  I want
to make the downloading of the xplug.ocx automatic, which is what I can't
see to do.

The camera web pages do have a field that allows me to enter a (web) path to
the xplug.ocx ("Loading ActiveX From"), but apparently there are special
rules that I don't know enough to master.  The instructions say this:

Loading ActiveX From:
This field is used to specify the location of Xplug Control (ActiveX)
plug-in program. Enter the information as required in .ocx format, for
example: http://www.<your company>.com/ xplug.ocx where <your company> must
be replaced with your company's DNS server.

---------------
Installation:
Copy the "xplug.ocx" file to any Web Server table. Note the file location so
that you can use it in the next step.

Configuration:
From the Web Configuration menu, select "System" and
ActiveX From" input web server location, type:
http://www.web server location.com/.

Important Information
It is highly recommended to install the Xplug Control application for
Internet Explorer 5.0. It must be installed to a Public Domain Address.
---------------

Now here's the deal.  The chances of getting my ISP to load xplug.ocx in
their "Web Server Table" (
what ever that is) is virtually zero.  I don't have access at home because
all my PCs are XP Home.

Does anyone have any suggestions, or know a public web server that I could
set the "Loading ActiveX From" that already has the xplug.ocx loaded that I
could set in my camera?  You'd think D-Link would have such a path
considering they sell the camera, but I can't find anything like that.

Anyone been through this before?

Thanks for any help!
Bruce.
Exponent - 29 Mar 2004 12:50 GMT
>Now here's the deal.  The chances of getting my ISP to load xplug.ocx in
>their "Web Server Table" (what ever that is) is virtually zero.

If you can place html files and images etc on your webserver (and if you can't it wouldn't be much use)
then you should be able to place this .ocx file there.  Usually this is done with ftp, and it should not
require any involvement from the ISP, nor any 'special' features or capabilities.  Then you just need to
enter the address where you uploaded the file into the configuration screens, and it will presumably generate
a 'codebase' value in the html page's object tag for the control.  

Note that this newsgroup relates to the Microsoft Access database product - your question might be better
posted elsewhere.
--
_______________________________________________________
http://www.ammara.com/  
Image Handling Components, Samples, Solutions and Info
DBPix 2.0 - lossless jpeg rotation, EXIF, asynchronous

>I have a webcam, a D-Link DCS-900.  It's an Ethernet camera that has built
>in HTML web pages.  When I access it, it gives me the option of video the
[quoted text clipped - 48 lines]
>Thanks for any help!
>Bruce.
Bruce Chastain - 29 Mar 2004 20:10 GMT
> If you can place html files and images etc on your webserver (and if you can't it wouldn't be much use)
> then you should be able to place this .ocx file there.  Usually this is done with ftp, and it should not
> require any involvement from the ISP, nor any 'special' features or capabilities.

This webcam provides all the web pages, as well as real time streaming
video, using either a java or activex control remotely.  Since this is live
video, trying to keep a current image on a web server (especially in a no
remote users situation) would mean a ton of unnecessary bandwidth, as well
as an additional image latency.  So I don't see that as practical or
workable solution.

Also, since I have XP home on all my PCs, I don't believe I have the ability
to create a web server.

> Note that this newsgroup relates to the Microsoft Access database product - your question might be better
> posted elsewhere.

Oops.  I guess I should have guessed that "access" meant "MS Access".  But
I've been unable to find a better group for a activex specific question.
Any suggestions on one that would be more appropriate?

Thanks again.
Bruce.
Exponent - 30 Mar 2004 10:08 GMT
I don't really see what you mean by 'keep a current image on a web server' or why it would use a 'ton of
unnecessary bandwidth'.  You just need to have the .ocx file in an accessible location from where it can
be downloaded and installed if required.  This would usually only happen once (thereafter the control is
installed, and does not need to be downloaded again).

You may be able to use a unc path for this, such as:

file://server/share/xplug.ocx
or
//server/share/xplug.ocx

Alternatively, find some (free or other) web space where you can store the file.

For more information, take a look at the source of the generated web pages; I expect that you would see
the path you entered as a 'codebase' property - you can then search for documentation on codebase.  

--
_______________________________________________________
http://www.ammara.com/  
Image Handling Components, Samples, Solutions and Info
DBPix 2.0 - lossless jpeg rotation, EXIF, asynchronous

>> If you can place html files and images etc on your webserver (and if you
>can't it wouldn't be much use)
[quoted text clipped - 23 lines]
>Thanks again.
>Bruce.
Bruce Chastain - 03 Apr 2004 15:08 GMT
> I don't really see what you mean by 'keep a current image on a web server' or why it would use a 'ton of
> unnecessary bandwidth'.  You just need to have the .ocx file in an accessible location from where it can
> be downloaded and installed if required.

Sorry.  I misunderstood what you were suggesting.

> You may be able to use a unc path for this, such as:
>
> file://server/share/xplug.ocx
> or
> //server/share/xplug.ocx

I had tried ftp and the //server type path too and couldn't make that work
either.

The good news is that I got the tip I needed from reading countless Google
hits.  Another webcam maker had the tip I needed, and now it works.  This
doesn't work:

http://www.mydomain.com

But this does:

http://www.mydomin.com/

Yep, the Dlink webcam needed the final slash.

Thanks again for replying and I'm sorry I misunderstood your suggestion.

Bruce,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.