Archives / 2004 / March

  • .NET Compact Framework "Gotchyas" for the Beginner

    Tuesday, March 30, 2004
    I started an article of things I've found along the way as I start working on smart device apps. Hopefully it will help others who are just getting started save some time.
  • .NET Compact Framework "Gotchyas" for the Beginner

    Tuesday, March 30, 2004
    I recently started doing some Pocket PC and SmartPhone development.  Being a total beginner at developing for mobile devices, I, of course, ran into quite a few “gotchyas” that can slow you down and be a little frustrating at times for we who have been developing a lot in ASP.NET and WindowsForms.  Here's a list (that I will keep adding to as I go along) of the things I've found that are different from non-mobile .NET development: General Guid.NewGuid Method is not supported DataSet.Merge Method is not supported Clicking the “x“ or “ok“ in the top right of an app
  • Quick and Dirty Navigation State in ASP.NET

    Monday, March 29, 2004
    There are cleaner ways to do this, but thought this was handy so I'd throw it out... Just add the following code to your Base Page Class (if you have one that your pages inherit from) or add them as Shared (static) to any Class. Public Sub RedirectFrom(ByVal DefaultPage As String)     Dim Context As HttpContext = HttpContext.Current     If Context.Request.QueryString("from") <> "" Then          Context.Response.Redirect(Common.BasePath & Context.Server.UrlDecode(Context.Request.QueryString("from")))     Else          Context.Response.Redirect(DefaultPage)     End IfEnd SubPublic Function GetUrlFrom() As String     Dim Context As HttpContext = HttpContext.Current     Dim Temp As String = Context.Request.RawUrl     Return Context.Server.UrlEncode(Temp.Substring(Context.Request.ApplicationPath.Length, Temp.Length - Context.Request.ApplicationPath.Length))End Function On any links you have on your page
    Filed under | 4 comments »
  • Safety First

    Friday, March 26, 2004
    This isn't .NET related, but it's too cool to pass up...http://www.sawstop.com/video.htm
    Filed under | 1 comment »
  • FrameworkUtilities

    Friday, March 26, 2004
    Recently, I chatted through e-mail with a long time friend's (Joe Heller, who is now engaged [Congratulations!]) co-worker, Brian Wortman of RDS about some programming concepts and workarounds for a few things lacking in the framework.  We chatted, swapped opinions, etc.  Very smart and cool guy.  One of the things we talked about was how he had been working on a project that contained custom attributes to use as parameter method validators to ensure the data coming in fits the bill, saving developers having to write code themselves to check it.  I thought it was such a fantastic idea that I
  • Internet Explorer Problems

    Tuesday, March 23, 2004
    Lately, I have been unable to open new windows in IE.  It wouldn't even work if I clicked on a linked that opened to a new window or even clicked on a link in an e-mail.  Today, was the ultimate pisser when I opened the find window and typed in what I was looking for and clicked Find and got an error.  Luckily, the MS KB came to the rescue and it was a very easy fix. If you ever have problems like this, check out KB Article 180176
    Filed under | 8 comments »
  • Keeping a Database in sync

    Friday, March 19, 2004
    I was thinking about developing a little (or maybe not so little, haven't thought it all through yet) app to show you the differences between two databases and allow you to then sync those differences.  The reason being, is that we usually have a Development Database and a Production Database.  Currently, we just keep track of the changes we make to the development db and once we upload the new version of the app using it, we change the database on production manually to match the development db.  It's a pain and easy to screw up or forget something, so
    Filed under | 20 comments »
  • Template in Action

    Friday, March 12, 2004
    Red Raven RPG has used my ASP.NET Templating and Skinning system on their site and seems to like it.  I'm really excited to see something I made being used...great!
    Filed under | 4 comments »
  • Off to DevDays...

    Tuesday, March 09, 2004
    Adam and I are leaving for DevDays 2004 in Chicago right after work today and will be there early to mid evening.  This should be a fun and interesting trip and as long as there's wireless access, I'll be blogging about anything cool I see.  If anyone is going to be in the area this evening, send me an e-mail to exchange cell phone numbers or something.
    Filed under | 0 comments »
  • Speaker Job Feed?

    Sunday, March 07, 2004
    Cory Smith sent me a link to his user group's newly redesigned website.  I clicked on Jobs, because I was curious about what that might mean.  It turns out it's a list of jobs, go figure, but it got me thinking...(for some strange reason)...why don't user groups post a list of upcoming meetings that currently don't have speakers yet. Not that I have the time myself or anything, but I think it would be really cool if user groups started all having these sections and exposed them as RSS.  Then maybe INETA or someone could create a combined feed that people
    Filed under | 5 comments »