By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,463 Members | 771 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,463 IT Pros & Developers. It's quick & easy.

VisualStudio 2003

P: n/a
Is there any way to have VisualStudio stop modifying code behind files
automatically? I'm trying to change the base case and add a handler
in the InitializeComponent Sub and VS keeps wiping out the code I
place in this sub whenever I touch the page visually.
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
InitializeComponent is meant to be used by the VS designer, and it
regenerates it all the time. Put your code elsewhere.

"Anthony DePinto" <ad******@idmi.net> wrote in message
news:8d*************************@posting.google.co m...
Is there any way to have VisualStudio stop modifying code behind files
automatically? I'm trying to change the base case and add a handler
in the InitializeComponent Sub and VS keeps wiping out the code I
place in this sub whenever I touch the page visually.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.