Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

How do I interface to ActiveX controls?

If you are using ActiveX controls in a web page, how do you know what methods are available from the control to move data to and from the object? If there is no documentation for the control how can you dynamically pass data to and from it? I'd like to use the control aong with some scripting to get information from a user and update other controls on the page but don't understand how to access data or even dynamically change default settings that are displayed on the control.
0
JagerM
Asked:
JagerM
  • 2
1 Solution
 
WynCommented:
If you dont have corresponding documents for this activex control,you'd try to browser it by tools like OLE-COM object viewer accompanied with VC or harder view it by programming through TYPE LIBRARY's coresponding Interfaces manually(not a trivial task!) .
However,this needs the Activex contains a type library by whatever means(through .tlb or contained inn .dll as resource).
Otherwise,You have no way:(

Activex like a black-box.You'v got to have info describing them.

Regards
W.Yinan

0
 
WynCommented:
However,The omniopresent interface IUnknown alwasy exists but has no use for you.
0
 
JagerMAuthor Commented:
Even Microsoft's common ActiveX controls have no real method documentation? I can't fill in nodes of a tree control? Extract data from an Excel spreadsheet control?
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now