Derek Hatchard blogs on
Church Radius Blog


Feed Yourself:


Subscribe in Bloglines

Add to Google

Subscribe by Email:


.NET Experts on Tap
About ArdentDev.com
Ardent Sites
Ask the Experts
Careers
Consulting and Mentoring
Contact Ardent
News & Noteworthy
Portfolio
Writing


On this page....
Um, x-rates.com is for EXCHANGE RATES
How to check for a network connection in .NET 2.0 (C# or VB)
What does every Visual Basic developer need to know?
Riley the Blog Helper
Brain Teaser: What Does This JavaScript Do?

Send mail to the authors Email Us

Archives

Navigation

Categories
 Code
 Tools

Disclaimer
The opinions expressed in this site are those of the individual authors and do not necessarily represent the official view of Ardent Development nor its employees, subsidiaries, partners, or customers.

© Copyright 2008, Ardent Development

Powered by: newtelligence dasBlog 1.8.5223.1



 Wednesday, January 25, 2006

   
     

I spoke at the Fredericton .NET User Group last night on Team System.  It went well - a lot of the stuff in Team System is fun to show and professional developers really resonate with it.

Well...  I use the Address toolbar in the Windows taskbar.  It just so happened that the last site I visited via that toolbar was www.x-rates.com, which is where I regularly check the current US to Canadian dollar exchange rate.  In the middle of my presentation I noticed the URL and it dawned on me that it might not be obvious to everyone that the site is, um, family friendly.  So if you were at the presentation and the noticed the URL, X is for exchange.

Posted by Derek Hatchard 1/25/2006 8:15:00 PM (Atlantic Standard Time, UTC-04:00)
#   Disclaimer  |  Comments [0]  | 
 Tuesday, January 17, 2006

   
     

To check for a network connection in .NET 2.0 use this:

System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()

To monitor a change in IP address or a change in network availability, use the events from the NetworkChange class:

System.Net.NetworkInformation.NetworkChange.NetworkAvailabilityChanged

System.Net.NetworkInformation.NetworkChange.NetworkAddressChanged

Posted by Derek Hatchard 1/17/2006 9:15:15 PM (Atlantic Standard Time, UTC-04:00)
#   Disclaimer  |  Comments [0]  | 
 Friday, January 06, 2006

   
     

What are the .NET Framework and Visual Basic .NET features that every VB developer should know?  I suggest the following as a starting list (in no particular order):

  1. Object-oriented features:  classes, objects, constructors, inheritance, interfaces, polymorphism, methods, overloading
  2. Shared (static) Classes and Methods
  3. Converting data types and casting objects
  4. Manipulating strings and using StringBuilder
  5. Basic File I/O (open, read, write)
  6. ADO.NET:  DataSet, *DataAdapter, *Command, and *DataReader classes
  7. Basic XML processing (opening a file/stream and finding an element)
  8. Exception handling / Try-Catch blocks
  9. Difference between late binding and early binding (and the existence of Option Strict On)
  10. Assemblies, referencing DLLs, and importing namespaces
  11. Basic collections (lists, dictionaries, arrays)
  12. Security fundamentals (CAS, authentication vs. authorization, validating input)
  13. Basics of threading
  14. Basics of garbage collection
  15. Spitting out data and getting data back (varies with type of application of course)

Comment away!  Please don't just say C# (or Ruby)...  I'm not looking for yet another VB vs. C# debate.

Posted by Derek Hatchard 1/6/2006 3:41:18 PM (Atlantic Standard Time, UTC-04:00)
#   Disclaimer  |  Comments [4]  | 
 Thursday, January 05, 2006

   
     

Last month I was looking for a tool to automatically announce posts on www.ardentdev.com and www.2signals.com at my weblogs.asp.net blog.  After a modest amount of searching I gave up on finding a tool that did exactly what I wanted.  Tonight I just threw together something simple.  It uses the .Text Simple Blog Service and the RSS.NET Class Library (with a few minor tweaks).  I point the tool at an RSS feed and select the posts I want to announce.  There is a little preview of the announcement HTML and an easy-to-acquire Announce button.  It's pretty simple at this point (a mere 80 lines of VB code including whitespace).

I'll gladly share the code if anyone cares.

Code | Tools
Posted by Derek Hatchard 1/5/2006 12:05:40 AM (Atlantic Standard Time, UTC-04:00)
#   Disclaimer  |  Comments [0]  | 
 Wednesday, January 04, 2006

   
     

JavaScript is one of those technologies that you can use for years knowing only very little about it.  Do you know what the following <script> block will do?  Post your guess as a comment before you test it out!

<script>

(function()
{
  function A() { document.write(A) }

  A();
})()

</script>

Posted by Derek Hatchard 1/4/2006 8:31:50 PM (Atlantic Standard Time, UTC-04:00)
#   Disclaimer  |  Comments [4]  | 
 
© 2005 Ardent Development Solutions