I teach programming and I am teaching a class in VB
.NET. Until two weeks ago I was 'playing with VB2008' and we had VB6 at the college where I teach, now they have installed VB
.Net 2002. I start teaching next week so must move on FAST.
I have now re-created most of my worked examples and worksheets, notes are 'in progress'.
I have noticed one or two things I do not understand.
Several times I have 'lost work' I am 100% sure I did not delete any of the 'windows generated code'.
I think after completing an example and got it working I started to rename controls from default (form1, textbox1 et al) to naming convention names (to set a good example).
What happened the form view and code view disappeared. So I could correct nothing.
I think my students will do the same trick whatever it was! All renaming was done in the IDE using properties.
How I create my examples.
1. write a small program to demonstrate say how to code a combo box.
2. copy (1) and change foldername from combobox combobox_props an example showing setting up combobox list items using properties.
3. copy (1) and change foldername from combobox combobox_Code and change code / properties to setup the list items in code.
4. copy (1) and change foldername from combobox combobox_run allowing user to change the combo box items at run time.
The problem occurs when I try to take the renaming beyond the folder level and down into the project.