paulti Posted March 20, 2007 Share Posted March 20, 2007 I'm currently testing an application written in VB6. Until yesterday I had no idea what to expect of AutoIt but having played one day with it, I am already thinking about getting myself a mug. My successful experience with a TreeView control (using Auto3Lib) convinced me that a MSFlexGrid control wouldn't be any problem. Unfortunately, I've had no luck until now. AutoIt Windows Info is showing me that some control that I want to interact with is of ClassNameNN: MSFlexGridWndClass1. I would like to get access to the rows and columns and read data from it. I have tried: ControlFocus($s_MainAppTitle, "", "MSFlexGridWndClass1") ControlClick($s_MainAppTitle, "", "MSFlexGridWndClass1")oÝ÷ Ù8b±éݲêlzW¶)ඬa®"l ®'AºØhÁƧ"·u©òu«Z~º&¶ ®'Séȶ¸t¸¬µXÀ£râm«¢+ØÀÌØí¡1½Ñ1¥ÍÐô ½¹Ñɽ±Ñ!¹± ÀÌØíÍ}5¥¹ÁÁQ¥Ñ±°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðí5M±áÉ¥]¹ ±ÍÌÄÅÕ½Ðì¤)}1¥ÍÑY¥Ý} ±¥%Ñ´ ÀÌØí¡1½Ñ1¥ÍаİÅÕ½Ðí±ÐÅÕ½Ðì°QÉÕ°Ä°Ä°±Í¤ Nothing happens. Anyone any suggestions how to tackle this? Link to comment Share on other sites More sharing options...
alcom Posted March 24, 2007 Share Posted March 24, 2007 ^bump ... looking for a way to read from msflexgrid too Link to comment Share on other sites More sharing options...
satishtanneru Posted August 2, 2007 Share Posted August 2, 2007 Even i am testing one application in vb. it has some links in flexgrid, autoit is not identifying them.So how to click on that links, Please help me asap Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 2, 2007 Share Posted August 2, 2007 I don't believe (but am not sure) that MSFlexGrid and MSHFlexGrid VB controls expose themselves to automation via the standard interfaces like User32.dll. If that's true, you have to figure out what the interface is (one VB website mentioned "vsflex3.ocx"?) and code AutoIt to use it via ObjCreate(), or DllCall().There is an AutoIt thread from over a year ago: COM help needed, MSFlexGrid-ControlThat looks to use ObjCreate() to connect to the interface and then standard AutoIt COM Object methods to work with it, but that is creating a control in an AutoIt GUI. It's over my head to see if you can connect to an existing VB app's MSFlexGrid controls that way.Maybe one of the smart people will step in and enlighten us both... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Patxi Posted February 23, 2017 Share Posted February 23, 2017 Why the code of first post is changed? Seem to be vandalized. Does anyone know why? Thanks Link to comment Share on other sites More sharing options...
spudw2k Posted February 23, 2017 Share Posted February 23, 2017 (edited) @Patxi The AutoIt forums have gone through several updates/conversions since the original posting of this thread. At some point, during one (or more) of the upgrades, there were some conversion issues/data corruptions. Considering the last post was in 2007, I doubt there are backups of the DB, but that's not something I have any insight into and I doubt the admins that may want to get in the business of recovery unless critical. I did a quick search on the forum for MSFlexGridWndClass1 and several threads came up. You might wan to check them out. Edited February 23, 2017 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
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