Jump to content

OLE QUESTION


Recommended Posts

Hello

I have a few questions

How do i use a VB5/6 OLE Active X .OCX in AutoItX3.dll with AutoIt?

How do i make The Active X control resize with the window?

like this VB6 exe

http://ff24eva.0adz.com/vbp.7z

Is There an good visual IDE for AutoIt WITH OLE Active X support

WHAT Info does AutoItX3.dll need to load an OLE COM ACTIVE X OCX

does it need

File name

Clsid

Control ID

Same as in VB5 and VB6

Or Does it need more or less info

I Am hoping to convert some small VB5/6 and VBA apps into auto it

Link to comment
Share on other sites

How do i make The Active X control resize with the window?

 

#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 518, 443, 192, 124, BitOR($WS_MAXIMIZEBOX,$WS_MINIMIZEBOX,$WS_SIZEBOX,$WS_THICKFRAME,$WS_SYSMENU,$WS_CAPTION,$WS_OVERLAPPEDWINDOW,$WS_TILEDWINDOW,$WS_POPUP,$WS_POPUPWINDOW,$WS_GROUP,$WS_TABSTOP,$WS_BORDER,$WS_CLIPSIBLINGS))
$Obj1 = ObjCreate("MSComctlLib.ListViewCtrl.2")
$Obj1_ctrl = GUICtrlCreateObj($Obj1, 48, 40, 428, 282) ;the object
GUICtrlSetResizing(-1, $GUI_DOCKAUTO)                  ;this is for resizing
$Edit1 = GUICtrlCreateEdit("", 48, 360, 425, 49)       ;some control
GUICtrlSetData(-1, "Edit1")
GUICtrlSetResizing(-1, $GUI_DOCKAUTO)                  ;this resizes too
GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

Is There an good visual IDE for AutoIt WITH OLE Active X support

Use Koda (is in AutoIt prog. dir\Scite\)

[EDIT]: I didn't use your activex because I'm not at my computer, but I will try it.

Edited by taietel
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...