Home > Software engineering >  Software VB6 from the shell open a folder, will be slower. How to solve?
Software VB6 from the shell open a folder, will be slower. How to solve?

Time:11-07

I want to ask next VB6 software written (assuming it has written), when open the software running, why so slow to react?
 Private Sub Command1_Click () 

Shell explorer. Exe C: \ "my documents", vbNormalFocus

End Sub

A simple shell, click on the button to open the folder,


This is a programming interface


The mouse in the hourglass, slower reaction, will open the corresponding folder,

CodePudding user response:

The hardware, the system background:
Windows 7 7601
I5 2400
8 g

Dear god, please,,,

CodePudding user response:

You "see" is just "a simple shell",
However system to complete the "simple" command, also need to do a lot of work!
Create process, read the disk information (and related processing),
Is the "parameters" verify your file or folder, whether there is the file on disk (or folder),
If the folder: it is to read all the files in the folder list, file list and classification processing,
Maybe some type of document, it also "by the way of" read some extension information... And so on,
It don't time!!!!!!!!!!


You said "slow half racket" exactly is how slow!

CodePudding user response:

My computer configuration is low, open C: \ Windows \ System32 about 0.5 seconds,

CodePudding user response:

Normal, see your CPU, my i7 4790 CPU, opened in an instant
  • Related