473,471 Members | 4,687 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VB.NET Automatic code typing features

Hi there,

Either I have come across some kind of "undocumented feature" or I have
a rather curiously irritating bug. When typing the intellisense is going
into full bork mode and actually typing for me, this bug is irratic but I'll
give you an idea...

If (...)
el()se
End If

If you look at the above you will se some round brance mysteriously
inside the else word, if I delete this line and type it again, I can get as
far as l before it trows the braces back in. The only way I managed to stop
it was by deleting the entire statement and writing it again.

I also just experienced it with opening a region

#Region "This" is a test

^ Weird huh? I certainly didnt put the closing quotes there, they
appeared on their own. The text editor also becomes extremely slow and
jerky.

Anyone else experienced this?

Nick.
Mar 13 '06 #1
8 1176
BTW this is with VS.NET 2005 using VB, not sure if it's doing it with any
other language...

"NickP" <a@a.com> wrote in message
news:ey**************@TK2MSFTNGP09.phx.gbl...
Hi there,

Either I have come across some kind of "undocumented feature" or I have
a rather curiously irritating bug. When typing the intellisense is going
into full bork mode and actually typing for me, this bug is irratic but
I'll give you an idea...

If (...)
el()se
End If

If you look at the above you will se some round brance mysteriously
inside the else word, if I delete this line and type it again, I can get
as far as l before it trows the braces back in. The only way I managed to
stop it was by deleting the entire statement and writing it again.

I also just experienced it with opening a region

#Region "This" is a test

^ Weird huh? I certainly didnt put the closing quotes there, they
appeared on their own. The text editor also becomes extremely slow and
jerky.

Anyone else experienced this?

Nick.

Mar 13 '06 #2
I used to see this in VS2003, but it was caused by an add-in that would
auto save my project every 5 minutes. If I happened to be typing the
el when the autosave hit, it would insert the ().

Don't know if this is your problem or not, but perhaps it will help.

Mar 14 '06 #3
Hi Chris,

Ah that's interesting I shall have to remember that if it happens again
in the future, unfortunately I am having to reinstall at the moment, repair
install kept failing :-(

I think I had some DevExpress add-ins installed, not that I'm blaming
those of course but at least it gives me something to look at next time it
happens. Cheers for your help, it's much appreciated.

Nick.

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...
I used to see this in VS2003, but it was caused by an add-in that would
auto save my project every 5 minutes. If I happened to be typing the
el when the autosave hit, it would insert the ().

Don't know if this is your problem or not, but perhaps it will help.

Mar 14 '06 #4
VS2205 has an auto save recovery information feature, but I'm not sure
if that will cause the problem or not. That might be worth looking
into as well.

Mar 15 '06 #5
Cheers I'll check it out as it has happened once today so far :-(

Thanks for your help.

Nick.

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...
VS2205 has an auto save recovery information feature, but I'm not sure
if that will cause the problem or not. That might be worth looking
into as well.

Mar 16 '06 #6
Just to add....

case WM_KEYDOWN:
{
int keyCode = (int)wParam;
switch (keyCode)
{
case VK_LMENU: //Left ALT
{
MessageBox(NULL, "left POP!", "", 0);
break;
}
case VK_RMENU: //Right ALT
{
MessageBox(NULL, "right POP!", "", 0);
break;
}
case VK_PRIOR: //Page Up
{
MessageBox(NULL, "foobar!", "", 0);
break;
}
}
break;
}

Only Page Up gets detected in the keydown, where is ALT going?!

Nick.

"NickP" <a@a.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Cheers I'll check it out as it has happened once today so far :-(

Thanks for your help.

Nick.

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...
VS2205 has an auto save recovery information feature, but I'm not sure
if that will cause the problem or not. That might be worth looking
into as well.


Mar 17 '06 #7
But VK_MENU gets fired on Key Down only with the Right ALT, not the Left...

Sorry to go on...

Nick.

"NickP" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Just to add....

case WM_KEYDOWN:
{
int keyCode = (int)wParam;
switch (keyCode)
{
case VK_LMENU: //Left ALT
{
MessageBox(NULL, "left POP!", "", 0);
break;
}
case VK_RMENU: //Right ALT
{
MessageBox(NULL, "right POP!", "", 0);
break;
}
case VK_PRIOR: //Page Up
{
MessageBox(NULL, "foobar!", "", 0);
break;
}
}
break;
}

Only Page Up gets detected in the keydown, where is ALT going?!

Nick.

"NickP" <a@a.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Cheers I'll check it out as it has happened once today so far :-(

Thanks for your help.

Nick.

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...
VS2205 has an auto save recovery information feature, but I'm not sure
if that will cause the problem or not. That might be worth looking
into as well.



Mar 17 '06 #8
FFS Wrong group!!!!

*puts brain back in*

"NickP" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Just to add....

case WM_KEYDOWN:
{
int keyCode = (int)wParam;
switch (keyCode)
{
case VK_LMENU: //Left ALT
{
MessageBox(NULL, "left POP!", "", 0);
break;
}
case VK_RMENU: //Right ALT
{
MessageBox(NULL, "right POP!", "", 0);
break;
}
case VK_PRIOR: //Page Up
{
MessageBox(NULL, "foobar!", "", 0);
break;
}
}
break;
}

Only Page Up gets detected in the keydown, where is ALT going?!

Nick.

"NickP" <a@a.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Cheers I'll check it out as it has happened once today so far :-(

Thanks for your help.

Nick.

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...
VS2205 has an auto save recovery information feature, but I'm not sure
if that will cause the problem or not. That might be worth looking
into as well.



Mar 17 '06 #9

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

Similar topics

242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
6
by: Weng kin | last post by:
Hi everyone, I have a problem trying to load an image without the image resizing itself to fit into the window. My simple javascript is as follows: function viewImage(filename) { features =...
1
by: | last post by:
Hi! Can someone tell me can I use MsBuild with NuNit today? Or is MsBuild only available for MSDN subscriptions ? Or what do you use for an automatic build process + automatic NuNit testing....
7
by: bartek | last post by:
Please consider the following scenario below (sketch of). There are two templates defined: A and B, both with mutual conversion operators defined. Also, there's a free function template...
67
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
15
by: fbachri | last post by:
Hi, I have a form with 1 textbox in the header form area and data in continuous form style in detail area. i would like to make an automatic filter. so when i type a character the data in the...
4
by: Petterson Mikael | last post by:
Hi, Anyone out there that knows of a automatic test generation tool for cpp? Another requirement is that the test results should be presented in xml. All hints appreciated. cheers, ...
58
by: Jorge Peixoto de Morais Neto | last post by:
I was reading the code of FFmpeg and it seems that they use malloc just too much. The problems and dangers of malloc are widely known. Malloc also has some overhead (although I don't know what is...
17
by: Sunburned Surveyor | last post by:
I was thinking of a way I could make writing Python Class Files a little less painful. I was considering a Ptyhon script that read a file with a list of property names and method names and then...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
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: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.