| View previous topic :: View next topic |
| Author |
Message |
DavidR Contributor

Joined: 05 Aug 2003 Posts: 83 Location: Bethel Pennsylvania U.S.A.
|
Posted: Tue Nov 11, 2003 5:45 pm Post subject: Speed problem |
|
|
I'm teaching an Introduction to Programming to a small group of High School students. I installed VDS5 (demo mode) on 8 PC's to do an overview of the language. The PC's are all P133 or P166 with 32 Meg ram.
Half have win98 and the other half have win95b. When starting VDS5 the 98 machines come up to a usable state within a minute. The 95 machines can take as long as 4 minutes to start VDS and I'm not sure why. During this time there is very little disk activity. The mouse is very sluggish and the PC almost appears "hung". Wait long enough though and it will eventually come up. After that it seems to work fine.
Yes I know the obvious solution is get rid of this old junk and get a current platform. Unfortunately the situation is very much "financially challenged". I am donating my time and don't have the resources to even update the existing 95 PC's to 98. I'm hoping to spark an interest in these kids and get them to buy VDS for their home PC's but it's been really frustrating just getting to the point of being able to use it.
Can anybody think of any reason why 95 would be so much slower than 98 (all other factors being equal).I've tried all the obvious things (like make sure there's absolutely nothing else running!). Is there anything I could do to speed things up in 95? Thanks in advance! |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Tue Nov 11, 2003 5:48 pm Post subject: |
|
|
I know several regulars here on the forum use 95 as their main platform and from what I have heard it works fine.  _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player... |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Tue Nov 11, 2003 6:08 pm Post subject: |
|
|
Hi David,
I'm on a brand new computer here - Pentium 4 2.2 Ghz and it can take up to 10 seconds for VDS 5 to load. It took just about that long on my 1.06 Ghz machine as well. There must be some checks and verification processes going on within VDS causing this major delay.
VDS 4 did not have this problem at all. I don't think its related to creating the IDE as it is clearly visible behind the splash screen already built. But if you notice on the bottom of the splash it takes about 2-3 seconds for it to display the Registered: text. Maybe its loading the keyfile and checking it?? I wouldn't think it would require up to 10 seconds and in your case 4 minutes to do such a check though. |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
DavidR Contributor

Joined: 05 Aug 2003 Posts: 83 Location: Bethel Pennsylvania U.S.A.
|
Posted: Wed Nov 12, 2003 2:56 pm Post subject: |
|
|
| PGWARE wrote: | Hi David,
....... VDS 4 did not have this problem at all. .... |
You are correct. I loaded VDS4 and it works fine! No delay at all during startup. I'll guess I'll revert to Version 4 until I can figure out what's causing this. Thanks for the observations...
...........David |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Nov 12, 2003 5:02 pm Post subject: |
|
|
| Quote: | | The strange thing is that I can use the IDE while it is still showing the splash screen... |
And it can always work this way without any risk of additional errors which means the IDE is fully loaded. Could have been done for advertisement purposes - but sincerely may irritate some registered users very much also considering the fact that the spash is larger and thrown repeatedly into view IMHO.
I don't know if this is the case? Even if it is so those of you who like to see the splash screen even longer - Don't fire me  _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Hortalonus Valued Contributor


Joined: 15 Mar 2002 Posts: 344 Location: Western USA
|
Posted: Wed Nov 12, 2003 6:07 pm Post subject: |
|
|
| CodeScript wrote: | And it can always work this way without any risk of additional errors which means the IDE is fully loaded. Could have been done for advertisement purposes - but sincerely may irritate some registered users very much also considering the fact that the spash is larger and thrown repeatedly into view IMHO.
I don't know if this is the case? Even if it is so those of you who like to see the splash screen even longer - Don't fire me  |
I would very much like to see an option to disable the splash screen altogether. This option could be made available after VDS is registered so it will always show the splash screen in demo mode.  _________________ "ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player... |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Nov 12, 2003 6:49 pm Post subject: |
|
|
We're programmers, right..
| Code: | OPTION decimalsep,"."
RUN @SHORTNAME("c:\Program Files\Visual DialogScript 5\vds.exe")
%%inc = 0
:kill
if @equal(%%inc,50)
stop
end
if @winexists(#TSplashScreen)
window close,#TSplashScreen
else
%%inc = @succ(%%inc)
wait .05
goto kill
end |
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Nov 12, 2003 8:02 pm Post subject: |
|
|
Only problem is that I can't open files with VDS this way (through the Windows Explorer)...
| Code: | run @shortname(@path(%0)vds-ide.exe) %1
%%Counter = 0
repeat
if @winexists(#TSplashScreen)
window close,#TSplashScreen
%%Counter = 10
else
wait 1
%%Counter = @succ(%%Counter)
end
until @equal(%%Counter,10)
exit |
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Last edited by Skit3000 on Thu Nov 13, 2003 7:46 am; edited 1 time in total |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Nov 13, 2003 12:13 am Post subject: |
|
|
You can change the file associations in the registry.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Thu Nov 13, 2003 7:48 am Post subject: |
|
|
That is not what I ment. I change the name of the "vds.exe" file into "vds-ide.exe", and I compiled my script to "vds.exe". But if I now open a .dsc or .dsp file, it will still open VDS without the splash screen, but it doesn't open the .dsc or .dsp file... A few seconds later, Windows gives a warning that the .dsc/.dsp file can't be found...  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Nov 13, 2003 8:54 am Post subject: |
|
|
Skit, if ya wanna do something like that you gotta quote the filename parameter or it will break at the
first space.
So perhaps something like:
| Code: |
if %1
run @shortname(@path(%0)vds-ide.exe) @chr(34)%1@chr(34)
else
run @shortname(@path(%0)vds-ide.exe)
end
|
Dunno it if it'll actually work, though...
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Thu Nov 13, 2003 11:33 am Post subject: |
|
|
This is what I've got now:
| Code: | DIALOG CREATE,Nieuw Dialoog,999999,9999999,240,160,,DDESERVER
DIALOG ADD,DDEITEM,FileOpen
DIALOG SHOW
option decimalsep,.
repeat
%%ddemac = @ddemac()
until %%ddemac
%%filetoopen = @substr(%%ddemac,11,@diff(@pos(")",%%ddemac),1))
run @shortname(@path(%0)vds-ide.exe) %%filetoopen
info %%filetoopen
%%Counter = 0
repeat
if @winexists(#TSplashScreen)
window close,#TSplashScreen
%%Counter = 100
else
wait 0.1
%%Counter = @succ(%%Counter)
end
until @equal(%%Counter,100)
exit |
I think the next thing to do is to connect to the VDS IDE with DDE, and to send a "[FileOpen(%1)]" macro...  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Nov 13, 2003 12:04 pm Post subject: |
|
|
I still think that you should quote your RUN parameters if there's a chance they contain spaces...
BTW: Checked this out here:
| Code: | if %1
run @shortname(@path(%0)vds.exe) @chr(34)%1@chr(34)
else
run @shortname(@path(%0)vds.exe)
end
%%Counter = 0
repeat
if @winexists(#TSplashScreen)
window close,#TSplashScreen
%%Counter = 10
else
wait 1
%%Counter = @succ(%%Counter)
end
until @equal(%%Counter,10)
exit
|
Compiled into VDSlaunch.exe and changed association for .dsc and .dsp to that one. Works here - no wait
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
|