Jump to content

Emiel Wieldraaijer

Active Members
  • Posts

    717
  • Joined

  • Last visited

About Emiel Wieldraaijer

  • Birthday 05/23/1973

Profile Information

  • Location
    The Netherlands
  • Interests
    ehhhh computers

Recent Profile Visitors

961 profile views

Emiel Wieldraaijer's Achievements

Universalist

Universalist (7/7)

9

Reputation

  1. You need to disable the AntiVirus software during build en when the program is finished send it to the AV company to check if it's a false positive. If so, they will add an exception so it will not be flagged as a virus
  2. Hi, Add fullpath to your image #AutoIt3Wrapper_Res_File_Add=Drive:\Folders\Avatar_poker.jpg, RT_RCDATA, JPG_1 and remove the ,0 Place the following under $iPic = GUICtrlCreatePic('', 10, 10, 160, 121) _Resource_SetToCtrlID($iPic , " JPG_1") Try again, Best regards, Emiel
  3. Hi, Nice Dutch translation ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"] ["Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"]
  4. Hi Guinness, Not using AutoIt anymore !? Windows 8.1 X64 AutoIt 3.3.12.0 and Beta 3.3.13.19 #AutoIt3Wrapper_UseUpx=y shows the animated icon and #AutoIt3Wrapper_UseUpx=n doesn't show the animated icon #Region #AutoIt3Wrapper_Outfile=animated_icon_test.exe #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #AutoIt3Wrapper_Res_File_Add=x:\animated_images\pleasewait.ani, rt_anicursor, RESOURCE_ANI #EndRegion #pragma compile(AutoItExecuteAllowed, true) #include <GUIConstantsEx.au3> #include "resourcesex.au3" Dim $sPleaseWaitAni Dim $Resource_ANI = _Resource_GetAsCursor("RESOURCE_ANI") $Parent = GuiCreate ("Test", 400, 400) $Menu = GUICtrlCreateMenu("help") $Tab = GUICtrlCreateTab(10, 10, 380, 360) $Tab1 = GUICtrlCreateTabItem("Tab1") $PleaseWaitAni = GUICtrlCreateIcon("", -1, 100, 100, 64, 64) _Resource_SetCursorToCtrlID($sPleaseWaitAni, $Resource_ANI) GUICtrlSetTip($PleaseWaitAni, "Please wait", "" ,0,1) $Tab2 = GUICtrlCreateTabItem("Tab2") GUICtrlCreateTabItem("") GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Tab Switch GUICtrlRead($Tab) Case 0 Case 1 EndSwitch EndSwitch WEnd
  5. HI Guiness, They did not exist in the previous version 2014/07/14: Added: _Resource_GetAsCursor(), for the loading of animated cursors and standard cursors which can then be used with _WinAPI_SetCursor(). Added: _Resource_SetCursorToCtrlID() and _Resource_SetIconToCtrlID(). Corrected some error in the supplied example of the code #AutoIt3Wrapper_Res_File_Add=x:\animated_images\pleasewait.ani, rt_anicursor, RESOURCE_ANI Dim $Resource_ANI = _Resource_GetAsCursor("RESOURCE_ANI") $PleaseWaitAni = GUICtrlCreateIcon("", -1, 100, 100, 64, 64) _Resource_SetCursorToCtrlID($sPleaseWaitAni, $Resource_ANI) GUICtrlSetTip($PleaseWaitAni, "Please wait", "" ,0,1) Best regards, Emiel
  6. So what the problem Vista/2008R1 and above !!
  7. Hi, I found a small problem with _Resource_SetCursorToCtrlID in combination with an animated icon. When you don't use UPX the icon isn't shown.. if you use upx the animated icon is shown.. #AutoIt3Wrapper_Res_File_Add=x:\animated_images\pleasewait.ani, rt_anicursor, RESOURCE_ANI Dim $Resource_ANI = _Resource_GetAsCursor("RESOURCE_ANI") $PleaseWaitAni = GUICtrlCreateIcon("", -1, 100, 100, 64, 64) _Resource_SetCursorToCtrlID($sPleaseWaitAni, $Resource_ANI) GUICtrlSetTip($PleaseWaitAni, "Please wait", "" ,0,1) Lots of animated ani files can be download from here : http://www.uselesssoftware.com/download/154anis-zip Thanks
  8. @SDothard, I believe you want to add an existing PDF as background if so than you have to convert the PDF into a JPG and do the following _LoadResImage ("Background", "Background.jpg") _BeginPage() _InsertImage("Background", 0, 0, _GetPageWidth() / _GetUnit(), _GetPageHeight() / _GetUnit())
  9. @Water.. Thanks for the reply That would be my last solution but.. read below @jguinch Thanks Didn't know the sysnative options
  10. Hi, i'm trying to retrieve some information using powershell When i use the following command run ("Powershell.exe Get-SmbServerConfiguration", "", @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD) from a 32 bits compiled executable it invokes c:windowssyswow64WindowsPowerShellv1.0powershell.exe. The 32 bits redirected powershell does not support the cmdlet Get-SmbServerConfiguration Is it possible force executing the 64 bits version of powershell with Wow64FsRedirection ? I tried the following Local $stOldVal = DllStructCreate("dword&quot%3
  11. Hi Rizonetech, Nice work .. missing one important thing Sometimes the Address Resolution Protocol (ARP) Cache is causing problems you can clear the cache with the following command : arp -d -a for more information see microsoft KB169790 Best regards, Emiel Wieldraaijer
  12. As i said .. .it's probally me .. _GUICtrlListView_GetItemTextString is the solution Thanks
  13. Hi All, I'm trying to sort a Listview with checkboxes...looks likes it works fine.. everything looks sorted But i have a little problem which i cannot solve (I believe i am the problem ) If you run the code below and follow the steps - Select the fourth checkbox and press "Show checked" button it will display the right result in a messagebox. - Sort by pressing field C and you will see the checkbox moves to the first position, still correct - Press the button "Show checked" and it displays the information which was before the sorting on the first position.. this is correct because the code isn't correct..how can i read the content of the line which is checked instead of the wrong line or just one column. Or is the only solution to read all the column if you want the complete line ?!!! #include <GUIConstantsEx.au3> #include <GuiListView.au3> #include <MsgBoxConstants.au3> Dim $sListViewItem[500] GUICreate("Sorting with CheckBoxes", 400, 480) $sListView = GUICtrlCreateListView("Select|A|B|C|D|E", 20, 20, 360, 400) _GUICtrlListView_SetExtendedListViewStyle($sListview, $LVS_EX_CHECKBOXES) _GUICtrlListView_SetColumnWidth($sListView, 0, 60) _GUICtrlListView_SetColumnWidth($sListView, 1, 60) _GUICtrlListView_SetColumnWidth($sListView, 2, 60) _GUICtrlListView_SetColumnWidth($sListView, 3, 60) _GUICtrlListView_SetColumnWidth($sListView, 4, 60) _GUICtrlListView_SetColumnWidth($sListView, 5, 60) $sListviewItem[0] = GUICtrlCreateListViewItem("|111|222|333|444|555", $sListView) $sListviewItem[1] = GUICtrlCreateListViewItem("|222|333|444|555|111", $sListView) $sListviewItem[2] = GUICtrlCreateListViewItem("|333|444|555|111|222", $sListView) $sListviewItem[3] = GUICtrlCreateListViewItem("|444|555|111|222|333", $sListView) $sListviewItem[4] = GUICtrlCreateListViewItem("|555|111|222|333|444", $sListView) $sButton = GUICtrlCreateButton("Show checked", 280, 440, 100,20) GUISetState () _GUICtrlListView_RegisterSortCallBack($sListView) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE _GUICtrlListView_UnRegisterSortCallBack($sListView) Exit Case $msg = $sButton For $i = 0 to 4 If _GUICtrlListView_GetItemChecked($sListView, $i) = "true" Then ; the following is off course the problem because it reads the incorrect row msgbox (64, "Checked value", GUICtrlRead($sListViewItem[$i])) ; the following only checks one column, how to retrieve the whole line msgbox (64, "Checked value", _GUICtrlListView_GetItemText($sListView, $i, 1)) EndIf Next Case $msg = $sListView _GUICtrlListView_SortItems($sListView, GUICtrlGetState($sListView)) EndSelect Wend
  14. I'm sorry.. but i believe it's time to say goodbye to Windows XP.. If you compare Windows XP to Mankind.. it a Windows version used by the romans
×
×
  • Create New...