I'm trying to make a regisrty editor (that does not affect the real registry) that will help me keep track of my projects by archiving their data in the registry I made. It works by using files in locations in the main dir like "Blitz\BP\Projects\BlitzRegEdit.c" and i'm trying to use the NextFile command to read the data to find the file, but it never adds anything to the treeview area of the program.
Here is the loader, It's kinda crummy since I through it together in about 1 minute and expected it to work pretty well the first time, but to no avail.
Please someone help me fix this code to actually work!!!
Here is the loader, It's kinda crummy since I through it together in about 1 minute and expected it to work pretty well the first time, but to no avail.
Function LoadApplicableData() Local Dir = ReadDir("Blitz") Local File$ Local BFile While FileType(BFile)<>0 File$ = NextFile(Dir) BFile = ReadFile(File) If FileType(BFile)=1 Then N.Node = New Node N\Txt$ = File$ N\Dat = AddTreeViewNode(ProgNode,N\Txt$) EndIf Wend End Function
Please someone help me fix this code to actually work!!!