Speed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Im new to VB.net in fact before then i hadnt touched VB since 5... in either case, im using VB to write Scripts to interact with Macromedia flash. Pretty much all it does is create these scripts out of a database and then Starts them as a process. Part of System.Diagnostics... My problem is Macromedia Flash has alot of overhead and reacts slowly, also after the loop i need to reorganize all the files. Ive got everything set up to do this. But VB is running too quickly, once the loop is done, it deletes the files, before flash is done with them. Thus causing an exception. Is there anyway of SLOWING down VB?.
 
look at Thread.Sleep

GMartin said:
Im new to VB.net in fact before then i hadnt touched VB since 5... in
either case, im using VB to write Scripts to interact with Macromedia flash.
Pretty much all it does is create these scripts out of a database and then
Starts them as a process. Part of System.Diagnostics... My problem is
Macromedia Flash has alot of overhead and reacts slowly, also after the loop
i need to reorganize all the files. Ive got everything set up to do this.
But VB is running too quickly, once the loop is done, it deletes the files,
before flash is done with them. Thus causing an exception. Is there anyway
of SLOWING down VB?.
 
I have just given a similar answer to this re external applications and
VB.NET - take a look at the AutoIT DLL or the AutoIT program to do the
scripting for you. You get a lot more control over the sepdd that things
happen at.


http://www.autoitscript.com/autoit3/

Best wishes

Paul Bromley


GMartin said:
Im new to VB.net in fact before then i hadnt touched VB since 5... in
either case, im using VB to write Scripts to interact with Macromedia flash.
Pretty much all it does is create these scripts out of a database and then
Starts them as a process. Part of System.Diagnostics... My problem is
Macromedia Flash has alot of overhead and reacts slowly, also after the loop
i need to reorganize all the files. Ive got everything set up to do this.
But VB is running too quickly, once the loop is done, it deletes the files,
before flash is done with them. Thus causing an exception. Is there anyway
of SLOWING down VB?.
 
Back
Top