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
32
S
9
G
6
Posts: 1,467
Reputation: 7,951

Post » Sun Jun 01, 2014 4:01 am

i think you're 3 years too late
B
18
S
6
G
5
Posts: 64
Reputation: 3,834

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! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests