goodmorningsky Posted June 10, 2004 Posted June 10, 2004 Does anyone have problem with Visual studio.NET? I'm using C#. Whenever developing application with VS.NET, it gives me hell of time by generating wrong code. When I move from to User interface designer, VS generate Interface or Code. But, sometimes it drops Event registring code for certain controls.. When I debug, I found wrong output, and spending whole day to find problem... all data object are ok... now I found the event of some control doesn't fire...!! OH ---...---- :eek: :eek: VS.NET droppred event registring code... Also for Web application developement, when I move from design page to code page... it mess up my code.. ( indentation, and some times VS addes some other code..) Code auto generation of VS tool is good and convenient comparing Java Window application development.. But, whenever I counter this problem... I'm pissed of....f.. From InterDev to VS.NET, no auto code generating bug is fixed..!! I understand the code parsing is difficult, but it takes too much time to fix it. I don't know what MS think of this problem.. Do you guys have this kind of problems or any other VS problems? What do you guys think of these? Please post any VS bugs you've found and struggleed with any your trick to aviod the problems if you have one.. Thank you all. Quote Sun Certified Web component Developer, Microsoft Certified Solution Developer .NET, Software Engineer
Moderators Robby Posted June 10, 2004 Moderators Posted June 10, 2004 For the ASP part do the following. VS menu item Options | HTML/XML | General| Enable virtual spaces = false Tabs | Indenting = None Tabs | Keep Tabs = true Format | When saving document = false Format |When switching design to html = false Format | Apply line breaks = false HTML Specific | Enable HTML validation = false Quote Visit...Bassic Software
*Experts* Nerseus Posted June 11, 2004 *Experts* Posted June 11, 2004 For the Windows part... I've only seen Visual Studio "eat and lose" my code in version 1.0, not the newer 1.1. It will also lose your event handlers if you cut and paste the controls. A pasted control doesn't normally keep the event handlers, from what I've seen. Also, if you use a version control system like SourceSafe, you can easily compare files before checking them in to see what's changed. It's harder to do when you're first working on a form since you'll likely have a LOT of changes and no one wants to look/compare every changed line. -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
goodmorningsky Posted June 14, 2004 Author Posted June 14, 2004 Hi,... I'm working myself on this project.., no change other change it. I know the pasted control doesn't have registered event. But, the problem is that it suddenly drops event while it working ok... That's why I got hard time to find the problem. and I'm using VS.NET 2003. I think the problem is still there... I've used VS.NET since the beta version... and suffered since that.. :o Quote Sun Certified Web component Developer, Microsoft Certified Solution Developer .NET, Software Engineer
Arch4ngel Posted June 14, 2004 Posted June 14, 2004 I'm currently using VS.NET 2003 Professional English and got absolutly no problem with that. Got Framework 1.1 installed and never had problem about VS eating my code. I had some with 2002 and Frmwrk 1.1 but no more trouble with the latest version. What is your OS ? Did you install over and old installation or is it a fresh new and clean install ? Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Rodenberg Posted June 15, 2004 Posted June 15, 2004 It happens to me all the time. I am running VS 2003 with the Framework 1.1, and on occasion my events still magically disappear. The best way to avoid wasting a lot of time trying to figure out why your controls/pages aren't behaving as expected is to remember that VS occasionally does this and you need to verify that your events still exist. Quote
Malfunction Posted June 15, 2004 Posted June 15, 2004 I'm working on a c# project (WinForms) using VSN2003 for more than six month now - not a single event got lost so far. Quote Debug me...
goodmorningsky Posted June 15, 2004 Author Posted June 15, 2004 Hi, all.. I think this is issue of environment or something we don't know. I pretty sure there is still error.. but now it rarely happens. The number of occurance may depend on the usage style of developers.. My Os: win2000 pro, C#.NET ver: 7.1.3088, .NET framework 1.1 ver: 1.1.4322 VS.NET never eats my code.. but it eats auto generated code dealing with event registring... Trust me it happended! I don't think I'm novice user confusing the problem.. it's over 2 years for me using C#.NET Quote Sun Certified Web component Developer, Microsoft Certified Solution Developer .NET, Software Engineer
Arch4ngel Posted June 15, 2004 Posted June 15, 2004 Did you plan on reinstalling your system or at least your VS.NET ? Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.