Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "ActiveX" in [All]

ole32

.

       /// Creates a bitmap from the supplied ActiveX control using OleDraw

user32

.

An example of this that I have encountered is using the FarPoint Spread 3.0/6.0 ActiveX controls. These controls will throw a Runtime protected memory violation exception if they are hosted in a WinForms Form, instantiated and then the Form.MDIParent property is set to an MDI container Form but using the SetParent(childForm.Handle, Me.Handle) call works.

Enums

.

        FEATURE_RESTRICT_ACTIVEXINSTALL = 10,

4: SBSP
.

    SBSP_TRUSTEDFORACTIVEX = 0x10000000,

misc

5: FAQ
.
Question

Interfaces

.

interface ActiveX {

.

Interface ActiveX

.
Documentation
[ActiveX] on MSDN
.

This sample uses IInternetSecurityManager within an ActiveX control to determine the Zone from which the web page hosting the control is loaded. If the Zone is not My Computer, a flag is thrown indicating the zone is not safe. This is useful for cases where you want to mark a control as safe for scripting, but you want to limit the zones in which it is allowed to run or to perform certain actions, something IE security does not allow. Note that you will need to add shdocvw.dll as a reference within your project, and that you should set "Register for COM Interop" to True in Project Properties | Configuration Properties | Build.

.

I haven't been able to get this to work at all in JavaScript unless the ActiveX control in is object tags.

.

So, even if your ActiveX control doesn't have any UI, don't do this:

.

  MyObject = new ActiveXObject("IEZoneSecurity.ZoneSecurityDemo");

.

    ActiveXScriptletRun = unchecked((int)0x00001209),

.

    DownloadUnsignedActiveX = unchecked((int)0x00001004)

.

    ActiveXScriptletRun = 4617

.

    DownloadUnsignedActiveX = 4100

.
Summary
IObjectSafety is used to mark ActiveX Controls safe for scripting.
.

            //Get a IOLECommandTarget object form the ActiveX control

.

        axWebBrowser = (SHDocVw.IWebBrowser2)webBrowser.ActiveXInstance;

.
Summary
enables applications to implement an instance of the WebBrowser control (Microsoft® ActiveX® control) or control an instance of the InternetExplorer application (OLE Automation).
.
Summary
enables applications to implement an instance of the WebBrowser control (Microsoft® ActiveX® control) or control an instance of the InternetExplorer application (OLE Automation).

oleacc

.

// Get the ActiveX interface of some window of class "Internet Explorer_Server"

Structures

.
Summary
.

        //        [in]    LayoutDesign.CtlLayout (ActiveX control)

.

        // An ActiveX control returns a handle to a LOGFONT in unmanaged global mem.

.

        //        [out]    LayoutDesign.CtlLayout (ActiveX control)

.

        // Use the ActiveX's global memory.

.

        // Update the ActiveX control.


 
Access PInvoke.net directly from VS: