Jump to content

Gollum

Active Members
  • Posts

    24
  • Joined

  • Last visited

Gollum's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Just what I wanted, thanks for sharing.
  2. It can be frustrating when something that's blindingly obvious to others doesn't seem so when you first try to understand what's required/needed. Yes you have to create/download the file/function - it is an UDF "add on" - it's not included in your normal library of function includes. You can put it in the same directory as your script and use #include "ControlSendPlus" or preferably in your AutoIt3/include directory and use #include <ControlSendPlus> It's been around for a while and so is mentioned all over the place, but a search found one thread that may help. The original thread that contained the download link to ControlSendPlus (written by SlimShady) is his collection of helper functions P.S. Newbie advice to other newbies sometimes just makes things worse
  3. Like the update, classy
  4. Cpuldn't keep away, had to find how this got solved. Damn clever solution MHz
  5. Yeah, sorry, was so intent on solution I forgot you're using beta only. I'll slink away now.
  6. Oops me and my big mouth :"> This get me the GUI up and running Func ODBCsources($h_controlID, $s_RegEntry, $s_Type) Local $s_List, $i_dsncount, $s_VarNm, $s_Value, $i $i = 1 $s_VarNm = RegEnumVal($s_RegEntry, $i) If @error Then Return $s_Value = RegRead($s_RegEntry, $s_VarNm) While $s_VarNm <> "" $s_VarNm = RegEnumVal($s_RegEntry, $i) If @error Then ExitLoop $s_Value = RegRead($s_RegEntry, $s_VarNm) If $s_VarNm <> "" Then GUICtrlCreateListViewItem($s_VarNm & "|" & $s_Type & "|" & $s_Value, $h_controlID) $i += 1 $i_DSNcount += 1 EndIf Wend EndFunc
  7. If you look closely at that function 'ODBCsources' you'll see that you have (and use) $s_varNm and $s_varnm now I haven't been around long enough to know how strict case is in AutoIt - or has been - but for starters I'd put Opt ("MustDeclareVars", 1) plenty of undeclared vars to keep you amused for a while :">
  8. Another piece in the puzzle, thanks MsCreatoR
  9. Dunno how useful it is for you, found this at 'The Code Project' MFC Grid control 2.26
  10. Help is your friend Hex ( expression [, length] ) Returns a string representation of an integer or of a binaryString converted to hexadecimal. [optional] Number of characters to be returned (up to 8) for integer. Characters are truncated from the left-hand side if length is too small.
  11. #include <ExcelCOM_UDF.au3> Dim $oExcelDoc, $cell WinActivate("Microsoft Excel", "") $oExcelDoc = ObjGet("","Excel.Application") $cell = _ExcelReadCell($oExcelDoc,"A5") MsgBox(0, "", $cell)
  12. AFAIK You can't successfully install ie7 and keep your original ie6 without a lot of pain - shared files, etc.. Upgrade IE to IE7, or not... Option 1. Download MSVM[free] - or use your favorite VM - and grab the [time limited] XP+IE6 image. Option 2. If you need multiple versions of IE for web testing, grab a standalone IE version (3.0, 4.01, 5.01SP2, 5.5SP2, 6.0) from evolt.org Only thing - from a web-testing POV - is that the stand-alone versions use your latest installed version of javascript. -Greg
  13. _IsPressed ?
  14. @mistakilla I don't see how the $started/$mstarted values change. Have you debugged those loops to ensure your getting what you think? Do ... $started = $started - 1 Until $started = 0 similar for $mstarted loop Still a newbie myself, so doubt everything!
  15. Damn fine piece of work, congrats.
×
×
  • Create New...