How do i set a property for current session?
This is how i have been tried:
But no effect, i want to set RegExp for search dialog.
Thanks for the workarounds, but i am looking for solution to solve the issue of two UDFs conflict, i don't think that control should be disabled on $GUI_GIFSTOP, otherwise it's not different from $GUI_DISABLE.
There is a problem with $GUI_GIFSTOP state, it's disables the control, i wanted to use it combined with my GUICtrlOnHover UDF, but when the control is disabled the events are not triggered.
Is there a way to fix it?
Why i can't load HtmlAgilityPack.dll?
The _DotNet_Load returns True, but creating HtmlAgilityPack.HtmlDocument object has faild.
Local $oErrorHandler = ObjEvent("AutoIt.Error", "_ErrFunc")
Local $Success = _DotNet_Load('HtmlAgilityPack.dll')
If $Success Then ; Load the .NET compiled dll.
Local $oPerson1 = ObjCreate('HtmlAgilityPack.HtmlDocument') ; Namespace.Class.
If IsObj($oPerson1) Then
ConsoleWrite('OK' & @LF)
ConsoleWrite('An error occurred when using the Dll.' & @CRLF)
ConsoleWrite('An error occurred when registering the Dll.' & @CRLF & 'Error: ' & @error & @CRLF)
; The dll is automatically unloaded when the application closes.
With the same dll (attached) i have been able to create the object using powershell:
Add-Type -Path "HtmlAgilityPack.dll"
$doc = New-Object HtmlAgilityPack.HtmlDocument