|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.NET Automatic code typing featuresEither 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. BTW this is with VS.NET 2005 using VB, not sure if it's doing it with any
other language... Show quoteHide quote "NickP" <a@a.com> wrote in message news:eyt$bsqRGHA.3192@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. > 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. 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. Show quoteHide quote "Chris Dunaway" <dunaw***@gmail.com> wrote in message news:1142346984.595366.19760@j33g2000cwa.googlegroups.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. > 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. Cheers I'll check it out as it has happened once today so far :-(
Thanks for your help. Nick. Show quoteHide quote "Chris Dunaway" <dunaw***@gmail.com> wrote in message news:1142440312.691521.282640@e56g2000cwe.googlegroups.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. > 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. Show quoteHide quote "NickP" <a@a.com> wrote in message news:%23iWfZ6RSGHA.776@TK2MSFTNGP09.phx.gbl... > Cheers I'll check it out as it has happened once today so far :-( > > Thanks for your help. > > Nick. > > "Chris Dunaway" <dunaw***@gmail.com> wrote in message > news:1142440312.691521.282640@e56g2000cwe.googlegroups.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. >> > > But VK_MENU gets fired on Key Down only with the Right ALT, not the Left...
Sorry to go on... Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:%23SE4MWaSGHA.4264@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:%23iWfZ6RSGHA.776@TK2MSFTNGP09.phx.gbl... >> Cheers I'll check it out as it has happened once today so far :-( >> >> Thanks for your help. >> >> Nick. >> >> "Chris Dunaway" <dunaw***@gmail.com> wrote in message >> news:1142440312.691521.282640@e56g2000cwe.googlegroups.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. >>> >> >> > > FFS Wrong group!!!!
*puts brain back in* Show quoteHide quote "NickP" <a@a.com> wrote in message news:%23SE4MWaSGHA.4264@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:%23iWfZ6RSGHA.776@TK2MSFTNGP09.phx.gbl... >> Cheers I'll check it out as it has happened once today so far :-( >> >> Thanks for your help. >> >> Nick. >> >> "Chris Dunaway" <dunaw***@gmail.com> wrote in message >> news:1142440312.691521.282640@e56g2000cwe.googlegroups.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. >>> >> >> > >
Adding Button Programmatically REDUX - STILL NONFUNCTIONAL
"ambiguous" problem with VB.NET 2005 ComboBox ReadOnly Problem with DataRelation Direct input into DataGrid? Help with first multi-thread app pls? Please help! Database won't update Visual Basic .net and DirectX Access a textbox on a report form From Windows application to ASP.Net Web Application |
|||||||||||||||||||||||