Jump to content
Sign in to follow this  

Live Update

Recommended Posts

Hi all

i have a code to read a text file in to a gui with listview

and i want it to update when i insert a new row in the text file without restarting my application

can it be done?

thanks in advance


Share this post

Link to post
Share on other sites

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)


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

    For $i = 1 To $PROFILES[0]  

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE

now the contect on 2.ini is:




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


Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...