PINGASOCTOROCK Posted June 17, 2010 Posted June 17, 2010 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
taietel Posted June 20, 2010 Posted June 20, 2010 (edited) 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 June 20, 2010 by taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now