VB hangs on loading components dialog
Got an annoying problem here, when i right click the VB IDE toolbar then select components, the IDE hangs for about 1min+ before displaying the installed components list, it's like its taking a long time to search the registry for all installed components or something like that, this used to be pretty much instantaneous. I'm sure there a corrupt file or the registry is corrupt somehow. So far i've reinstalled VB(enterprise ED) and installed service pack 6, but still the same. I've scanned for malware with spybot and adaware and Kaspersky AV but still cant get this sorted.
Any ideas ?
Re: VB hangs on loading components dialog
When was the last time you defragmented your drive? Also, try cleaning up your temp folder, registry...
Re: VB hangs on loading components dialog
Another thing to try would be to get a hold of one of the registry cleanup tools. You may have some corrupt registry entries.
Re: VB hangs on loading components dialog
When that happens, I usually re-format the hard-disk and start all over again.
Re: VB hangs on loading components dialog
Quote:
Originally Posted by abhijit
When that happens, I usually re-format the hard-disk and start all over again.
That would be a "well I've tried EVERYTHING else but NOTHING else works" last ditch solution.
Re: VB hangs on loading components dialog
Quote:
Originally Posted by abhijit
When that happens, I usually re-format the hard-disk and start all over again.
It might be a little too extreme. ;)
Re: VB hangs on loading components dialog
True, it is a last ditch solution, but I have a ghost ready just in case.
So installations are a breeze through.
Re: VB hangs on loading components dialog
If i go to start / run and type regedit then click ok i get a dos prompt and a dialog box popping up saying this program has performed an illegal operation etc... though if i put in the full path then regedit loads fine. My default windows dir is c:\windows.001\system also my autoexec.bat file is empty (windows 98) should this be ?
I'm thinking its something to do with environmental varibles or paths but no idea how to fix it.
Re: VB hangs on loading components dialog
Is that folder in the PATH, as well as the sub-folders?
Re: VB hangs on loading components dialog
No joy, thanks anyway.
Is there any way to load more then the default controls into the toolbox at startup ?
Re: VB hangs on loading components dialog
Quote:
Originally Posted by Jmacp
No joy, thanks anyway.
Is there any way to load more then the default controls into the toolbox at startup ?
I have my own "default" standard project in which I've preloaded all of the controls that I typically use for any given project.
Once I've loaded my "shell", then I do a SaveAs, give it my new project name, and go from there.
Re: VB hangs on loading components dialog
Quote:
Originally Posted by Hack
I have my own "default" standard project in which I've preloaded all of the controls that I typically use for any given project.
Once I've loaded my "shell", then I do a SaveAs, give it my new project name, and go from there.
nice one, will use that. thanks!
Re: VB hangs on loading components dialog
You may as well save it in the "Templates" folder so you wouldn't have to use "Save As..." option - I do this quite often.
Here is the default location:
C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects\
You may do nthat same thing with forms, etc...