Jump to content

Live Update


devilyn
 Share

Recommended Posts

Maybe i was not clear

this is my code

#include <GUIConstants.au3>


$GUI = GUICreate("AForm1", 633, 454, 193, 115)
$List = GUICtrlCreateList("", 152, 40, 297, 297)

GUISetState(@SW_SHOW)

$PROFILES = IniReadSectionNames("C:\2.INI")


    For $i = 1 To $PROFILES[0]  
        GUICtrlSetData($List,$PROFILES[$i])
    Next

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

now the contect on 2.ini is:

[A1]

[A2]

[A3]

when i run my app it read the ini section names and put them in the gui listview

now i want to update my ini and insert anoter section ([a4]) and it want the gui list to update live

and display the [a4] without closing the app

Thanks again

Lior

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...