Problems importing a large text file to a ListBox

For questions about using Classic.

Post » Thu Aug 26, 2010 9:57 am

Hello.

I use a dos command such as
[code:2960ku5n]dir c:\ /s /b >files.log[/code:2960ku5n]

to generate a file called files.log that looks sort of like this:

[code:2960ku5n]\\server\e$\v$\priv\ad\scs\Crypto.Hash.MD4.pyd
\\server\e$\v$\priv\ad\scs\library.zip
\\server\e$\v$\priv\ad\scs\python26.dll
\\server\e$\v$\priv\ad\scs\scanner.exe
\\server\e$\v$\priv\ad\scs\scs.exe[/code:2960ku5n]

If I try to import this log file into a ListBox in Construct, it goes well. Except, this log file can easily reach the size of 55MB or more. If I try to import the file while it's that large, my application freezes and I have to close it forcefully.

Is there anything I can do?
B
3
G
2
Posts: 11
Reputation: 697

Post » Sun Jun 01, 2014 2:05 am

how do you run the dos command from construct2?
B
41
S
16
G
7
Posts: 1,779
Reputation: 10,029

Post » Sun Jun 01, 2014 4:01 am

i think you're 3 years too late
B
23
S
10
G
6
Posts: 72
Reputation: 4,875

Post » Sun Jun 01, 2014 5:20 pm

@imothep85 The only method I could think of for that is using Node-Webkit and calling an external .bat file (so you'd have to program the dos command in the batch file).
Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
129
S
43
G
18
Posts: 2,240
Reputation: 20,642


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests