Thread: how to set parameter for activex control.

  1. #1
    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

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    I would think they would be exposed as properties or functions of the class.
    Woop?

Popular pages Recent additions subscribe to a feed

Similar Threads

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