cyrilgupta Posted January 7, 2004 Posted January 7, 2004 I just started using VB.NET. Since the last few weeks I have an odd problem. Whenever I try to compile in the debug mode VB.NET takes over 6 minutes to compile even a very small app. Can anyone please help me solve this issue. Thanks... :)... I think I am going to like VB.NET very much once I get used to all the differences.. LOL... One more thing.. Is there any strategy guide that tells what to do to migrate my VB6 apps to VB.NET. I have some very huge projects that I'd like to take to VB.NET, but migration isn't simple as I've discovered. Thanks for your help. Cheerios! Quote
AndreRyan Posted January 7, 2004 Posted January 7, 2004 Sounds like the computer doesn't have enough processor power and/or RAM on hand. You may have too many programs going or the computer is too slow. There's a migration guide in the MSDN help, search "Visual Basic and Related" for 'Migration'. The only things you need to watch out for is to always use Option Strict, and avoid the Object class unless absolutely necessary. Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
cyrilgupta Posted January 7, 2004 Author Posted January 7, 2004 I have a P4 1.6 Gig with 256 MBs of memory. Doesn't sound so low powered to me.. And .NET was working fine earlier. It just slowed down some weeks ago. Something else must be wrong.. Even re-installation hasn't solved the issue. I am sure re-installing my OS will do the trick. But I don't feel up to it right now :(. Thanks for helping :) Cheerios! Quote
AndreRyan Posted January 7, 2004 Posted January 7, 2004 You may want to check how many Windows services are running in the background and also try AdAware to search for spyware in the background. And to add to the migration list, also use Option Explicit and avoid using APIs unless absolutely necessary Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
hog Posted January 7, 2004 Posted January 7, 2004 I had a terrible problem with my installation of 2003 whereby the CPU was showing 100% usage in whilst in the IDE. The key response was extremely slow. I raised the issue with MS but whilst awaiting a response I wiped the machine and installed everything from scratch and have not looked back since :) Quote My website
darknuke Posted January 8, 2004 Posted January 8, 2004 4 IDEs open amongst other programs and my CPU usage shifts between an average of 0-5%... 2.66 ghz 512 mb ram :D Quote This is only a test of the emergency broadcast system This is a product of hysterical mass confusion A ship of fools adrift on the sea of our pollution Rudderless and powerless on the sea of our delusion pennywise - this is only a test
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.