Archives
-
Things to be Thankful for in .Net
I found this on David Hill's blog:
-
IDE Hotfix
KB Article Number(s): 822690
-
Click Once is just around the corner
http://msdn.microsoft.com/vbasic/default.aspx?pull=/library/en-us/dnreal/html/realworld12012004.asp
-
Why is Bill the man?
-
MSDN Event in Richmond, VA
It's been a while for us:
-
ADO.NET: Is my data really dirty?
Example: User changes the value in a databound control. Users changes the value back to it's original value. User initiates a Commit\Save.
-
Beware Fertile Male Laptop Users
-
Pragmatic ADO.NET by Shawn Wildermuth
Shawn has given me a lot of good advise on different LISTSERVS. So, I figured it was time I purchased his book and read it.
-
If you could work with anyone for a week, who would it be?
If you could spend one week working and learning with an industry guru, who would it be?
-
Custom Exceptions, Inherit from what type?
I have heard ApplicationException. I have heard Exception.
-
System.Data.RowNotInTableException
I got this exception for the first time today:
-
Having some fun with VS IDE
Try this out. Download Filemon. Add a filter for devexe. Open up the IDE, View Code or View Designer on a file.
-
Tokens and Security Context
Tip of the day, when logging information for diagnosing a problem, or simply logging an error (log file, event viewer, etc) make sure you are logging the program's security context as far as the operating system system is concerned (Keith Brown: The .Net Developers Guide to Windows Security).
-
Strange Windows 98 bug with V 1.1 of the framework
The below code makes sure that the user running this code is an Administrator:
-
The Developer's Guide to Windows Security
This bad boy just landed on my desk. I am sure it will take me a while to read this.
-
Book Review: Best Kept Secrets in .NET
I completed reading this book over the weekend. Rather than do an overall review, I will do a chapter-by-chapter review.
-
Janus rocks
I usually do not do this or use this forum to plug a 3rd party vendor, but I have to ;-)
-
Our intern started this week
Our intern started this week. He comes in from 1-5pm. We have him looking at FxCop, Nunit and Draco for us. Things we want to implement, just no time. I could give him a hammer and some nails and he would have a house built in a week; he is that smart.
-
Quote of the day
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
--Brian Kernighan -
For the ASP.NET Folks: Must Read
http://dotnetjunkies.com/WebLog/dougseven/archive/2004/10/06/27853.aspx
-
Changing primary key value when using DataRelations: BUG Found
We have a Windows Forms application with controls bound to a parent row and a child row. When we change the primary key value in the parent table (at runtime per some user action), we do not see a different child row in the controls bound to the child datarelation . We have cascading updates turned off so the child key values do not get changed.
-
Attention User Group Speakers
Richmond, Virginia
-
Potential .NET opportunities in Richmond, VA
I am aware of a possible VB.NET, Windows Forms position in Richmond, VA, starting sometime around the first of the year. This position is not a definite to date.
-
Best Kept Secrets in .NET
Just got my copy of this book from Apress to review. I read the first chapter last night. I learned a few new tricks that I will use right away.
-
Editing a control that is not databound
Lesson learned this week. We have a form with controls bound to a DataTable. When editing a field in the DataTable that was not bound to a control, we tried to do the following:
-
Career advise
In case you missed this one:
-
APress has asked me to review some .NET books
-
My Latest Favorite Site
My new favorite site:
-
Part time job opportunity
Greg Robinson
Custom Data Systems, Inc.
www.cds-am.net -
Coder to Developer: Book Review
I just finished reading Mike Gunderloy's book "Coder to Developer".
-
DateTime type and Time Zones
Our WinForms app needs to make adjustments for time zones and dates as the data is accessible via .NET Remoting. This means a user can be in Texas and the data store could be in Virginia.
-
.NET Remoting and the customErrors tag
To continue on my remoting rant.....
-
.NET Remoting and Multiple Threads...beware
I have spent 5 days debugging our application, which uses .net remoting, only to discover the issue was with multiple threads.
-
Lets give authoring a book another try
Well, I have done it again. I have agreed to co-author a book for Sybex. After my horrible experience with Wrox, I did not think I would ever write again.
-
Wow, am I flattered to be a VB Blogger
Paul Vick just posted the results of his survey and I made the top of the list:
-
An Extender Provider for control security
This is a small example of how you can use an Extender Provider to set a controls Visibility, or Enabled, or ReadOnly, etc Property:
-
BindingManager does not update control bound to a Child table
I think this is a bug.
-
Need to disable\enable a Form's Close button
Here's a snippet that may help:
-
Object Thinking...Where are the good developers?
I started reading "Object Thinking" this week. If you've got $30 laying around, buy it. Its an interesting read.
-
Where are my constructors??!!
I build all day long. Suddenly, the build tells me a type has no constructors and sends me here:
-
Validating Event and GotFocus Event...possible bug
Try this out. Create a windows application. Drag 2 textboxes onto the form. Leave the default Text.
-
ListChangedType Enumeration: How much is much
Just curious. The docs state:
-
Setting CausesValidation in a UserControl
Try this out:
-
Calling Merge and AcceptChanges on DataSet
When the Merge or AcceptChanges methods are called on a DataSet, the DataSet notifies all the DataViews bound to it that they must reset the list they are handling and the DataView notifies this to all the bound controls.
-
CancelCurrentEdit docs are a little misleading
I am seeing cases in our app where calls to CancelCurrentEdit are not Rejecting changes made by the user. I have to manually call RejectChanges on the datasource after calling CancelCurrentEdit. I assumed the call to CancelCurrentEdit would RejectChanges made to the datasource; at least that is what the docs state:
-
Great, more ammunition for the C# folks
-
Validating Event and Dialogs
We handle the Validating Event for a textbox on a form. Inside this event, we run some checks and throw up a Yes\No MessageBox. Doing this causes some strange behaviors.
-
.NET Guide to Security
Keith Brown does it again:
-
FREE XDN Professional for .NET Bloggers during May 2004
FREE XDN Professional for .NET Bloggers during May 2004
Mike Schinkel, president of Xtras.Net, made an offer on his personal blog of a free XDN Professional membership (http://www.xtras.net/xdn) during the month of May 2004 for anyone that blogs about .NET frequently. If you are a .NET blogger, see Mike's post for how to get your free XDN membership. -
BUG: Setting CancelEventArgs to True is failing
We are handling the Validating event for a control. If a conditional test fails in this event handler, we set CancelEventArgs = True and call SetError on ErrorProvider :
-
Implementing No Touch Deployment without going through IE
Per this article:
-
Next .NET UG Meeting
This is a reminder that the next meeting of the Richmond.NET User Group will take place tomorrow, May 20, 2004, at 6:30PM. Once again, the meeting will be held at Fahrenheit Technology in Innsbrook.
-
View ---> Tab Order in WinForms
OK, I officially dislike this feature.
-
Auto-Generating Wrapper Classes for Stored Procedures
This is an interesting read on writing wrapper classes for sprocs:
-
Problems with the NumericUpDown Control
I have been testing with this control and I have discovered what i think is a bug.
-
So who was watching the twins ?
Who was watching the twins? Chandelor, Monica, Joey? Nope, they were all in Joey's appt. I think the producers of Friends missed that one last night.
-
FirstReturnedRecord kicked my butt
After who knows how many hours of 'why is this not working', I have finally figured this out. I hope my pain will lesson yours.
-
I am canceling all .NET Technical Publication subscriptions
MSDN this Month: 95% Longhorn
-
Calendar only works if Outlook is open
I've gotten in the habit of closing applications once I am done with them. Well, duh, Microsoft Calendar only works if Outlook is open. Missing 2-3 appointments was a tough way to learn this.
-
Update on our XPish process
We finished iteration #3, 2 days behind schedule. The customer knew this ahead of time and agreed to it. Actually, the customer suggested the extra 2 days.
-
Why do I care what it looks like inside Microsoft
There is quite a bit of blog traffic regarding Channel9 and something about a video showing what it looks like inside MS. Me, I could care less. No more than I care what it looks like in other folk's office. Walls, pictures, floors, monitors, pens, paper, phones, etc.
-
Brian Noyes
Finally ripped the plastic off my May 2004 msdn magazine, and I see Brian's Click Once article was published. Congrats Brian! Brian recently spoke at one of our .NET UG Meetings. He is a great speaker and is well versed in .NET.
-
Assigning a DefaultValue for a sql server uniqueidentifier datatype: NewGuid
One of our Datatables pk is a uniqueidentifier. I could not figure out how to set the DefaultValue for this DataColumn.
-
the dreaded licenses.licx file and the IDE
After about 2-3 hours of hair pulling, I now have this figured out (thanks Jose).
-
why so many instances of devenv.ex running?
One of our developers could not get a build to work....'being used by another process' error.
-
a stupid thing I do over and over and over....and then I did it again!
So today I am testing some code. I keep getting a NullRef Exception. I am beating my head against my desk why.
-
VS.NET and versioning conflicts
Well, it finally happened. DLL Hell all over. The below comes from a very reliable source. When using a patch or new version of an assembly within the IDE, you will need to know this.
-
Filtering Spam
If you use Outlook and need to filter spam, for free, use SpamBayes:
-
DataAdapter.Update Bug
Our Select from a sql server table returns 15 columns. Back on the client, we add 2 custom DataColumns that have expressions assigned to them. We databind to these custom DataColumns for display purposes only.
-
My Newest XM Radio station to code to
Channel 80, The Move
-
Hats off to Janus
We love the Janus controls. We had to extend their CalendarCombo to handle 'our' default date in sql server, which is 1/1/1800. Overall, our enhancement to their control for our requirement works well.
-
The Accord cigarette
OK, I am now pissed. Phillip Morris stole my idea:
-
Whats a blog...whats a RSS
Aaron Skonnard has just published a nice article on this:
-
DotNetDevs
Brad Wilson has launched a cool new site:
-
How is Extreme Programming going so far
We've been having our 5-10 minute stands up. Good.
-
5 minute stand up meetings
We started having our 5 minute stand up meetings (Extreme Programming) this week. Wow was this painful and awkward at first.
-
Validating controls on a TabPage at one time using the Validating event
How do you Validate all of the controls on a TabPage at one time and set focus to one of the controls that fails validation?
-
Brian Noyes WebLog
If you are not listening:
-
Wow is it tough being a Project Manager and a full time developer
I have walked these two lines carefully for about 2 years now. Now, we are getting heavy into process. This means my Project Manager time is increasing. Man, its tough doing both. I feel like I am 90 years old at times. My memory is failing me, I am getting tasks confused, I show up to a meeting not even knowing what we are talking about when I called the meeting.
-
Reading config files
The CLR will ignore an invalid config file (invalid XML). If the app does have an invalid config file and you try to query for an AppSetting the CLR will throw a ConfigurationException. Consider wrapping queries into your config file with a try catch block. Its quite possible someone can modify the config file without your knowledge and leave it in an invalid state.
-
Gathering requirements for a GUI application rewrite
I have struggled with this for years (having been on 4 rewrite projects now) as a rewrite really does not fit into any process I have seen. After much struggling, researching and thinking, I have come up with a plan that is working for me. Many thanks to Ian Griffiths for his input on this:
-
Reducing web server roundtrips with a No Touch Deploy application
I was seeing 30+ web server roundtrips for resource files. I reduced this to 10+ by adding
-
Should I pay attention to Longhorn?
Nope, I shouldn't. But, if you are a super early adopter, maybe you should. Straight from Chris Sells himself:
-
ObjectSpaces
I just took my first peak at this in Whidbey...looks very interesting.
-
Richmond, VA .NET UG Meeting last night
Our .NET UG meeting last night was awesome. We had 60+ folks show up. That is too cool.
-
Securing a NTD app
David Hill at MS was kind enough to address my concerns on securing or NTD app
-
My 15 minutes of fame
So it seems Developer Central http://www.adtmag.com/ February 18, 2004 - Vol. 3 #14 decided to use my 'chat'
-
Smart Client Readiness Program
Are you ready?
-
Not quite ready for Longhorn
From what I see, Longhorn looks incredible. However, I am disappointed that all of the .NET technical magazines we subscribe to are now 80% + Longhorn articles.
-
Securing a No Touch Deployed Smart Client Application
Our app will be deployed on all of our client's web servers.
-
Click Once
I finally got a chance to look at Click Once:
-
Is this the ultimate CS school?
I just discovered this http://www.northface.edu/
-
Databinding and the Validating event
I have always assumed that databinding adds the handler to a edit controls Changed event so it can change the bound source. Wrong. It does this only so it can update any other controls bound to the same source.
-
Bug with Comboboxes and DataBinding
After pulling our hair out for weeks, we finally confirmed there is a bug with DataBinding to comboboxes when use DropDownList:
-
TheServerSide.net
In case you are not aware, I will refer you to Craig's blog: