Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/18/2023 in all areas

  1. Hy there had the same problem today but find a solution Simple use #pragma that works @ my site WIN10 22H2 latest security updates #Region ;**** Directives created by AutoIt3Wrapper_GUI ; That works only**** #AutoIt3Wrapper_Icon=X:\OM_MUC\MopsIt\MucDecode.ico #AutoIt3Wrapper_Outfile_x64=MucDecode64.exe #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ;~ Try pragma's for further APP infos instead of using AutoIt3Wrapper_<Resources> #pragma compile(AutoItExecuteAllowed, True) #pragma compile(ExecLevel, asInvoker) #pragma compile(FileDescription, DB Browser for My SQLITE Base) #pragma compile(ProductName, MucDecode ) #pragma compile(ProductVersion, 3.3.16.1) #pragma compile(FileVersion, 2023.12.19.65) ; The last parameter is optional. #pragma compile(LegalCopyright, © My Company System Incorporated) #pragma compile(CompanyName, 'My Company System Incorporated') see more in AutoIt Help #pragma .... Watch results in details of EXE properties ....
    1 point
  2. This is the one I just tested... - Test AutoItX3_x64.au3 - Test AutoItX3_x64.vbs Put it in any folder and test it. RegFreeCOM_Au3X_Example.zip
    1 point
  3. Thanks to @TheXman for emphasize on using ResourceHacker. So I did use ResourceHacker to make AutoItX3.dll worked. 1) write a au3 and convert it to exe using Aut2Exe __Example_A() Func __Example_A()     Local Const $o_progid = "AutoItX3.Control"     Local $o_Autoit = ObjCreate($o_progid)     If Not IsObj($o_Autoit) Then Exit     $o_Autoit.ToolTip("This is a tooltip", 450, 200)     $o_Autoit.Sleep(2000) EndFunc 2) open the exe using ResourceHacker and modified the manifests portion with this..... <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">     <file name="AutoItX3.dll">         <typelib tlbid="{F8937E53-D444-4E71-9275-35B64210CC3B}" resourceid="0" version="1.0" helpdir="" flags="HASDISKIMAGE" />             <comClass clsid="{1A671297-FA74-4422-80FA-6C5D8CE4DE04}" threadingModel="Apartment" tlbid="{F8937E53-D444-4E71-9275-35B64210CC3B}" progid="AutoItX3.Control" description="AutoItX3 Class" />             </file>      <dependency>          <dependentAssembly>              <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" language="*" processorArchitecture="*" publicKeyToken="6595b64144ccf1df"/>          </dependentAssembly>      </dependency>      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">          <security>              <requestedPrivileges>                  <requestedExecutionLevel level="asInvoker" uiAccess="false"/>              </requestedPrivileges>          </security>      </trustInfo>     <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">          <application>              <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>             <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>             <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>             <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>             <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>         </application>      </compatibility> </assembly> that's it you are done make sure you run the modified exe on computer where Autoit is not installed. I will later try to do it without using ResourceHacker
    1 point
  4. @jugador Just tested this script and all runs fine on my PC windows 10 #AutoIt3Wrapper_UseX64=Y ; Error Monitoring Global $oError = ObjEvent("AutoIt.Error", "_ErrFunc") Func _ErrFunc() ConsoleWrite("! COM Error ! Number: 0x" & Hex($oError.number, 8) & " ScriptLine: " & $oError.scriptline & " - " & $oError.windescription & @CRLF) Exit EndFunc ;==>_ErrFunc Local $oAutoIt = ObjCreate("Microsoft.Windows.ActCtx") $oAutoIt.manifest = @ScriptDir&"\AutoItX3.sxs.manifest" Local $obj = $oAutoIt.CreateObject("AutoItX3.Control") MsgBox(0, "", "You are now running RegFree AutoItX3.Control Version : " & $obj.Version) ConsoleWrite($obj.Version & @CRLF) ConsoleWrite("Are you admin : " & $obj.IsAdmin & @CRLF) $obj.ToolTip("This is a tooltip", 450, 200) $obj.Sleep(3000) $obj = "" $oAutoIt = ""
    1 point
  5. After some days of struggle, I followed argumentum suggestion and just implemented the work done in the .bat files in autoit. Even though I was curious of why my problem happened, my problem is solved. Thanks anyways for the reply guys.
    1 point
  6. SQLite is a typical choice for simple apps, therefore i mentioned it, but merely as an example. of course any database will do the job. the point i'm trying to make is you should NOT load all files simultaneously to memory. only once the user has selected a file (by the five field criteria), that file is loaded and displayed. once the user is finished dealing with that file, dump the file from memory and load another one. as for displaying and working with a file, another option you have is not to load the file in your app, but summon the all-mighty Excel to do it for you. Excel is ideal for simple tabular displays (and for rather more complex ones also, if you are familiar with VBA), and you can pre-format a template to be visually appealing and functional for your needs. Excel user interface is highly - and i cannot stress "highly" enough - customizable. so, if you can manage the part where the user selects a file by the five field criteria, and you can display and work with the file, then what challenges are you still facing?
    1 point
×
×
  • Create New...