Re: how to access ActiveX Control frm VC
- From: srmjothi@xxxxxxxxx (JothiKumar)
- Date: 8 Apr 2005 05:13:16 -0700
Hi,
I can not include the ActiveX Control in my application. Bcs the
ActiveX i am developing is available in the server side.
My project implementation is like this. Server having ActiveX Control
& other components. ActiveX can be downloaded to the Client PC in
"..\Winnt\Downloaded ProgramFiles" path & components to the installed
path while accessing server from Internet Explorer.
While closing the Internet Explorer delete all components installed
related to the ActiveX control. Incase any hang or improper power
failure, i am not removing the compnents installed in the Client
PC.(upto this working fine)
After reboot of Client PC, I would like to delete the installed
components present in the PC. I am detecting the reboot is due to
improper shutdown or not during next boot using registry key i am
creating & using RunOnce key for further proceeding.
I would like to implement a small application(Instead of HTML code to
access ActiveX) to access ActiveX Control to delete the component
present in the PC. Everything i would like to implement in the ActiveX
instead in plain Application. Implementation of this in ActiveX
Control is over. Only i have to access this function from a VC++/C++
application. Give me some idea on this.
Is it possible to access the ActiveX Control without embedding ActiveX
control in an Application? How can i proceed?
I can implement the same functionality in a java script code & run in
startup. But it is not a proper solution. so i am looking a way to do
this.
Regards,
srmjothi
"Phlip" <phlip_cpp@xxxxxxxxx> wrote in message news:<13ZXd.8080$DW.1839@xxxxxxxxxxxxxxxxxxxxxxxxxx>...
> JothiKumar wrote:
>
> > How do i access ActiveX Contol from an VC++ Application.
> > I know how to access frm HTML(frm Browser)
>
> Google for "~ActiveX Template Library".
>
> Then compile #import "myControl.dll"
>
> That will produce TLI and TLH files. Read them.
>
> Then use the ATL wrappers on CoCreateInstance() and IIRC QueryInterface() to
> activate an object in your COM server, and get one of its interfaces.
>
> You are looking at the raw mechanics of dynamically typed object
> orientation, strapped onto C++ while using ugly but portable mechanics.
.
- Prev by Date: Re: Determining MS Office docs
- Next by Date: Help me in finding a combination
- Previous by thread: UNIX Script To Remove Hosts from Hosts file
- Next by thread: Help me in finding a combination
- Index(es):
Relevant Pages
|
Loading