Custom Query
Results (229 - 231 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3136 | Fixed | _FTP_DirPutContents Help File return value error | Jpm | Danyfirex |
| Description |
I was working with FTP udf (#include <FTPEx.au3>) and check for _FTP_DirPutContents and say it returns directory name on Success. Really return 1. Saludos |
|||
| #32 | Fixed | _GUICtrlTreeView_GetNext does not return 0 for last item | Gary | DarkTurok |
| Description |
The following code shows a bug in _GUICtrlTreeView_GetNext. The bug also affects _GUICtrlTreeView_FindItem; this routine will enter a infinite loop when the searched text is not found in the tree-view, because it relies on _GUICtrlTreeView_GetNext to return zero when called for the last item. (Thus prio Major) #include <GuiConstantsEx.au3>
#include <GuiTreeView.au3>
#include <GuiImageList.au3>
Opt('MustDeclareVars', 1)
Example_External()
Func Example_External()
Local $GUI, $hItem[10], $hTreeView
Local $iStyle = BitOR($TVS_EDITLABELS, $TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGDROP, $TVS_SHOWSELALWAYS )
$GUI = GUICreate("(External) TreeView Get Next", 400, 300)
$hTreeView = _GUICtrlTreeView_Create ($GUI, 2, 2, 396, 268, $iStyle, $WS_EX_CLIENTEDGE)
GUISetState()
_GUICtrlTreeView_BeginUpdate ($hTreeView)
For $x = 0 To 5
$hItem[$x] = _GUICtrlTreeView_Add ($hTreeView, 0, StringFormat("[%02d] New Item", $x + 1), $iImage, $iImage)
Next
_GUICtrlTreeView_EndUpdate ($hTreeView)
If _GUICtrlTreeView_GetNext( $hTreeView, $hItem[5] ) <> 0 Then
MsgBox(4160, "Information", "_GUICtrlTreeView_GetNext does not return 0 when called with last item" )
EndIf
; Loop until user exits
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>Example_External
|
|||
| #89 | Fixed | RunAs w/ Profile does not grant acess to user environment | Valik | DaveF |
| Description |
Using beta 3.2.11.0 on XP SP2: In a child process spawned by the RunAs function with the proper flag to force the as-yet unloaded run-as user's profile to load, the child process's environment is that of the Default User rather than the run-as user's, though the other run-as elements of the run-as user's profile (such as the system registry) can be accessed as desired. Code to reproduce:
; declare yourself
Dim $ourPID, $ourRead
; Run child task with option to load run-as user's profile
$ourPID = RunAs("is", @ComputerName, "smack", 1, @ComSpec & " /c set", @SystemDir, @SW_HIDE, 2)
; Read the child task's STDOUT output
While 1
$ourRead &= StdoutRead($ourPID)
If @error Then ExitLoop
WEnd
; Display result
MsgBox(0, "Debug", @AutoItVersion & " yields:" & @CRLF & $ourRead)
|
|||
