 |
Bug in VS2005? Using Typed DataSets with SQL 2005 and stored procedures
Dave Howard (6664 views)
Bug in VS2005? Using Typed DataSets with SQL 2005 and stored procedures
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/View72C81AA0-44A5-4E2C-8903-B1EA7D7643EA.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla
|
 |
System tray and balloon tips
Dave Howard (6147 views)
Balloon Tips from the System Tray
You can really easily add system tray function to .NET windows forms by dragging the NotifyIcon object onto your form.
You can then use this to display balloon tips from the system tray with the code below:
#c#myNotifyIcon.ShowBalloonTip(500, "Title", "Ti
|
 |
Serializing abstract classes to XML
Dave Howard (5928 views)
Serializing abstract classes to XML
Digg it: http://digg.com/programming/Serializing_abstract_classes_to_XML_in_c
It is often useful to have abstract classes with several derived types to allow use of strongly typed lists and the such.
For example you might have a DocumentFragment class w
|
 |
Changing Schema for a group of objects
Dave Howard (5711 views)
Changing Schema for a group of objects
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/View4384ACEC-8C9D-452A-83F6-230FFE43C17B.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/View4384ACEC-8C9D-452A-83F
|
 |
Strongly Typed DataSets and GridViews
Dave Howard (5679 views)
Strongly Typed DataSets and GridViews
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/ViewF9581DAE-CCF8-49FF-844C-7498603E0005.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/ViewF9581DAE-CCF8-49FF-84
|
 |
Updating Foreign keys in a GridView
Dave Howard (5102 views)
Updating Foreign keys in a GridView
#$#<a href="http://www.dotnetkicks.com/kick/?url=http://www.geekzilla.co.uk/ViewD7E7F40C-85F7-47D8-89DE-0FB5F7AFAAE5.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.geekzilla.co.uk/ViewD7E7F40C-85F7-47D8-89DE
|
 |
Strongly Typed Dataset doesn't always auto generate DELETE and UPDATE stored procedures
Dave Howard (3708 views)
Strongly Typed Dataset doesn't always auto generate DELETE and UPDATE stored procedures
I found this problem whilst creating a STD that included a many to many relationship between two tables.
I created a table consisting of the two foreign keys and appropriate constraints to support the rel
|
 |
Strongly Typed Dataset doesn't always auto generate DELETE and UPDATE stored procedures
Dave Howard (3708 views)
Strongly Typed Dataset doesn't always auto generate DELETE and UPDATE stored procedures
I found this problem whilst creating a STD that included a many to many relationship between two tables.
I created a table consisting of the two foreign keys and appropriate constraints to support the rel
|
 |
Clear your Visual Studio Recent projects list
Paul Marshall (3645 views)
Clear your Visual Studio Recent projects list
If you do a lot of tinkering in VS2005 and you want to clear down your recent projects list, this can be easily achieved by some simple registry editing
#h#HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList
You will find a li
|
 |
Handy Keyboard Shortcuts for c# 2005
Paul Hayman (3315 views)
Handy Keyboard Shortcuts for c# 2005
The following keyboard shortcuts I find invaluable. It's amazing how many people still use the mouse to do everything.
Document navigation
||Ctrl+Tab|| Switch documents||
||Ctrl+Shift+Tab|| Reverse switch documents||
||Ctrl+kk|| Drop a bookmark||
||
|
 |
Extending Strongly Typed Datasets
Dave Howard (3164 views)
Extending Strongly Typed Datasets
Strongly Typed Datasets are a rather nice addition to VS2005 (they don't lend themselves well to acronyms however)
You still need to create a database and tables and realationships but using STDs saves a writing huge amount of code.
If this code were gene
|
 |
Why not on by defaut? Turn on auto HTML attribute quotes in 2005
Paul Hayman (2921 views)
Why not on by defaut? Turn on auto HTML attribute quotes in 2005
Holy cow Why wasn't this on by default??? How annoying is it that when typing in the HTML Source editor window Visual Studio doesn't add the "" for you automatically?? If it's going to complain profusely about the missing quotes
|
 |
Missing VS2005 Templates
Barrington Haynes (2279 views)
Missing VS2005 Templates
If you are having problems with missing VS2005 templates, then the following command run from the VS2005 command prompt may resolve your problems.
devenv /installvstemplates
|