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
44
S
18
G
7
Posts: 1,819
Reputation: 10,384

Post » Sun Jun 01, 2014 4:01 am

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

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
144
S
50
G
20
Posts: 2,274
Reputation: 23,002


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests