I have VBExpress 2008 with a button and a code, to clear this problem, the code behind it: < / P>
Private sub-button 1_Click (as the system. Sender, as the system. As EVENT E.) The button controls. Click on OpenFileDialog1.ShowDialog () MsgBox (OpenFileDialog1.FileName) ending sub
When I select a file (small PDF in my case) after I select the file 3 to 6 Second is delayed, unless it goes to the next statement, in this case a message box.
If I repeat the same file for the second time, I do not get a delay. But, if I step out of the program and start it again, then I get delayed (once). After hanging first it looks like it is hanging about 7 to 9 efforts and the window "is not responding" for a few seconds. I do not have this problem on Vista or XP
If I select the same file as maximum, it can hang for 1, 2 and 12 th time. Try the shutdown program, it can be 1, 3, and 9th time. It's never so - like it is running out of resources and cleaning a cache.
I have seen the Task Manager during the delay and are not seeing anything unusual. I have a new computer that works all well, I thought it was my Norton Internet security - but I stopped it and it did not make any difference.
Can someone give me a clue what is going on and / or how can I find out the source of late delays? I have tried everything to separate this problem, I have tried, and have been running out of ideas. I do not see any other posts about this specific thing.
project + properties, debug tab, tick "Enable unmanaged code debugging", run your program and v. s. In the output window select. Open your dialog What you see in the output window is loading a crop of ineffective DLL that is loading in your process.
These shell extensions are handlers which are installed on your machine. Bad people can influence your program in an unpleasant way, as you say in your question. Use the SysInternals' AutoRuns utility to get control over it. Start by disabling people not by Microsoft
Comments
Post a Comment