Archives

Archives / 2003 / September
  • Re: Atlanta .NET User Group and DataGrid Girl

    Marcie mentioned that GridView is going to be the successor to the DataGrid control in the next version of .NET.  Does this mean that she will soon be known as "GridView Girl"? (I see that she has already snagged up the name GridviewGirl.com...) 

    Read more...

  • Great add-in for Reflector!

    I have been using this great add-in for Lutz Roeder's Reflector.  It is written by Jason Bock and it allows you to generate the source files from an assembly and save them to your hard drive!  Unfortunately, it only works with version 3.2.5.0 of Reflector.   (I think Reflector is now up to 3.3.1.0)  Jason was kind enough to provide the source code but it looks like Reflector has gone through a lot of changes since 3.2.5.0. 

    Read more...

  • [Rant] Intel is giving away free wireless - YMMV!

    Well, after reading Scoble's post about Intel giving away free wireless, I thought I would check it out.  I had to run to Border's during lunch to buy a copy of Chris Sells' new book: Windows Forms Programming in C#  (which looks great BTW...) and I thought I would take my pocket pc with to try it out.  I get there and their system is down so I can't check on a couple of other books I wanted to find so I decided to get online! 

    Read more...

  • *Free* Utilities I Use!

    following in the footsteps of Scott Hanselman who posted his list of Power Tools that he uses, I decided to post a partial list of the ones I use.  How mine probably will differ is that mine will be all *free* utilities.  They are broken down into command line, .NET Utils, and windows utils.   I will populate the list with more stuff as I get free time. 

    ** Added some more utilities that I use **  (and people wonder why I run out of hard disk space...)
    This will end up being a living document so I have added “new“ and “updated“ icons to entries and well as last updated date.
     - dotnetboy

    Read more...

  • Finally got my *free* Viewsonic V37 Pocket PC!

    I finally got my Viewsonic V37 Pocket PC that was free with my MSDN subscription.  They said it would take 8-12 weeks and it was 12 weeks to the day!  I only wish that they would have put Pocket PC 2003 (or whatever it is called now) instead of Pocket PC 2002.  But from what I hear there isn't a whole lot of differences.  Maybe this weekend I will have some time to try it out!

    Read more...

  • I was reminded of my love for free stuff by a reader...

    A reader of one of my posts was selling my on SharpReader and reminded me of my true passions. Free stuff!  Even better than free stuff is free stuff that is really, really cool!
     
    Speaking of which Jeff Key has made a bunch of free cool .NET utilities and one of the coolest (and most talked about lately) is the Snippet Compiler.  Jeff is looking to add an editor control by Syncfusion that would add intellisense to the editor.  If you haven't checked out this little app, then hop on over to his site and take a peek. 
     
    If you love it as much as everyone else (including myself) seems to, why don't you donate a couple of bucks.  Yes, I know that makes it technically "not free" but even if some of the readers dontate a dollar, he will be able to add more functionality into the product.  I would say the same for any app that people release for free (and you really like it and use it).  Give 'em a couple of buck so that they can afford to continue to make great apps.   I would venture to guess that a majority of the time, developers stop building free or open source apps because it takes up a lot of time and there is not even the slightest financial incentive.
     
    Well, I am done preaching and I am on my way over to Jeff's site to donate.    Later!

    Read more...

  • Data Access Layer stuff

    I have been working on a Data Access Layer for work and I came across this DAL written by Deyan Petrov on CodeProject.  It does almost everything that we are trying to do here and it is pretty cool!   The idea is to be able to define the following in your xml config files:

    Read more...

  • Managed Data Provider for CSV file

    ** Updated with C# example -- see below **

    From the "Did you know (or care)" file, Did you know that you can connect to a comma separated value (csv) file using the OleDb Data Provider?

    [Able Consulting, Inc]
    
    oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ 
           "Data Source=c:\somepath\;" & _ 
           "Extended Properties=""text;HDR=Yes;FMT=Delimited"""
    

    Then open a recordset based on a select on the actual file

    oRs.Open "Select * From MyTextFile.txt", oConn, _
             adOpenStatic, adLockReadOnly, adCmdText 
    
     
    This also from one of my favorites [connectionstrings.com]
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\txtFilesFolder\;Extended Properties=""text;HDR=Yes;FMT=Delimited""" 
    "HDR=Yes;" indicates that the first row contains columnnames, not data
     Also see: [Microsoft Knowledge Base Article - 262537]
    

    Here is an example app for those that asked:

    using System; using System.Collections; using System.Data.OleDb; using System.Data;
    public class MyClass {   public static void Main()   {     OleDbConnection conn = new OleDbConnection();     conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\temp;Extended Properties=\"text;HDR=Yes;FMT=Delimited\"";
        try
        {       conn.Open();       OleDbCommand myCommand = conn.CreateCommand();       string commandString = "select * from test.csv where firstname='John'";       myCommand.CommandType = CommandType.Text;
          myCommand.CommandText = commandString; 
          OleDbDataReader dataReader = myCommand.ExecuteReader();
          dataReader.Read();       Console.WriteLine("FirstName: {0} \t LastName: {1}",dataReader["FirstName"],dataReader["LastName"]);     }
        catch( Exception ex )
        {
          Console.WriteLine(ex.Message);
          Console.WriteLine(ex.StackTrace);
        }  
        finally
        {
          conn.Close();
        }
        Console.WriteLine("all done.");
      } }

     

     And here is the associated “test.csv” file that goes in “c:\temp”:

     

     FirstName,LastName
     John,Doe
     James,Fox
     Adam,Smith

     

    I guess there is supposed to be a schema.ini file that goes in the same directory, but I didn't have it and it worked. But here it is:

     [test.csv]
     ColNameHeader=True
     Format=CSVDelimited
     MaxScanRows=25
     CharacterSet=ANSI
     Col1=FIRSTNAME Char Width 20
     Col2=LASTNAME Char Width 20

     

    Special thanks to [ASPAlliance] for their article on this as well!

     

     

     

     

     

    Read more...

  • RSS readers in Outlook

     

    Actually, Outlook can be fitted with a RSS Client.  NewsGator works very nice and integrates very nicely with Outlook.  I have tried a lot of the other RSS readers and I keep on going back to NewsGator.  I love Outlooks UI (especially Outlook 2003) and I like getting my mail and blogs in the same application.
     

    I hear ya. I'm in exactly the same situation and I bet others are hopelessly trying to do the same at other places.
    I think it has to do with the fact that blogs are still not that accessible. RSS readers are not mainstream. They are the "Linuxes" of today's data clients (Outlook being windows).
    The moment Outlook express or Outlook is fitted with a built in RSS client, and sites will  *really publish* the fact that they are available through RSS - then you'll start having people listen to you.

     

    Read more...