473,386 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VB.NET VERY Slow

Hi,
I'm new to VB.Net but have noticed a few things about the dev interface that
is really starting to get annoying. First of all, while trying to work with a
form and the code module for the form I notice switching back and forth
between the form and code window is very slow, specially if I select the
form. Im in the process of trying to add control names into my code and
wanted to copy and paste each control into the function, but each time I
switch from/to the form it take about 15 to 30 secs before I have control of
the form again. It could be that the enviroment is trying to check the code.
Is there a way to turn off some of these features (Like auto check functions,
ect...). Has anyone noticed things like that. Thanks for any suggestions.
Michael

Nov 21 '05 #1
6 4509
Hi,

Make sure you have at least have the recommended requirements
for vb.net 2003.

http://msdn.microsoft.com/vbasic/pro...s/default.aspx

Check you computer for spy ware and viruses. Below are some
links to some free programs I find to work well.

Microsoft Antispyware beta
http://www.microsoft.com/athome/secu...e/default.mspx

AVG Antivirus has a free edition for home users.
http://www.grisoft.com/doc/40/lng/us/tpl/tpl01

Ken
----------------
"Michael" <Mi*****@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
Hi,
I'm new to VB.Net but have noticed a few things about the dev interface that
is really starting to get annoying. First of all, while trying to work with
a
form and the code module for the form I notice switching back and forth
between the form and code window is very slow, specially if I select the
form. Im in the process of trying to add control names into my code and
wanted to copy and paste each control into the function, but each time I
switch from/to the form it take about 15 to 30 secs before I have control of
the form again. It could be that the enviroment is trying to check the code.
Is there a way to turn off some of these features (Like auto check
functions,
ect...). Has anyone noticed things like that. Thanks for any suggestions.
Michael
Nov 21 '05 #2
First , This cant be a problem of VB.NET by itself.
Whatever is the issue, its related to the Visual Studio .NET

Second, I dont have a fast PC but I can switch between design/code view in
less than a second.
Do you really think microsoft will ship a product which has 15-20 second
delay in switching from one view to another.

One can guess that there must be some problem with your hardware/software
configuration.

and yes VB.NET is VERY SLOW.

THANK YOU
rawCoder

"Michael" <Mi*****@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
Hi,
I'm new to VB.Net but have noticed a few things about the dev interface that is really starting to get annoying. First of all, while trying to work with a form and the code module for the form I notice switching back and forth
between the form and code window is very slow, specially if I select the
form. Im in the process of trying to add control names into my code and
wanted to copy and paste each control into the function, but each time I
switch from/to the form it take about 15 to 30 secs before I have control of the form again. It could be that the enviroment is trying to check the code. Is there a way to turn off some of these features (Like auto check functions, ect...). Has anyone noticed things like that. Thanks for any suggestions.
Michael

Nov 21 '05 #3
Thanks for the reply guys,
Could it be that there are about 100 controls on the form? I'm sure that
could affect it, but the same form (same layout and controls) in VB6 I have
no trouble switching between code/form windows. I also notice that VS.net
will jump to the top of the form when I switch back to the form, if I have
scrolled down the form. I don't want that to happen either. I notice that in
the code window sometimes also. Thanks again for the info.
Michael

"rawCoder" wrote:
First , This cant be a problem of VB.NET by itself.
Whatever is the issue, its related to the Visual Studio .NET

Second, I dont have a fast PC but I can switch between design/code view in
less than a second.
Do you really think microsoft will ship a product which has 15-20 second
delay in switching from one view to another.

One can guess that there must be some problem with your hardware/software
configuration.

and yes VB.NET is VERY SLOW.

THANK YOU
rawCoder

"Michael" <Mi*****@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
Hi,
I'm new to VB.Net but have noticed a few things about the dev interface

that
is really starting to get annoying. First of all, while trying to work

with a
form and the code module for the form I notice switching back and forth
between the form and code window is very slow, specially if I select the
form. Im in the process of trying to add control names into my code and
wanted to copy and paste each control into the function, but each time I
switch from/to the form it take about 15 to 30 secs before I have control

of
the form again. It could be that the enviroment is trying to check the

code.
Is there a way to turn off some of these features (Like auto check

functions,
ect...). Has anyone noticed things like that. Thanks for any suggestions.
Michael


Nov 21 '05 #4
Michael, I've noticed in my experience that if you have the reformatting
option selected and you have very large classes with many lines of code that
there is a brief pause while the IDEchecks the format of the class, I don't
think it's 15 seconds maybe 5 on my machine (PIII 1.1g .5g ram) this happens
when you have changes and the changes are saved...
Look in Tools>Options>Text Editor>Basic>VB Specific in the VS.NET IDE
uncheck Pretty listing of code, see if that solves. I like the "pretty"
formatting myself, so I'm willing to wait the few seconds for large classes...

Dan
"Michael" wrote:
Hi,
I'm new to VB.Net but have noticed a few things about the dev interface that
is really starting to get annoying. First of all, while trying to work with a
form and the code module for the form I notice switching back and forth
between the form and code window is very slow, specially if I select the
form. Im in the process of trying to add control names into my code and
wanted to copy and paste each control into the function, but each time I
switch from/to the form it take about 15 to 30 secs before I have control of
the form again. It could be that the enviroment is trying to check the code.
Is there a way to turn off some of these features (Like auto check functions,
ect...). Has anyone noticed things like that. Thanks for any suggestions.
Michael

Nov 21 '05 #5
Michael,

Which version because 2002 was in some cases very slow.

Cor
Nov 21 '05 #6
"Michael" <Mi*****@discussions.microsoft.com> schrieb:
Could it be that there are about 100 controls on the form? I'm sure that
could affect it, but the same form (same layout and controls) in VB6 I
have
no trouble switching between code/form windows.


Windows are not cheap objects
<URL:http://blogs.msdn.com/oldnewthing/archive/2005/03/15/395866.aspx>

In VB6, labels and image controls were windowless and for this reason
required few resources, in .NET all controls are windows.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: yawnmoth | last post by:
using the gethostbyname function seems to noticeably slow down pages. some of the comments in php.net's gethostbyname entry suggest using a version that caches the result, but those versions also...
8
by: Neil | last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb with a SQL 7 back end, with forms bound using ODBC linked tables. At our remote location (accessed via a T1 line) the time...
2
by: David | last post by:
Hi, We have an internal network of 3 users. Myself & one other currently have individual copies of the front-end MS Access forms and via our individual ODBC links we have used the: File > Get...
3
by: Jennyfer J Barco | last post by:
In my application I have a datagrid. The code calls a Stored procedure and brings like 200 records. I created a dataset and then a dataview to bind the results of the query to my grid using ...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
0
by: Pratchaya | last post by:
In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log long_query_time=1 #######
2
by: mezise | last post by:
Posted by Pratchaya: ------------------------------------------------------ MySQL Slow Log ERROR In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log
13
by: eighthman11 | last post by:
using Access 2003 and sql server version 8.0 Hey everyone. Created a text box where the user types in an Inventory number and it takes them to that inventory number on the contimuous form. The...
3
by: John | last post by:
Hi I have replaced an ms access app with its vb.net version at a client site. Now the clients keeps complaining about how slow the app response is. The complains they have are for example when...
10
by: penworthamnaynesh | last post by:
Does php slow your website down? This is what i would like to know.The reason is because my site is writtent 50% in html and 50% in php and is very slow at loading. And i cant tell wether php is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.