forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Speed problem
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
DavidR
Contributor
Contributor


Joined: 05 Aug 2003
Posts: 83
Location: Bethel Pennsylvania U.S.A.

PostPosted: Tue Nov 11, 2003 5:45 pm    Post subject: Speed problem Reply with quote

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
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Nov 11, 2003 5:48 pm    Post subject: Reply with quote

I know several regulars here on the forum use 95 as their main platform and from what I have heard it works fine. Confused
_________________
"ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player...
Back to top
View user's profile Send private message Send e-mail
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Tue Nov 11, 2003 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Nov 12, 2003 1:47 pm    Post subject: Reply with quote

The strange thing is that I can use the IDE while it is still showing the splash screen... Only the splash screen won't go away afterwards... Confused
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
DavidR
Contributor
Contributor


Joined: 05 Aug 2003
Posts: 83
Location: Bethel Pennsylvania U.S.A.

PostPosted: Wed Nov 12, 2003 2:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Nov 12, 2003 5:02 pm    Post subject: Reply with quote

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 Wink

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Wed Nov 12, 2003 6:07 pm    Post subject: Reply with quote

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 Wink

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. Very Happy

_________________
"ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player...
Back to top
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Nov 12, 2003 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Nov 12, 2003 8:02 pm    Post subject: Reply with quote

Laughing

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Nov 13, 2003 12:13 am    Post subject: Reply with quote

You can change the file associations in the registry. Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Nov 13, 2003 7:48 am    Post subject: Reply with quote

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... Confused A few seconds later, Windows gives a warning that the .dsc/.dsp file can't be found... Confused
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Nov 13, 2003 8:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Nov 13, 2003 11:33 am    Post subject: Reply with quote

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... Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Nov 13, 2003 12:04 pm    Post subject: Reply with quote

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 Wink

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Nov 13, 2003 2:55 pm    Post subject: Reply with quote

Weird, if I do an "info %1", I get nothing... Confused Maybe it's because I replaced my file with the vds.exe file?
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group