473,412 Members | 1,944 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,412 software developers and data experts.

VB.Net Text Editor stalls when I try and declare a variable

Hi,
I don't know whether this is the correct place to ask this question..anyway
here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I haven't a
clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just writing
normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable, WIN XP
or perhaps a setting (option) that I have overlooked ???

ANy help/direction appreciated.

Cheers,

Desmond.
Nov 20 '05 #1
24 1579
Cor
Hi Desmond,

Is it posible that you have on your import line things like system.mshmtl.
Have a look at those imports, it can be that one of those do this behaviour.
(mshtml will definitly do that).

I hope this helps,

Cor

"
Nov 20 '05 #2
Hi Cor...thanks for the quick reply....

I have 2 Imports....

One which Imports a project outside of the one I am working on (i.e. one of
the other 9) and that's a huge project (its the Kernel of the Project) and
another of a small piece of code...

"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi Desmond,

Is it posible that you have on your import line things like system.mshmtl.
Have a look at those imports, it can be that one of those do this behaviour. (mshtml will definitly do that).

I hope this helps,

Cor

"

Nov 20 '05 #3
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
I don't know whether this is the correct place to ask this question..anyway
here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I haven't a
clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just writing
normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable, WIN XP
or perhaps a setting (option) that I have overlooked ???


I think this behavior may be caused by the background compiler. For
some reason, there is no way to turn it off...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
So every time I change something it is verifying everything for teh WHOLE
soluton ??

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
I don't know whether this is the correct place to ask this question..anyway here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I haven't a clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just writing normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable, WIN XP or perhaps a setting (option) that I have overlooked ???


I think this behavior may be caused by the background compiler. For
some reason, there is no way to turn it off...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #5
I have the exact same problem... 350 files, 6 projects... Its irritating...

Does it take forever to load a form somteimtes as well?

"Desmond Cassidy" <De*************@T-Online.de> wrote in message
news:uj****************@tk2msftngp13.phx.gbl...
So every time I change something it is verifying everything for teh WHOLE
soluton ??

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
I don't know whether this is the correct place to ask this question..anyway here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU Time, Page Faulting like mad and I have loads of unused memory. I haven't a clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just writing normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable,
WIN
XP or perhaps a setting (option) that I have overlooked ???


I think this behavior may be caused by the background compiler. For
some reason, there is no way to turn it off...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Nov 20 '05 #6
Well CJ....I am lucky (hah) that I don't have forms...this is a black box
project...

Very surprised no reference is made to this activity in the Microsoft
site....????

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
I have the exact same problem... 350 files, 6 projects... Its irritating...
Does it take forever to load a form somteimtes as well?

"Desmond Cassidy" <De*************@T-Online.de> wrote in message
news:uj****************@tk2msftngp13.phx.gbl...
So every time I change something it is verifying everything for teh WHOLE
soluton ??

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
> I don't know whether this is the correct place to ask this

question..anyway
> here goes...
>
> I have a large solution with about 300 .vb files split into 9 projects > VB.net Framework 1.1 WinXP Pro
>
> Whilst editing, as soon as I try and enter a statement like
>
> Private strName as string
>
> Then the VS.net stalls for about 30 seconds until the cursor is usable > again, devenv.exe (from viewing with the Task Manager) is eating up

CPU > Time, Page Faulting like mad and I have loads of unused memory. I

haven't a
> clue what its doing...
>
> However when I am in a piece of code (e.g. writing a function ) just

writing
> normal stuff then I don't have this problem.
>
> Is it the size of the project and its trying to verify the variable,

WIN
XP
> or perhaps a setting (option) that I have overlooked ???

I think this behavior may be caused by the background compiler. For
some reason, there is no way to turn it off...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>



Nov 20 '05 #7
Cor
Hi Desmond,

Is it on the point

Dim a as ...................... Then it can be the import.

(It start searching all the posible types).

Cor
Nov 20 '05 #8
Actually its worse that that....

If I go up to where all the Private variables are declared and type a
carriage return then that's enough for it to stall....

"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Desmond,

Is it on the point

Dim a as ...................... Then it can be the import.

(It start searching all the posible types).

Cor

Nov 20 '05 #9
* "Cor" <no*@non.com> scripsit:
Is it on the point

Dim a as ...................... Then it can be the import.

(It start searching all the posible types).


This may also be problematic if there are /lots/ of types defined in the
solution.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #10
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
Very surprised no reference is made to this activity in the Microsoft
site....????


I am not sure where it is documented, but for very large projects,
currently performance in C# is much better because no checking is done
while typing code into the text editor window.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #11
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
So every time I change something it is verifying everything for teh WHOLE
soluton ??


I am not sure if it's the whole solution, but the background compiler
will check for syntax errors and other problems with your source code
which can be very time consuming, even in large projects.

I am not sure if it will work, but you can try to split the solution up
into some solutions and reference DLLs directly from your EXE project.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #12
There are hundreds of types defined in this project....

We are using a lot of IInterfaces,,,,
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
* "Cor" <no*@non.com> scripsit:
Is it on the point

Dim a as ...................... Then it can be the import.

(It start searching all the posible types).


This may also be problematic if there are /lots/ of types defined in the
solution.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #13
You know Herfried....that was what I was going to do next....
I have all the other other 8 projects loaded into the solution.....whereas I
am only working on one project...

So I guess I should get rid of the other 8 projects and then just add 8 dll
references ???


"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
So every time I change something it is verifying everything for teh WHOLE soluton ??


I am not sure if it's the whole solution, but the background compiler
will check for syntax errors and other problems with your source code
which can be very time consuming, even in large projects.

I am not sure if it will work, but you can try to split the solution up
into some solutions and reference DLLs directly from your EXE project.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #14
Unfortunately... a bit late in the day to change to c#.....

Have you seen any reference made to this in the MS Site,.???
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
Very surprised no reference is made to this activity in the Microsoft
site....????


I am not sure where it is documented, but for very large projects,
currently performance in C# is much better because no checking is done
while typing code into the text editor window.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #15
Cor
>
We are using a lot of IInterfaces,,,,


That is the trouble with MSHTML also

:-))

Cor
Nov 20 '05 #16
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
I have all the other other 8 projects loaded into the solution.....whereas I
am only working on one project...

So I guess I should get rid of the other 8 projects and then just add 8 dll
references ???


I have never played around with such a large VB.NET project :-().

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #17
Eh...correction.....

Add a reference to the projects 'referenced' so that its using the DLL
rather than the code....

"Desmond Cassidy" <De*************@T-Online.de> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
You know Herfried....that was what I was going to do next....
I have all the other other 8 projects loaded into the solution.....whereas I am only working on one project...

So I guess I should get rid of the other 8 projects and then just add 8 dll references ???


"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
So every time I change something it is verifying everything for teh WHOLE soluton ??


I am not sure if it's the whole solution, but the background compiler
will check for syntax errors and other problems with your source code
which can be very time consuming, even in large projects.

I am not sure if it will work, but you can try to split the solution up
into some solutions and reference DLLs directly from your EXE project.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Nov 20 '05 #18
Desmond

I don't think your solution with 9 projects and 300 vb files is
generally too large to handle for VS. We have a VB.NET solution here
with 17 projects and currently 1248 .vb files in them. We used to have
huge IDE performance problems in VS.NET 2002, i.e. stalling for 1 minute
after entering a source code line. But the problems completely went away
when we switched to VS.NET 2003 - MSFT really did a good job on
improving their background compiler! We have no timelag whatsoever now
when editing code.

things to consider IMHO:
- low memory, for a large project you should have 768 MB RAM at least
- slow CPU, anything below a P IV is not suitable
- virus scanner active, disable it for the directories where you have
the project files
- perhaps to work files in the obj directories are corrupt? --> delete
all the obj directories, this already solved many problems for me
- you *are* working on your local harddisk and don't have your project
files on a network share, are you?

I would also consider checking with filemon (www.sysinternals.com) what
the compiler is doing, perhaps he writes working files to unexpected
places or so.

Desmond Cassidy wrote:
Hi,
I don't know whether this is the correct place to ask this question..anyway
here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I haven't a
clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just writing
normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable, WIN XP
or perhaps a setting (option) that I have overlooked ???

ANy help/direction appreciated.

Cheers,

Desmond.


Nov 20 '05 #19
Hehe... Yeah... I agree... 80,000+ lines of code.... 3 months of non stop
work...

no.
"Desmond Cassidy" <De*************@T-Online.de> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
Unfortunately... a bit late in the day to change to c#.....

Have you seen any reference made to this in the MS Site,.???
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
* "Desmond Cassidy" <De*************@T-Online.de> scripsit:
Very surprised no reference is made to this activity in the Microsoft
site....????


I am not sure where it is documented, but for very large projects,
currently performance in C# is much better because no checking is done
while typing code into the text editor window.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Nov 20 '05 #20
Hi Urs,
Many thanks for a lengthy, qualified and most helpful reply.

You have almost hit the nail on the head I suppose.

I have a Pentium IV 768 Mb with Norton Anti Virus prot and I work from
home with a network share (VPN ADSL) of the project.

I have Norton Internet Security Professional but don;t seem to be able to
disable it for certain directories...I must be missing something in the
documentation. ??

I will now download FileMON and have a look at the activity....I havn't seen
one of these programs since the early days on RSTS/E and VMS (The best one
was a utility for RSTS/E by a comapany knowns as Software techniques of
Gloucestershire. I love these utilities.....it basically takes away a lot of
the guesswork....

I have an opportunity in the next few weeks to migrate to Winserver2003 and
VS.Net 2003 so that certainly looks like a viable option.

I'll let you know my findings....

Again, many thanks,

Desmond.

"Urs Eichmann" <no****@nospam.ch> wrote in message
news:O4**************@TK2MSFTNGP12.phx.gbl...
Desmond

I don't think your solution with 9 projects and 300 vb files is
generally too large to handle for VS. We have a VB.NET solution here
with 17 projects and currently 1248 .vb files in them. We used to have
huge IDE performance problems in VS.NET 2002, i.e. stalling for 1 minute
after entering a source code line. But the problems completely went away
when we switched to VS.NET 2003 - MSFT really did a good job on
improving their background compiler! We have no timelag whatsoever now
when editing code.

things to consider IMHO:
- low memory, for a large project you should have 768 MB RAM at least
- slow CPU, anything below a P IV is not suitable
- virus scanner active, disable it for the directories where you have
the project files
- perhaps to work files in the obj directories are corrupt? --> delete
all the obj directories, this already solved many problems for me
- you *are* working on your local harddisk and don't have your project
files on a network share, are you?

I would also consider checking with filemon (www.sysinternals.com) what
the compiler is doing, perhaps he writes working files to unexpected
places or so.

Desmond Cassidy wrote:
Hi,
I don't know whether this is the correct place to ask this question..anyway here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I haven't a clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just writing normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable, WIN XP or perhaps a setting (option) that I have overlooked ???

ANy help/direction appreciated.

Cheers,

Desmond.

Nov 20 '05 #21
Desmond,
you should *never ever* work with a network share when you edit a
project with VS.NET!! This is because VS.NET will put lots of temp files
right in the project folders (namely into all the OBJ directories!)
which will of course be much slower than when you work on your local
hard drive!

Instead use VSS (Visual Source safe) or a similar versioning system to
move files back and forth from a server to your local machine.

Regards,
Urs
Desmond Cassidy wrote:
Hi Urs,
Many thanks for a lengthy, qualified and most helpful reply.

You have almost hit the nail on the head I suppose.

I have a Pentium IV 768 Mb with Norton Anti Virus prot and I work from
home with a network share (VPN ADSL) of the project.

I have Norton Internet Security Professional but don;t seem to be able to
disable it for certain directories...I must be missing something in the
documentation. ??

I will now download FileMON and have a look at the activity....I havn't seen
one of these programs since the early days on RSTS/E and VMS (The best one
was a utility for RSTS/E by a comapany knowns as Software techniques of
Gloucestershire. I love these utilities.....it basically takes away a lot of
the guesswork....

I have an opportunity in the next few weeks to migrate to Winserver2003 and
VS.Net 2003 so that certainly looks like a viable option.

I'll let you know my findings....

Again, many thanks,

Desmond.

"Urs Eichmann" <no****@nospam.ch> wrote in message
news:O4**************@TK2MSFTNGP12.phx.gbl...
Desmond

I don't think your solution with 9 projects and 300 vb files is
generally too large to handle for VS. We have a VB.NET solution here
with 17 projects and currently 1248 .vb files in them. We used to have
huge IDE performance problems in VS.NET 2002, i.e. stalling for 1 minute
after entering a source code line. But the problems completely went away
when we switched to VS.NET 2003 - MSFT really did a good job on
improving their background compiler! We have no timelag whatsoever now
when editing code.

things to consider IMHO:
- low memory, for a large project you should have 768 MB RAM at least
- slow CPU, anything below a P IV is not suitable
- virus scanner active, disable it for the directories where you have
the project files
- perhaps to work files in the obj directories are corrupt? --> delete
all the obj directories, this already solved many problems for me
- you *are* working on your local harddisk and don't have your project
files on a network share, are you?

I would also consider checking with filemon (www.sysinternals.com) what
the compiler is doing, perhaps he writes working files to unexpected
places or so.

Desmond Cassidy wrote:

Hi,
I don't know whether this is the correct place to ask this
question..anyway
here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I
haven't a
clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just
writing
normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable, WIN
XP
or perhaps a setting (option) that I have overlooked ???

ANy help/direction appreciated.

Cheers,

Desmond.



Nov 20 '05 #22
Hi Urs,
Well that is not entirely true....

The VSS Project is in a network share but I have set a 'Working folder'
locally ...every morning I do a 'Get Latest Version' so as I can get the
latest mods made by the othere developers. So everything is local when I am
editing.

Via the Filemon utility I found that when I type a carriage return after I
declare a variable
e.g. Private strJunk as String
then I monitor 2,922 Requests and these are just SUCCESS operations
(IRP_MJ_CREATE) through ALL directoies of the project. It seems to me that
this is where the problem is...isn't there a way of only having to reference
the DLL of the associated projects when I do what I just did ?? Exactly the
same thing happens when I delete the Carriage return !!

I'm a bit lost here for words or ideas for that point.

Cheers,
Desmond.


"Urs Eichmann" <no****@nospam.ch> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Desmond,
you should *never ever* work with a network share when you edit a
project with VS.NET!! This is because VS.NET will put lots of temp files
right in the project folders (namely into all the OBJ directories!)
which will of course be much slower than when you work on your local
hard drive!

Instead use VSS (Visual Source safe) or a similar versioning system to
move files back and forth from a server to your local machine.

Regards,
Urs
Desmond Cassidy wrote:
Hi Urs,
Many thanks for a lengthy, qualified and most helpful reply.

You have almost hit the nail on the head I suppose.

I have a Pentium IV 768 Mb with Norton Anti Virus prot and I work from home with a network share (VPN ADSL) of the project.

I have Norton Internet Security Professional but don;t seem to be able to disable it for certain directories...I must be missing something in the
documentation. ??

I will now download FileMON and have a look at the activity....I havn't seen one of these programs since the early days on RSTS/E and VMS (The best one was a utility for RSTS/E by a comapany knowns as Software techniques of
Gloucestershire. I love these utilities.....it basically takes away a lot of the guesswork....

I have an opportunity in the next few weeks to migrate to Winserver2003 and VS.Net 2003 so that certainly looks like a viable option.

I'll let you know my findings....

Again, many thanks,

Desmond.

"Urs Eichmann" <no****@nospam.ch> wrote in message
news:O4**************@TK2MSFTNGP12.phx.gbl...
Desmond

I don't think your solution with 9 projects and 300 vb files is
generally too large to handle for VS. We have a VB.NET solution here
with 17 projects and currently 1248 .vb files in them. We used to have
huge IDE performance problems in VS.NET 2002, i.e. stalling for 1 minute
after entering a source code line. But the problems completely went away
when we switched to VS.NET 2003 - MSFT really did a good job on
improving their background compiler! We have no timelag whatsoever now
when editing code.

things to consider IMHO:
- low memory, for a large project you should have 768 MB RAM at least
- slow CPU, anything below a P IV is not suitable
- virus scanner active, disable it for the directories where you have
the project files
- perhaps to work files in the obj directories are corrupt? --> delete
all the obj directories, this already solved many problems for me
- you *are* working on your local harddisk and don't have your project
files on a network share, are you?

I would also consider checking with filemon (www.sysinternals.com) what
the compiler is doing, perhaps he writes working files to unexpected
places or so.

Desmond Cassidy wrote:
Hi,
I don't know whether this is the correct place to ask this


question..anyway
here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I


haven't a
clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just


writing
normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable,
WIN
XP
or perhaps a setting (option) that I have overlooked ???

ANy help/direction appreciated.

Cheers,

Desmond.


Nov 20 '05 #23
OK...I have worked out why the overhead exists.....Namespaces.

I have defined a Namespace fro my class module to be

Namespace X.Y.CompanyName.CompanyProject
....
....
....
End Namespace

Where X is the Solution top level, Y is the Software Project (1 of 9 as I
mentioned)...

This meant that every time I entered into a class a Return then it went
through eveything in the hierarchy that the top Namespace had under it....

I took out the Namespace declaration (as no other module references it) and
E=mc2 suddenly exposed itself...like lightning...

I have searched high and low in Google for stuff like Namespace
overhead...nothing....

Could somebody enlighten me as to what I am leaving myself open to by NOT
including my Code under a Namespace as described above ??

Cheers,

Desmond.

"Desmond Cassidy" <De*************@T-Online.de> wrote in message
news:O9**************@TK2MSFTNGP11.phx.gbl...
Hi,
I don't know whether this is the correct place to ask this question..anyway here goes...

I have a large solution with about 300 .vb files split into 9 projects
VB.net Framework 1.1 WinXP Pro

Whilst editing, as soon as I try and enter a statement like

Private strName as string

Then the VS.net stalls for about 30 seconds until the cursor is usable
again, devenv.exe (from viewing with the Task Manager) is eating up CPU
Time, Page Faulting like mad and I have loads of unused memory. I haven't a clue what its doing...

However when I am in a piece of code (e.g. writing a function ) just writing normal stuff then I don't have this problem.

Is it the size of the project and its trying to verify the variable, WIN XP or perhaps a setting (option) that I have overlooked ???

ANy help/direction appreciated.

Cheers,

Desmond.

Nov 20 '05 #24
Desmond,
The VSS Project is in a network share but I have set a 'Working folder'
locally ...every morning I do a 'Get Latest Version' so as I can get the
latest mods made by the othere developers. So everything is local when I am
editing.
Ah from our previous post I thought you don't use VSS at all.

Via the Filemon utility I found that when I type a carriage return after I
declare a variable
e.g. Private strJunk as String
then I monitor 2,922 Requests and these are just SUCCESS operations
(IRP_MJ_CREATE) through ALL directoies of the project. It seems to me that
this is where the problem is...isn't there a way of only having to reference
the DLL of the associated projects when I do what I just did ?? Exactly the
same thing happens when I delete the Carriage return !!


I'm not quite sure if you presently still use VS.NET 2002? Because I saw
this very behaviour with the old version. With VS.NET 2003 the problem
went away completely.

Cheers,
Urs

Nov 20 '05 #25

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

Similar topics

4
by: Tom_ZC | last post by:
I'm writing a find and replace routine for a text editor I'm working on. The editor has a rich text box on the main form (frmMain). The find/replace form is modeled after the one in Word '97/2K. ...
3
by: Java script Dude | last post by:
I have still yet to see a JavaScript Editor that comes close to reading a good JS book, learing it and using it with a text editor. Anyway, here my recipe for build successfull DHTML...
1
by: IkBenHet | last post by:
Hello, I found this script to create a simple rich text form (http://programmabilities.com/xml/index.php?id=17): <html> <head> <title>Rich Text Editor</title> </head> <body>
8
by: lkrubner | last post by:
PHP does not ask developers to declare their variables. You can simply create a variable on the fly. That is nice for small scripts and a headache for large projects. Is there editor out there that...
2
by: Rudy Ray Moore | last post by:
Hi guys, I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6. Some things I like (proper for loop variable scoping, for example), but some other things are troubling me. One...
15
by: d4 | last post by:
I have a vbscript (below) I want to rewrite in C# but I cannot get it to work (unless there is a better way to do it). The script will combine 2 lines if the (next) line contains a "+",...
11
by: karen987 | last post by:
I have a web page which used to work fine until i added a rich text editor. the pages are in ASP and it is a news weblog, with a comments section where people click the headline of a comment and...
8
by: Jothishankar | last post by:
Hi, I am new to c#. I am trying to build an application that does backup of files to an external hard disk. My application behaves strangely. When i run the application under debug mode (F5),...
3
by: cwinay | last post by:
Hey guys, I couldn't find a dedicated hardware section here so I picked this section to ask my question assuming that system administrators of all kind hit this forum. Guide me to an appropriate...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.