C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-13-2009, 02:43 AM   #1
sgh
Registered User
 
Join Date: Apr 2008
Posts: 58
how to set parameter for activex control.

hi, i'm working in vs2005.
i bought ip camera and i wanna develop my program to use activex control(.ocx) in software.
it works in html when i set parameter in html code like this...
<OBJECT ID="IPCam_Plugin" CLASSID=clsid:b015b944-7316-49ae-ac84-acca9379ea32 ALIGN="CENTER" WIDTH="320" HEIGHT="240" Codebase="/IPCamPluginMJPEG.cab#version=1,0,7,0">
<PARAM name="IP" value="192.168.1.200">
<PARAM name="Port" value="5150">
<PARAM name="Login" value="5BBB31144D">
<PARAM name="Password" value="E39FACB1A2">
<PARAM name="Code" value="899EDF974454DDB53917AD">
<PARAM name="Debug" value="0">
</OBJECT>
....
but i want to use application in this control.
when i add activex control in vs2005, i can see message to set parameter for this ocx.
how can i fix it?
can i get snippet code?
and any suggestion will be welcome.
best regards.
so
sgh is offline   Reply With Quote
Old 06-13-2009, 02:46 AM   #2
Sweet
 
Join Date: Aug 2002
Location: Tucson, Arizona
Posts: 1,678
I would think they would be exposed as properties or functions of the class.
__________________
Woop?
prog-bman is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Help - Problem with Compilers toonlover C++ Programming 5 07-23-2005 10:03 AM
tab control tyouk Windows Programming 6 02-07-2005 11:47 PM
"if you love someone" :D Carlos A Brief History of Cprogramming.com 12 10-02-2003 01:10 AM
problem with open gl engine. gell10 Game Programming 1 08-21-2003 04:10 AM
My graphics library stupid_mutt C Programming 3 11-26-2001 06:05 PM


All times are GMT -6. The time now is 06:08 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22