Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Gottlieb.NET

David Gottlieb

  • New Google Desktop Search!!!!

    Ok, I now love Google more than ever. They have just released a beta version of their new desktop search engine. No more waiting 20 minutes to allow Windows' search to finish only to find out that it did absolutely nothing for you.

    This snappy app runs as a local web site on your box and indexes e-mail, files, web history and even AOL chats! The other nice thing about it is that the download is only 446 KB! This is cooler than when GMail came out. What a score. Way to go Google!!!

    Sponsor
  • Huntsville Talk Last Night

    I would like to thank Lori and Dan for having me come speak to their group last night. I had a great time and really enjoyed some of the feedback and interaction from the group. The talk went really well if you ignore the fact that my Bluetooth mouse battery went dead right before I was to present. Thank you Dan for saving the day with batteries!

    I am really looking forward to making my way back up there to maybe discuss some more design patterns, go over some of the upcoming Whidbey stuff, or even get everyone in a group and have a simple design discussion on possible design solutions to ones current architecture.

    Click here to download the Powerpoint and code I presented last night.

    Now, BSDA (Birmingham Software Developers Assocation). You're next!!!

    Sponsor
  • Happy Hurricane!

    After a long day yesterday, all is well after Hurricane Ivan. The only bad thing is I have no power and no phone lines. After calling the power company, the word is that I may not have power for another week. This is considered not good, especially since I have already had to throw a bunch of stuff away in my fridge and freezer. There wasn't much damage in my neighborhood, however, there was a bunch on the road to my neighborhood. I counted 3 trees that were laying down on powerlines and about 10 down trees.

    Coming in the entrance to work  today was also interesting. It looks like a carpet of leaves and branches. You can't even see the road. Kinda cool actually. You just have to be real careful in driving or else you'll slide right off the road. Anyway, let's hope I get power back soon!

     

    **** Update ****
    I finally got power back on Friday night. Thank God because it was getting really hot in this house. Everything seems to be getting back to normal. There's still a lot of clean up left to do. There are Alabama Power trucks everywhere.

    Sponsor
  • Windows Media Player 10 Released!

    Windows Media Player 10 has released and it has some really nice features that make a HUGE difference in the quality of sound that comes out of your speakers. I don't think this was in the last version but WMP 10 has two new features called TruBass and WOW Effect. The WOW Effect does some incredible tweaking of the sound that comes out of your speakers to enhance the sound by a huge amount. I am really impressed. The TruBass, well obviously, brings out the bass effects of your music.

    Also, I'm not sure if this was in the last version or not either but WMP 10 has an equalizer on it which is nice.

    This is a definite recommended upgrade in my book. Enjoy it!!!

    Sponsor
  • DevAdvice Update: List Pages Now Display Latest Postings

    A new release of the devadvice.com family of sites is out on the web. When you visit a list home page, the last 10 postings for that list will appear at the bottom of the page giving you, the user, a better idea of what's going on. Also, as a side note, the latest blog postings now refresh every hour.
    Sponsor
  • Closures

    Martin Fowler posted, to me, an interesting article on closures. Very useful, as are most of the articles/books he writes.

    http://martinfowler.com/bliki/Closures.html

    Sponsor
  • Steve McConnel On MSDN TV

    Browsing MSDN today, I noticed an MSDN TV cast of Steve McConnell and Code Complete. Excellent presentation and would recommend it to all architects and engineers.
    You can view it here http://url123.com/5s6e3.
    Sponsor
  • MSDN Webcast

    I will be doing an MSDN Webcast presentation on November 15 at 1:00 PM PST on Object Oriented Concepts and Best Practices. So, for those of you who can't make it to any of these presentations, sign up for the webcast when it becomes available on http://msdn.microsoft.com/webcasts. Hope to see you/hear you there!

    *** Update ***
    My upcoming webcast is now available for registration on MSDN by going to http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032259776&Culture=en-US

    Sponsor
  • OOP WTF

    Yes, we are all beginners at one point or another. Hell, I still have a lot to learn but this is just funny.

    http://thedailywtf.com/archive/2004/09/08/1609.aspx
    Sponsor
  • New Fish Tank

    It's been my dream since I can remember that I have wanted a salt water fish tank. I've had a fresh water tank for about 4 years and finally got clearance to get salt. I got it all set up this weekend and hopefully, in about 6 to 8 weeks, I'll be adding fish. You can see pictures here - http://aspadvice.com/blogs/dgottlieb/gallery/177.aspx. I'll be posting new pictures as things progress.

    Sponsor
  • Object Oriented Concepts and Best Practices Seminar

    Imagine if you were able to deploy a site by doing nothing but flipping a few switches. Minimal coding. Minimal compilations! It is possible with object oriented programming and I'll show you how. Object Oriented Concepts are extremely important in .NET. They can save you and your company time and money. In this session, we will discuss how and why Object Oriented Programming is so important. We will dig deep into some real life examples so that you can take this valuable technique with you as well as go over a few of the many design patterns there are to offer.

    I am going on some what of an OO tour of Alabama in October and December and will be going over some good OO stuff. If you live close, I encourage you to attend. I can assure that you will get a lot out of this presentation. Below is the schedule:

    October 12, 6:00 PM - Huntsville, Alabama - http://url123.com/57x45
    October 14, 6:00 PM - Birmingham, Alabama - http://www.bsda.info
    November 15, 1:00 PM PST - MSDN Webcast - http://msdn.microsoft.com/webcasts
    (***Update***) December 2, 6:00 PM - Montgomery, Alabama - http://www.simplifi.com/madev/default.aspx

    Stay posted for possible updates to dates and times. Hope to see you there!

    Sponsor
  • The Joys of Pressing Enter On A Form With Multiple Buttons

    In browsing the asp.net/forums, I have noticed a recurring issue. Pressing the Enter key on a form with more than one submit button fires the wrong event. Since, in ASP.NET, you can have only one form on a page, pressing Enter to submit a form will fire the event of the first button on the page. This is not always the behavior you intend. In many cases there are many command buttons on a page. The desired effect would be to fire the appropriate command button based on the fields that are directly related to it. This may be
    a re-post of this topic but below is the code to resolve this God foresaking issue.
    Below is the code and an example for you to follow.

    <script language="c#"  runat="server">
      void Page_Load (object sender, EventArgs e)
      {
        
      }
     
      void Fire1_Command (object sender, EventArgs e)
      {
        Status.Text = Fire1.Text;
      }
          
      void Fire2_Command (object sender, EventArgs e)
      {
        Status.Text = Fire2.Text;
      }  
    script>
     
     
    <html>
    <script language="JavaScript">
        function KeyDownHandler(btn)
        {
           // process only the Enter key
               if (event.keyCode == 13)
               {
                // cancel the default submit
                event.returnValue    =    false;
                event.cancel        =    true;
     
            var obj = document.getElementById(btn);
            obj.click();
                 }
     
        }
    script>
        <body>
             <form method="post" runat="server">
     
                  <asp:TextBox ID="Fire1" Runat="server"
    onKeyPress="KeyDownHandler('FireButton1');" />
                  <asp:Button Runat="server" OnClick="Fire1_Command"
    Text="Fire Button 1" ID="FireButton1" /><br>
                  <asp:TextBox ID="Fire2" Runat="server"
    onKeyPress="KeyDownHandler('FireButton2');" />
                  <asp:Button Runat="server" OnClick="Fire2_Command"
    Text="Fire Button 2" ID="FireButton2" /><p>
                  <asp:Label ID="Status" Runat="server" />
             form>
        </body>
    html>

    This code should get you on your way. I would love to hear back how it help you. Be sure to post!

    Sponsor
  • XP SP2 Doubts

    You know, I was all excited about SP2 coming out because all of the nice features and what have you. Well now that it's out, I'm a bit nervous installing it on my laptop. If anything bombs on this guy, I'm up a creek. I created a virtual machine with a fresh install of XP and installed. The first couple of times I got errors but finally installed successfully. Even now, I'm still a bit nervous. Does anyone have any experiences they would like to share about their install of the new patch? I'd be anxious to here so that it may calm my nerves.

    Sponsor
  • Great Speaking Advice

    I've got three speaking gigs coming up in the next few months. In getting things together for the talk I'm going to give, I came across a web site with some great advice for speakers. It has some great motivational content and how to deal with certain situations. I would definitely recommend it.

    http://www.beyondbullets.com/

    Sponsor
  • Thank God For Bluetooth

    About 3 weeks ago, I got a new phone, the Sony Ericsson T610 with integrated Bluetooth technology. This phone was originally $175, with $25 off and a $100 mail-in rebate, which makes it only $50! What a deal. This phone is great. Since my laptop has built-in Bluetooth, I can sync up Outlook with my phone, which makes it much easier to keep track of numbers and contacts. Get this! You can order a remote control car that can be controlled via Bluetooth from your phone! Using the joystick on the phone, you can drive the car around with a range up to 33 ft, which is the standard range for Bluetooth! How cool is that. It doesn't have a whole lot of space, but I also can use my phone to transfer files an what not. It has been real convenient to transfer the pictures I've taken to my laptop.

    One of the great things about getting a Bluetooth phone is that you can order an optional Bluetooth headset. I ordered the Jabra BT200 which is super nice. I got it working today and it was well worth it. The nice thing about it is that I can set my phone on the kitchen table and walk all around the kitchen completely wireless. I got so tired of the cord hanging down and having to carry my phone with me. No more! Also, in the car, I don't even have to know where my phone is to talk on it. It is completely voice activated so that I don't have to press a single button but to turn up the volume which is also controlled by the headset.

    I would definitely recommend this as a tech toy to add to your toy box.

    Sponsor