Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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!

Posted

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.

.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?
Posted

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!

Posted

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

.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?
Posted

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 :)

My website
Posted

4 IDEs open amongst other programs and my CPU usage shifts between an average of 0-5%...

 

2.66 ghz

512 mb ram

 

:D

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...