
scila1996
Active Members-
Posts
90 -
Joined
-
Last visited
Recent Profile Visitors
scila1996's Achievements

Wayfarer (2/7)
0
Reputation
-
I'm Create a Console Program Project and within same Funtions to do Show Dialog . Easy Example ! #include <Windows.h> int main() { MessageBoxA(NULL, "DH Bach Khoa HN", NULL, MB_ICONQUESTION); return 1; } This is Result i don't like this classic style and wanna it's show a dialog with modal like this ? How can i do ? Please help me , thank you !
-
How to create UNION type like C Programer ?
scila1996 replied to scila1996's topic in AutoIt General Help and Support
How to i create union with element is struct ? Example typedef union _ULARGE_INTEGER { struct { DWORD LowPart; DWORD HighPart; }; struct { DWORD LowPart; DWORD HighPart; } u; ULONGLONG QuadPart; } ULARGE_INTEGER, *PULARGE_INTEGER; -
How to create UNION type like C Programer ?
scila1996 replied to scila1996's topic in AutoIt General Help and Support
How to get data of int b ? -
i Have a C Code union { int a; byte b; } test_union; int main { test_union _var; _var.a = 256; _var.b = 2; }=> Result of _var.a => 258 I'm try with DllStructCreate with this way Local $_union = DllStructCreate("byte[4]") Local $_test_union = DllStructCreate("int a;int b", DllStructGetPtr($_union)) DllStructSetData($_test_union, 1, 256) DllStructSetData($_test_union, 2, 2) MsgBox(64, "", DllStructGetData($_test_union, "a"))=> result is : 256 ? How do i create a union with data organize like C ? Please help me ! Thank you for reply
-
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
I wish new Script update will has a Function SwapNode by way using method .insertNode() #include "_MSXML.au3" Local $oXMLDoc _MSXML_InitInstance($oXMLDoc) _MSXML_FileOpen($oXMLDoc, "SettingsXML.xml") Local $arr = _MSXML_SelectNodes($oXMLDoc, "Settings/node_test") $arr[2].parentNode.insertBefore($arr[2], $arr[1]) $oXMLDoc.Save("SettingsXML.xml") -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
I think you should write a function use to Move Node -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
Ah ! You can give me knows functions or method to create a Node Object . My Database is organized into Tree Structure , Inside a Node exists Like Nodes . ? Example <?xml version="1.0" encoding="UTF-8"?> <SETTINGS> <test Test="1"/> <test Test="12"/> <test Test="123"/> <test Test="1234"/> </SETTINGS> How do i get all node "test" and get all attrib of each node ? Thank you -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
I Think about some functions to do Read, Get, Check Value and without "Write or Method Impact to Object" . Example Func __XML_IsValidObject_Attributes(ByRef $oAttributes) Func __XML_IsValidObject_DOMDocument(ByRef $oXML) Func __XML_IsValidObject_Node(ByRef $oNode, $iNodeType = Default) Func __XML_IsValidObject_NodesColl(ByRef $oNodesColl) Func _XML_GetNodeAttributeValue(ByRef $oNode_Selected, $sAttribute_Name) Func _XML_SelectSingleNode(ByRef $oXmlDoc, $sXPath) Change parameter to : Func __XML_IsValidObject_Attributes(const $oAttributes) Func __XML_IsValidObject_DOMDocument(const $oXML) Func __XML_IsValidObject_Node(const $oNode, $iNodeType = Default) Func __XML_IsValidObject_NodesColl(const $oNodesColl) Func _XML_GetNodeAttributeValue(const $oNode_Selected, $sAttribute_Name) Func _XML_SelectSingleNode(const $oXmlDoc, $sXPath) -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
I only have problems with #55 and #58 . -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
Yeah ! I'll try again . Thank you -
scila1996 reacted to a post in a topic: XML.au3 - BETA - Support Topic
-
scila1996 reacted to a post in a topic: Signatures
-
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
i wish your script is up-to-date most early . -
scila1996 reacted to a post in a topic: XML.au3 - BETA - Support Topic
-
scila1996 reacted to a post in a topic: XML.au3 - BETA - Support Topic
-
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
Me too, but at that time . I'am waiting for your's script . I'll try find the errors and report to dev this script . -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
Have a problem with _XML_DeleteNode If delete one or more time it's to leave a "space line" at node just delete . Example : <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?><Settings> <node1/> <node2/> <node3/> </Settings>After delete "node1" and "node2" <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?><Settings> <node3/> </Settings>Thereforce i was used _XML_TIDY to fix , but it's still to leave "space line" at that ! -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
This function also not working Local $oXMLDoc = _XML_CreateDOMDocument() _XML_Load($oXMLDoc, "settings.xml") Local $aAttr[0], $aVal[0] MsgBox(64, "", _XMLGetAllAttrib($oXMLDoc, "Settings/Node0", $aAttr, $aVal) & @CRLF & "@Error Code " & @error) ; return 0 | @Error code = 22XML File <?xml version="1.0" encoding="Windows-1258" standalone="no"?><Settings> <node0 type="menu0" icon="shell32.dll" index="5"/> </Settings> -
XML.au3 - BETA - Support Topic
scila1996 replied to mLipok's topic in AutoIt Projects and Collaboration
You are check for _XML_GetNodeAttributeValue . It's not working and return 0 @error code 7 XML File <?xml version="1.0" encoding="Windows-1258" standalone="no"?><Settings> <node0 type="menu0"/> </Settings>This code ! Local $oXMLDoc = _XML_CreateDOMDocument() _XML_Load($oXMLDoc, "settings.xml") MsgBox(64, "", _XML_NodeExists($oXMLDoc, "Settings/node0")) ; Return 1 ok Local $onode = _XML_SelectNodes($oXMLDoc, "Settings/node0") MsgBox(64, "", _XML_GetNodeAttributeValue($onode, "type") & @CRLF & "@Error Code :" & @error) ; return 0 | @error code = 7 I think you so modify the _XML_GetNodeAttributeValue into Func _XML_GetNodeAttributeValue(ByRef $oXmlDoc, $sAttribute_Name)