Re: how to access ActiveX Control frm VC



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



Relevant Pages

  • Re: can .net activex communicate with database using ASP.net/ADO
    ... Another approach would be to write a web service sitting on the server that does the query to the database. ... The activex control can query the webserice using xmlhttp or something similar. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Active X error attempting to connect to RDP through RWW
    ... I understand that when you select a computer in RWW ... browser is going to attempt to download a Microsoft Remote Desktop ActiveX ... Remote Web Workplace requires the Microsoft Remote Desktop ActiveX control. ... Your browser's security settings may be preventing you from downloading the ...
    (microsoft.public.windows.server.sbs)
  • RE: Active X error attempting to connect to RDP through RWW
    ... message about IE not allowing the installation of Activex and shows a problem ... Remote Web Workplace requires the Microsoft Remote Desktop ActiveX control. ... Your browser's security settings may be preventing you from downloading the ... Please note that you need to be a local admin to install Active X controls. ...
    (microsoft.public.windows.server.sbs)
  • Re: Dynamically creating an ActiveX on a WPF/Windows .Net app
    ... ActiveX control and exposes them as a fully featured Windows Form ... Below is the early binding code generated by the designer to use the ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • Re: .ocx with ASP.NET
    ... An ActiveX Control is an application running on the client. ... there are some tricks you can do on the server side to ...
    (microsoft.public.dotnet.framework.aspnet)

Loading