| View previous topic :: View next topic |
| Author |
Message |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Mar 11, 2005 8:47 pm Post subject: Folder takes an age to open |
|
|
Here's a funny thing I discovered. If you try to open a folder from a VDS program that is run from another VDS program which is waiting for the first one to finish, the folder takes up to a minute to appear. No excessive CPU is being used, that I can see.
Here is an example that demonstrates it:
| Code: | title Folder Weirdness
if @null(%1)
%1 = Run
%A = 40
else
%A = 80
end
DIALOG CREATE,%1,%A,%A,240,160
DIALOG ADD,BUTTON,BUTTON1,38,21,,,%1
DIALOG SHOW
:loop
wait event
goto @event()
:button1button
if @equal(%1,Run)
run %0 Open,wait
else
shell open,@curdir()
end
goto loop
:close
exit
|
Compile this, then run it. Click the button, it starts a second instance. Click the button on the second one, and the folder opens. Eventually. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|