Jump to content

ajag

Active Members
  • Posts

    158
  • Joined

  • Last visited

Profile Information

  • Location
    Germany

Recent Profile Visitors

729 profile views

ajag's Achievements

  1. The first parameter of DLLCall has to be a filename or file handle. "1" seems not to be a file handle. Where is $h_ImageSearchDLL set?
  2. It is a bit confusing... As I understand 232showtime wants to extend the contextmenu of every window (e.g. "Explorer") so he can select and start his tool "SetOnTop" to bring this Windows "OnTop". Is that right? But when you click on a Window it gets already OnTop... No need for your Tool. Or is it that you want to get any Window to "Topmost" so it stays OnTop? /A-Jay
  3. $CMD = $PSH & '(Get-Item "' & $myExePath & '").VersionInfo.ProductVersion'
  4. I sent you a message. Yes, it will run in SciTE, why not? /A-Jay
  5. Hi Jimmi123j, we recently switched to MySQL 8.0.34. (from 5.5.15 🙄) We use the UDF from ProgAndy (https://www.autoitscript.com/forum/index.php?showtopic=85617) To make it work you have to use libmysql.dll from MySQL 5.7 (last 32bit Version of libmysql.dll) build your script as 32bit (not 64bit!) A-Jay
  6. Is this what you see in Notepad? I don't think Notepad can show HEX values, so are you sure that these are not charachters "FEFF"?
  7. I use the UDF from Prog@ndy and have no issues https://www.autoitscript.com/forum/index.php?showtopic=85617 ; (put libmysql.dll and mysql.au3 into the sktipt directory) #include ".\mysql.au3" Func _connectDB() Local $DB_HOST = "xxxxx" Local $DB_PORT = "12345" Local $DB_DATABASE = "dddddd" Local $DB_USER = "uuuuuu" Local $DB_PASS = "pppppp" _MySQL_InitLibrary() If @error Then Return SetError(1, 0, 0) Local $connection = _MySQL_Init() If $connection = 0 Then Return SetError(2, 0, 0) Local $connected = _MySQL_Real_Connect($connection, $DB_HOST, $DB_USER, $DB_PASS, $DB_DATABASE, $DB_PORT) If $connected = 0 Then Return SetError(3, 0, 0) Return SetError(0, 0, $connection) EndFunc Func _disconnectDB($connection) _MySQL_Close($connection) _MySQL_EndLibrary() EndFunc ;==>_CloseDatabase
  8. Your syntax seems to be not correct. 4th parameter is "G", but it should be a "count" parameter: StringRegExpReplace ( "test", "pattern", "replace" [, count = 0] ) Maybe some error handling hepls (check @error).
  9. Thanx Jos, the Beta version does not do it anymore. A-Jay
  10. Okay, just after posting figured it out myself... #Tidy_Off #Tidy_On
  11. How to prevent that Tidy modifies #include statements before Tidy: #include <My-Incude-File.au3> after Tidy: #include <My - Incude - File.au3> any hints? A-Jay
  12. Where do you close your Excel/Workbook after processing?
  13. Maybe _FileListToArrayRec() does help you?
  14.    ReDim $fArray [0 To ($numRows * (Ubound($arr) - 1))] [0 to $numCols] try this: ReDim $fArray[($numRows * (Ubound($arr) - 1))][$numCols] A-Jay
  15. Copies Test.docx without any problems. First: Test the return value of FileCopy() to see if any error occurs.
×
×
  • Create New...