July 2007 Entries
Sending Emails in .NET with the System.Net.Mail Namespace

They like me, they really, really like me... ok, well, maybe not so much, but the good folks at Microsoft, specifically Beth Massi, Program Manager, VS Core Community, must like me because she posted an article I submitted to her on the Visual Basic Developer Center Community Page.

In it I cover all the in's and out's of using the System.Net.Mail namespace to send email from within your .NET Application. Topics such as sending attachments, CC, BCC, specifying the reply-to address, setting message priority, requesting a return receipt, using delivery notification, sending email asynchronously, and so on. You can check out the article here.

Have a day. :-|

Posted On Tuesday, July 24, 2007 9:22 AM | Comments (3)
Notes From Today's Computers 2K7 Radio Show! (July 22nd, 2007)

You can download today's show from the Computers 2K7 page. If today's show isn't there yet, check back later today. It should be there by the end of the day.

Plain and simple, today's show was historical. No, I didn't mean hysterical, I meant what I typed, historical. Why, you ask? Let me fill you in, our esteemed host, Amnon Nissan does NOT miss many shows. As a matter of fact there has only been one other occasion where Amnon had to have someone fill in for him and that was a loooooooong time ago. Was he ill? Did he move out of town unannounced? Were black helicopters seen circling his house? Noooo, none of those. It seems that there were some hardware/network/power issues with his company this morning that had to be taken care of. For those who don't know, Amnon is the owner of DeltaForce Technologies, a local ISP here in the Raleigh/Durham area. Service to his customers is his top priority sooooooo my co-host Spencer and I shared hosting responsibilities this morning. Fortunately all went smoothly!

Here are a few links to some of the stories I mentioned on today's show...

Domain Name Figure-Outter

I mention BustAName on the show this morning because they provide a way to do some domain name availability searching in real time. Pretty cool.

You might as well give up playing Checkers!

A checkers playing game, Chinook, has proven that it can NOT be beaten. Play a perfect game against it and you'll end up with nothing but a draw.  Wanna take a drive down Futility Lane and take your best checkers shot against Chinook? Go ahead and give it a shot.

Search History Retention recently announced they're are providing the option to web searchers to request that their search results NOT be retained by the company. Their new tool is named AskEraser and should hit the U.S. by the end of the year.

Laptop Battery Recall Notice

Toshiba is recalling more than 5,100 laptop batteries due to a potential fire risk. Read more here.

iPhone Causing Network Trouble for Duke University

I hope they get this figured out soon. Who knows how many of the kids returning to school got a new iPhone over the summer.

Update: It seems that the iPhone wasn't to blame afterall. You can check out the details here.

Hi-Speed WiFi!

Gotta give those researchers at Georgia Tech credit. They have really upped the ante in the wi-fi speed arena! They're getting transfer speeds of around 15Gbps. 

Steve Gibson Security Podcasts

Spence has mentioned these podcasts on a number of occasions so I thought I'd include a link to them.

Internet Crime, BotNets, etc.

We had a guest from Symnantec on the show this morning discussing botnets and the related problems they can cause. When your machine falls victim to a botmaster and becomes a botnet zombie all kinds of nefarious things can be done with it. Want to report an Internet crime or submit a complaint of some type? Head to the government's Internet Crime Complaint Center and let them know about your about your situation.

That's it for this weeks show...

Have a day. :-|

Posted On Sunday, July 22, 2007 11:25 AM | Comments (0)
Rod Paddock, Father, Excellent Coder, & HE MAN!!!

Oh this is just to funny to keep to myself!!  I can't believe I hadn't seen this before. Let me fill you in... Rod Paddock, Editor of CoDe Magazine, my business partner, my good friend, and best damn coder I know has REALLY changed since the last time I saw him.  Here I thought I knew what there is is to know about him but obviously Justice Gray sees him a whole lot differently than I do!! Check this out!

Have a day.  :-|

Posted On Wednesday, July 18, 2007 4:38 PM | Comments (0)
The MS Battle...

With a title like that you might thing I'm going to go into a touching story about a friend with Multiple sclerosis or maybe a story about Microsoft in an OS war with Linux or something but NO! This is a story of a more ludicrous nature. I'm talking about the DevTeach 2007 - West Coast: Battle of the Metros. Oh this is just too funny. Seems that fellow GeeksWithBlogs blogger D'Arcy Lussier has come up with the ultimate battle for DevTeach 2007 in Vancouver. So, who's your choice to take home the crown, Shaun Walker or Justice Gray?????

Have a day. :-|

Posted On Wednesday, July 18, 2007 8:17 AM | Comments (3)
Sending .NET EMail Via

I just finished wrapping up an article on how to send email from within a Windows or Web application with the System.Net.Mail namespace. One of the things I uncovered is that you can send email through the gmail smtp server. Of course you need to have a GMail account first...

Imports System.Net.Mail

'Start by creating a mail message object
Dim MyMailMessage As New MailMessage()

'From requires an instance of the MailAddress type
MyMailMessage.From = New MailAddress("")

'To is a collection of MailAddress types

MyMailMessage.Subject = "GMail Test"
MyMailMessage.Body = "This is the test text for Gmail email"

'Create the SMTPClient object and specify the SMTP GMail server
Dim SMTPServer As New SmtpClient("")
SMTPServer.Port = 587
SMTPServer.Credentials = New System.Net.NetworkCredential("account uid", " account pwd")
SMTPServer.EnableSsl = True

   MessageBox.Show("Email Sent")
Catch ex As SmtpException
End Try

Just thought I'd pass that little tidbit on.

Have a day. :-|

Posted On Monday, July 16, 2007 12:17 PM | Comments (38)
Notes From Today's Computers 2K7 Radio Show! (July 15th, 2007)

"Good morning everybody, you're tuned to Computers 2K7 on sports radio 850 The Buzz" and so began this mornings show as we do every Sunday morning from 8am - 10am here in Raleigh, NC. You can download the show from the show's website.


How to Print Contents of a Directory

Here's a link to the Microsoft Word MVP FAQ Site that contains the steps to print the contents of a directory. Scroll down and check out the "If you don't have Outlook" section. That page is contributed to by fellow Microsoft MVP Terry Farrell.


Visual Studio 2008, Windows Server 2008 and SQL Server 2008 Launch

On February 27, 2008 Microsoft with launch all three of those products simultaneously at a single launch event in Los Angeles.



If you're interested in the utility I mentioned that creates shortcuts to your favorite programs based on custom keywords then check out SlickRun.


Chinese Military Not Thrilled With Google Maps

Here's a link to the story I reported on about a Chinese nuclear sub being spotted on Google Maps.


Blatant TakeNote Plug :-)

It's not very often that I talk about my company, TakeNote Technologies, on the show. Both Amnon and I run our own companies and neither of us mention that fact very often. Amnon's company, DeltaForce, is a local ISP here in the Research Triangle area. My company, TakeNote Technologies, is a local software development training and consulting company.

At TakeNote, our mission is to provide world-class training for software developers. We offer hands-on training classes which teach developers how to build traditional Windows desktop applications, web applications with ASP.NET, and how to work with SQL Server. We will be adding developer classes for SharePoint, and .NET 3.0 (WPF, WCF, and Workflow) in the near future. TakeNote's primary objective is to make sure software developers have access to the training they need. We are well positioned to offer software development training because we are software developer's ourselves. We like to say "We code, we teach, you benefit."

Our next scheduled series of classes are VBN101: Programming With Visual Basic 2005 and VBN301: Developing ASP.NET 2.0 Web Applications With Visual Basic 2005 on August 13 - 17.



I made a few notes this week about some of the specials that Spence mentioned on the show.

Best Buy has the CyberPower 550VA UPS on sale for $39, you save $23.

Staples has some solid deals this week on their HP printers.

Office Depot has a Toshiba Satellite® Notebook Computer with Intel® Pentium® dual-core processor T2080 for $449 after a $150 mail-in rebate.

Circuit City has a Maxtor 500GB external USB 2.0 drive on sale for $129, you save $40.

Wanna protect for iPod from being stolen? Check out the latest anti-theft device for your iPod! :-)


AVG Anti-Virus

As usual, the topic of anti-virus software came up on the show and as usual we recommended the caller go to the AVG site and download free version of AVG Anti-virus.

Ok, that about does it for today's show. "As always practice safe computing, back up your hard drive, and update your virus scanner!"

You can download the show from the show's website.

Have a day. :-|

Posted On Sunday, July 15, 2007 11:07 AM | Comments (0)
Orcas, Longhorn and Katmai will ship on February 27, 2008!

Big news....

Visual Studio 2008 ("Orcas"), Windows Server 2008 ("Longhorn"), and SQL Server 2008 ("Katmai") will all be shipping on February 27, 2008 according to Kevin Turner, Microsoft COO at the Worldwide Partner Conference 2007.

Have a day. :-|

Posted On Thursday, July 12, 2007 10:26 AM | Comments (0)
July TRINUG Meeting - Finally I WIN!!

I attended the July TRINUG meeting tonight where Scott Shorter, a Technical Evangelist for FarPoint Technologies demod their FarPoint Spread spreadsheet control. Wow! I hadn't had a chance to check out their control in the past but I definitely will be in the future. Why you ask? Because for the first time in all of the user group meetings, code camp meetings, conferences, etc. I've attended over the years, tonight I actually won one of the swag prizes. More about this later in the post...

I've used grid controls in windows and web applications in the past but I've never used a spreadsheet control. What's the difference? With a grid-type control you're basically working with just rows where with a spreadsheet control you're working with individual cells and ranges of cells. It's kind of tough to explain the difference so I'll leave you to check out their product tour and free tutorial videos to see why working with a spreadsheet control is very different from working with a grid-type control.

Back to my prize winning... The item up for grabs was a copy of Windows Vista Business. I hardly paid attention because I knew I didn't have a prayer at winning. Why? Because I could attend a meeting of 10 people where they give out 15 prizes and somehow I still walk away empty handed!!

User group leader and INETA board member Rob Zelt called out "one six four.... one six four..."  It took a nudge from Chris Love sitting next to me to realize I was holding ticket #164! I couldn't believe it, I won. I shrieked and cried like a baby for joy. Oh the humanity of it all. Ok, so maybe I've over stated my reaction a little. Either way, I had won. Wow.... what a feeling!

So I was the proud owner of a copy of Vista Business but what I really wanted was one of the two licenses of the FarPoint Spread control they were giving away. Unfortunately having already won something I wasn't eligible for the final drawing for the FarPoint controls.  Rob read off the first of two winning tickets and a guy in the back of the room raises his hand, we have a winner. Being the shy and introverted person I am, I spoke out "I'll trade ya Vista Business for it!" He went for the trade and low and behold I walked away from the meeting with a copy of FarPoint Spread... suuuuh-weeet!  Throw in a free FarPoint t-shirt for each person in attendance and I think I made out pretty well!

Have a day. :-|

Posted On Wednesday, July 11, 2007 8:48 PM | Comments (1)
Who is this Jim Duffy guy anyway??

We wouldn't all be card-carrying members of the technology business (geeks, nerds, dweebs, etc.) if we didn't do a [enter your favorite search engine here] search on our name to see what comes up. I can tell you that there are quite a few Jim Duffy's out there in the world. I remember years ago, maybe in the 80's, there was a commercial (maybe a public service announcement?) on ABC television here in the U.S. that opened with a man on the screen saying "Hi, I'm Jim Duffy, President of ABC television" and I thought "wow, I'm a bigshot TV executive!".

Well, I've taken than a little farther by utilizing Google Alerts to keep track of when my name or my company's name, TakeNote Technologies is mentioned in blog posts, etc.  An interesting alert arrived in my inbox this morning. It seems that I'm quite an expert in nutrition.  :-)

For your own good, I'd suggest that some of you, ummmmm, how do I put this, "less active" card-carrying members take a closer look at some of those articles. I know I'm going to.

I know you've done it so let me hear what you've found when you've searched for your name. Anything interesting???

Have a day.  :-|

Posted On Wednesday, July 11, 2007 7:11 AM | Comments (2)
Proud Uncle

Yes, I am a very proud uncle. My niece Emily plays the violin and is attending the prestigious Eastern Music Festival music school in Greensboro, NC this summer. I was incredibly fortunate to be able to catch one of her orchestra concerts Friday night, July 6th. WOW!! These 14-21 yr old kids are fantastic! After two weeks of study/training, they sounded incredible. My niece, a high skrewl senior this fall, played 10th chair violin Friday night. I couldn't be more proud of her.

Check out the rest of the dates on the calendar for the Eastern Music Festival. If you're anywhere near Greensboro, NC and can catch a concert, you won't be disappointed.

Have a day. :-|

Posted On Monday, July 9, 2007 5:00 PM | Comments (7)
VB/ASP.NET 2.0 Training Class Announcement

I'm proud to announce, well, I'm proud to announce on behalf of my company, TakeNote Technologies, that Chris Love has been added to our list of instructors. You may know Chris from his blog or all the great work he's done with the Triangle .NET User Group (TRINUG).

Chris is going to be teaching TakeNote's upcoming August .NET classes including

VBN101: Programming With Visual Basic 2005 (August 13 & 14)

VBN301: Developing ASP.NET 2.0 Web Apps With Visual Basic 2005 (August 15 - 17)

Head over to our online registration page if you or someone from your organization is interested in attending.

Welcome aboard Chris!

Posted On Monday, July 9, 2007 1:17 PM | Comments (0)
List of Tech Blogs

Just in case you're new to the blog reading world, here's a link to a list of Tech Blogs That Don't Suck.

You're welcome.

Have a day. :-|

Posted On Monday, July 9, 2007 7:23 AM | Comments (0)
Notes From Today's Computers 2K7 Radio Show! (July 8th, 2007)

"Good morning everybody, you're tuned to Computers 2K7 on sports radio 850 The Buzz" and so began this mornings show as we do every Sunday morning from 8am - 10am here in Raleigh, NC. You can download the show from the show's website.

The first segment was dominated by iPhone content. My co-host Spencer went down to the Apple store in Durham (yes, the same Durham from the movie Bull Durham with Kevin Costner and Susan Sarandon) and got his hands on one for the first time. He didn't actually buy one, just tried it out. He was impressed and is waiting for that form factor to be applied to the next gen on iPod. A number of companies and individuals are already hard at work trying to figure out how to unlock the phone. Our first call was even iPhone related... geeez, enough of the iPhone already!

We had a number of interesting calls including one from a guy who wanted our help in speeding up his machine. We figured it was a virus or spyware of some type but before calling us he decided to take matters into his own hands and try to remedy the situation. He said he went looking through the Add/Remove Programs dialog and started removing programs he didn't recognize or remember installing. He said one program that he didn't recognize was the Microsoft .NET Framework 1.1 so away it went. He said he also saw the Microsoft .NET 2.0 Framework but hadn't removed that yet. I advised he NOT uninstall that one. :-)

We also had a call from a guy who's laptop display will only work when he presses just above the F5 key on boot up. Yikes! Sounds like a connector problem to me!

Anyway, feel free to check out the show yourself and download it from here.

Have a day.  :-|

Posted On Sunday, July 8, 2007 4:07 PM | Comments (0)
"How Do I" Videos for Visual Basic

Well Beth Massi has been quite the busy little Microsoftie since joining the evil empire. :-)  She has put together an ongoing series of "How Do I" videos for helping people learn and work with Visual Basic.  SUUUUUH-WEEEEET! GREAT JOB BETH!

Have a day.

Posted On Friday, July 6, 2007 11:48 AM | Comments (3)
ASP.NET 2.0 Membership, Roles, Forms Authentication, and Security Resources

Wow.... what an excellent blog post. I found the link to this incredibly informative post from Scott Guthrie today on fellow GeeksWithBlogs blogger D'Arcy Lussier's blog today and knew I had to make sure I let readers of my blog know about this post. This post in an excellent resource and repository of information on ASP.NET 2.0 security, membership features, links, and so on.

Have a day.

Posted On Friday, July 6, 2007 11:39 AM | Comments (0)
Why? Why? Why??? Power cord hell!

Why is it that every electronic device needs to have it's own specific power cord? Ok, I'll even be more specific. Why is it that every laptop computer I own has a different power cord?? Shouldn't there be a standard or something that says "All laptop power cords look and work like this." You can expand this to cell phones as well. Every cell phone I've ever owned has a completely different power cord and connector than any of the others, even those from the same manufacturer!

The advent of wireless battery recharging show promise but still, it sure would be nice if power cords for the same type of device (laptops, cell phones, PDAs, cable modems, routers, cameras, MP3 players, etc.) were all standardized based on the type of device. That way when you buy a new toy you could have the option of buying a power cord to go with it.  Have you even noticed the power cord for your desktop computer? They're interchangeable. Yes, desktop power cords all look the same. Yeah, I know it has to do with all the inverters, transformers, and other electro-mumbo jumbo stuff being housed in the desktop computer power supply and all but couldn't they do the same with the other devices or figure out a way to standardize the power cords and connectors??? I mean come on!!

Have a day.

Posted On Friday, July 6, 2007 11:26 AM | Comments (0)
SlickRun... Oh I like this!

It's good to have friends... :-)

Fellow Microsoft MVP Cathy Pountney recently told me about a very slick little utility, SlickRun, that she recently started using. Before she gets all the credit, she was told about it by another Microsoft MVP, Rick Strahl.

 Taken from the Bayden Systems website:

"SlickRun is a free floating command line utility for Windows. SlickRun gives you almost instant access to any program or website. SlickRun allows you to create command aliases (known as MagicWords), so C:\Program Files\Outlook Express\msimn.exe becomes MAIL."

I'm just getting started using it but I've already added a couple MagicWords to improve my productivity. On any given day, I'm usually working on a couple of different dev projects, courseware design, conference/user-goup/code camp presentations, or other things that eat up my business day (or night!). The faster I can get to where I need to be the better. Here's one I added that launches Visual Studio with the ASP.NET project I've created for the tech editing work I'm doing on Chris Love's upcoming ASP.NET 2.0 book:



It uses C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe to launch VS 2005, D:\Files\Projects\TechEditing\Wiley_ChrisLove\Chapter5WebApplication as the folder to start in and Chapter5WebApplication.sln as the name of the solution to load. I type techedit in the SlickRun box and up comes VS 2005 with the project I need loaded.

For those of you reading this and thinking "I could of had a V8", ummmm, no, I mean if you're thinking that you could do the same thing with desktop shortcuts, you're right. SlickRun works the same way except for the fact that I keep it always on top, in the lower right corner of my screen, and I find it quicker to get things loaded.

Another gem feature is the ability to have it perform multiple tasks with a single MagicWord. It comes preloaded with a number of them already including one called morning. You can configure this to load everything you want loaded when you sit down at your desk every morning. Type morning and go get your coffee. When you return everything you need is open and ready to go. This is a very handy little utility!

I did read on Rick Strahl's blog that he had a minor issue with SlickRun and Intelisense in ASP.NET while running Vista. I haven't encountered that yet but if I do I know where to look for the work around.

This is definitely something I'll be talking up on this week's Computers 2K7 radio show.

Have a day.

Posted On Friday, July 6, 2007 10:02 AM | Comments (0)
Motorola Q Report and Resources

It's been a month or so now since I decided to get my Motorola Q phone and I must say I'm loving this phone. I like the keyboard layout, reception, and ability to download and select themes. Being from South Florida, though not a UM alum, I'm sporting the theme below on my phone these days.

I found this theme here and you'll find plenty of others here and here too!

Have a day.

Posted On Sunday, July 1, 2007 2:40 PM | Comments (0)
XP Welcome Screen/Login Problem From Today's Computers 2K7 Show

I just got an email from Al, one of our listeners from this morning's Computers 2K7 radio show, and he found another resource dealing with this issue.

Thanks Al!

Posted On Sunday, July 1, 2007 1:38 PM | Comments (5)
Time for some house, errrrr... computer cleaning!

Not much else to say about this other than wow... that is not good!  On a number of occasions we've told callers to the Computers 2K7 radio show to open up and dust out their computers but man, this is awful!

Posted On Sunday, July 1, 2007 11:16 AM | Comments (0)
Notes From Today's Computers 2K7 Radio Show!

For those of you who don't know, for years now I've been one of the in-studio co-hosts for Computers 2K7, a call-in radio show on Sunday mornings from 8am - 10am on 850 The Buzz in Raleigh, NC. We had some good calls and talked about a number of topics this morning.  Each week the show is available for download on the Computers 2K7 page.

Problem with XP Auto Login and the .NET Framework

We had a caller who was experiencing a problem with the auto login feature of XP and the .NET Framework. From Start -> Run enter Control Userpasswords2 to bring up this dialog. The check box near the top of the dialog specifies is you want to auto login or not.

She said she couldn't get the auto login feature working because the .NET Framework was installed on her machine. She uninstalled it and XP's auto login worked fine. She needed the .NET Framework for software on her machine so she reinstalled it. I said I hadn't heard of that problem before but I did some research and it does indeed exist. I found a Microsoft Support article on the subject and it appears to be an issue related to the .NET Framework 1.1. The fix appears to be installing the Microsoft .NET Framework 1.1 Service Pack 1. That should be an available option through Windows Update.

Here are links to a few of the stories I reported about.

Headless zombie wanders San Francisco! It's incredible what you can find on Google Street View! Be careful next time you're wondering around San Francisco!

Google Maps has introduced their new drag and drop driving directions feature... very cool stuff indeed! You enter your beginning and ending destinations and Google Maps provides driving directions. Nothing new there. The new feature is that you can drag and drop points along the route to reconfigure your route and a floating ticker automatically updates the distance and duration of the trip.

Jack PC: The Wall Socket PC  Yeah, I know it only runs WinCE but the idea is pretty cool. A machine you plug into an outlet, use some wireless peripherals, and viola! you same precious desk and/or floor space. One flash hard drives become the norm something like this starts to look very viable.

As is usually the case, the topic of anti-virus software came up. We recommend our listeners download and install the free version of AVG Anti-virus

As he mentioned during the show, Amnon burned a couple of his fingers on a generator this week!


"That's it for today's show... don't forget to backup your hard drive and update your anti-virus scanner. We'll see you again next Sunday at 8 on 850 The Buzz"

Have a day.

Posted On Sunday, July 1, 2007 10:53 AM | Comments (1)