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
28
S
10
G
6
Posts: 1,550
Reputation: 8,117

Post » Sun Jun 01, 2014 4:01 am

i think you're 3 years too late
B
20
S
8
G
6
Posts: 71
Reputation: 4,598

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 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit
B
95
S
33
G
14
Posts: 2,117
Reputation: 16,487


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests