Thursday, September 06, 2007

image

So two days after I do a post on How to Add Search to Google Reader, what happens? Google adds Search to Google Reader! Ha, you're welcome. Anything else I can do for you while I'm at it? Wink


Thursday, September 06, 2007 06:35:25 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
image Tuesday, September 11, 2007
Topic: Visual Studio .NET Tips and Tricks - Part II

Tuesday, September 11, 2007, is our next meeting of  Pee Dee Area .NET User's Group.

Chris Craft, from ACS Technologies, will be presenting Visual Studio .NET Tips and Tricks - Part II.

Material from Part I will be recovered for any of those who may have missed it, and new tips and tricks will be presented.

Visual Studio .NET is filled with thousands of features and capabilities that make our lives as developers more efficient. The number of features that Visual Studio .NET contains is immense. The Visual Studio .NET Tips and Tricks presentation is a compilation of my favorite, and most popular, tips and tricks for this great IDE. Developers who are unaware of these timesaving features miss out on opportunities to increase their programming productivity and effectiveness. This Visual Studio .NET Tips and Tricks presentation is meant to explain how to use Visual Studio .NET more effectively.

See you there!

Here is the tentative schedule:
6:00 PM - 6:20 PM Socializing / Dinner
6:20 PM - 6:30 PM Introduction, Sponsor Time, and News.image
6:30 PM - 7:45 PM Presentation
7:45 PM - 8:00 PM Drawing and Wrap Up
Please subscribe to the PDANUG Upcoming Events and News Feed here.

Technorati Tags: , ,

Thursday, September 06, 2007 03:00:06 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback

Sure it's a snap to create Line and Shape controls of your own. But ever since I left Visual Basic 6.0, for the greener pastures of .NET I missed having the Line and Shape controls out of the box.

Back by popular demand, we have the Line and Shape controls included in the Microsoft Visual Basic 2005 Power Packs 2.0.

Please remember, these can be used in C# applications as well.

image

 

The new and improved shape controls now come with a full set of events, and a decent feature set of their own including most basic features users will need.

You can download them from here.

Will this be the end of the 1 pixel tall panel being used as a horizontal line ruler? Thinking I don't know, only time will tell.

 

Technorati Tags: , ,

Wednesday, September 05, 2007 23:00:46 (Eastern Standard Time, UTC-05:00)  #    Comments [1]  |  Trackback
Wednesday, September 05, 2007

Good News Smile: Free Games . Bad News Sad: Ad Supported. They just show up in menus and load screens, not during actual game play, so I think it will be okay.

More Bad News Crying: You will have to get an account to FilePlanet.com, but it can be the free one. Just create an account don't choose a membership.

 

imageFar Cry Full Game [Free Game - Ad Supported] Details

Step into the role of John Carver as he escapes a brutal kidnapping and finds himself on a tropical island full of mercenaries. Rely on firepower, strategy, and stealth as you assault each open-ended area on your own terms!

This free game is supported by in-game advertising.

Download Here

 

 

 

image Prince of Persia: Sands of Time Full Game [Free Game - Ad Supported] Details

The Prince returns in this stunning action adventure game with a unique time-manipulation mechanic and intense combat.

This free game is supported by in-game advertising.

Download Here

 

 

 

image Rayman Raving Rabbids [Free Game - Ad Supported] Details

Rayman Raving Rabbids marks the return of the iconic video-game hero, Rayman, in his funniest and zaniest adventure ever. When the world of Rayman is threatened by a devastating invasion of crazed, out-of-control bunnies Rayman must rise up against his furry foes to foil their wicked plans.

This free game is supported by in-game advertising.

Download Here

 


Tuesday, September 04, 2007 23:00:42 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Tuesday, September 04, 2007

I've been using Google Reader for a long time now, in no small part due to the large doses of peer pressure applied by Chris Reeder and Page Brooks. I'd like to tell you how long I've been using Google Reader, but that is exactly the problem: Google Reader doesn't have a built in search feature. Huh? Oh, the humanity!

"Google's mission is to organize the world's information and make it universally accessible and useful."

But not so much when it comes to your subscribed feeds in Google Reeder. In the place of a search feature, Google Reader provides you with the ability to tag it, maybe with a little star if you like, after that you're on your own.

Before converting to Google Reader, I was a loyal fan of RSS Bandit, which I adored. It has a few places where the usability is a little rough, search is one. Also, it takes a while synchronize remote storage of feed data. But for the most part other than that it was a dream. But I wanted perfect, and couldn't settle for good enough, especially after my feed data file got corrupted and I lost all of my saved feed history.

First thing I tried was reverting back to the previous version of Google Reader:

image

Almost fooled me at first until I noticed where it said, "Search for new content". No, don't search for new content, I have what I want already I just need to find it again, please.

There does appear to be a way to accomplish this in Firefox at least.

I found the original instruction guide through LifeHacker.com here.

First, you will need to export you feed list in to an OPML file. You can do that here: http://www.google.com/reader/subscriptions/export.

Now you will need to create a Google Custom Search Engine, that will be wired up to search any feed in your OPML file next.

You can create a generic dummy search engine to start off with and just point it to your blog at first.

Then you will need to open your custom search engine's control panel.

image

From there it is a straight forward matter of uploading your OPML file. At this point you have a search engine helper if you will that can search your feed list.

Now we just need to wire it back up to Google Reeder in Firefox using Greasemonkey using this user script.

To do this you'll need to access your custom search engine and search for something like the word test. Take the URL that produce and remove the &q=test section and replace into the user script.

image

 

The instructions are provided in the user script itself. But here's a more step by step set of instructions just in case:

Google Operating System: Script for Google Reader Search

Technorati Tags: , ,

Monday, September 03, 2007 23:00:42 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Monday, September 03, 2007

image Sometimes, I've found it advantageous to run Vista with User Account Control off. I'm not sure if it is the right choice, actually for most users, in most situations it's a big mistake, kind of like driving without your headlights on.

For better or worse here's how to do it.

Enter "User Accounts" in the Vista search / launch prompt.

image

Now choose "User Accounts" at the top of the Vista launch menu.

image

You can also get there by opening the Control Panel and searching for "User Accounts".

Now you'll need to find the Turn User Account Control on or off option.

image

Simply enable or disable the checkbox to match your preference and your are set.

By the way, you can enable and disable the User Account Control from a command prompt if you so desire:

Disable User Account Control

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

Enable User Account Control

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

 

image

Now you have done it. You've gone and upset the Windows Security Center.

Here's how to appease it, and grant yourself a reprieve.

You could disable ALL Security Center notifications, but I think that is a bad idea, by following this guide.

Or you could modify your registry and just disable the User Account Control warning message, by following these instructions.


Monday, September 03, 2007 03:00:16 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Sunday, September 02, 2007

Today I was greeted by the following dialog box:image

image 

I immediately thought, "Hmm, that's strange. Why is my C:\ drive not trusted all of a sudden? It's works fine for all my other existing projects. What's special about this new one?"

I had the answer, but I didn't realize it at the time. After reading Scott Hanselman's Sharpen the Saw for Developers article, I had wanted to check out the source code for DotNetKicks. So I had downloaded the source code, and extracted it to my C:\Projects\ folder.

I started to search for more information about this "The project location is not trusted" error message I was getting, and I found out the following:

 

First, I found this on MSDN

The Project Location is Not Trusted Dialog Box

This dialog box appears if you attempt to open or create a client project on a Universal Naming Convention (UNC) path. By default, a UNC path is not a trusted location for a project. Your project might not run correctly when you attempt to debug or run from this location.

 That is definitely the dialog box I was getting. Now I was concerned. One thing I am sure of, is that if my computer thinks my C:\ driver is an untrusted UNC path, I was going to be in a world of hurt, if I didn't find and fix the fundamental issue.

This information also concerned me because I was using a Virtual PC to try and open this project with. And I started to wondering if this was somehow playing a part in the issue.

Next, I found the same issue on Dave's Tech Shop

Dave didn't have the answer to my problem, but he did discuss how to give FullTrust permission to a UNC path.

Finally, I discovered Stephen Cawood's Geek Literature blog, and his article .Net project location is not trusted.

Stephen explains that there is a new security feature that applies to downloaded zip files. What I learned completely surprised me, since I've downloaded countless projects before and had never seen nor heard of this before.

Here's what I had to do to unblock the project I had extracted from a zip I had downloaded off the Internet.

image 

Right-click the Zip file, choose Properties, click Unblock, click Apply and then unzip.

Technorati Tags: , ,

Sunday, September 02, 2007 16:46:49 (Eastern Standard Time, UTC-05:00)  #    Comments [1]  |  Trackback
Thursday, August 23, 2007

df-LegionWhy does it have to be so hard to simply install SQL Server 2005? Why can't I simply load a DVD into my computer, see a well designed and thought out install dashboard, make a few choices and click install?

The installation adventure for SQL Server 2005 is some kind of man versus machine epic battle. In one corner you have some poor soul who would like to get some work done today, in the other corner you have Legion. Legion is comprised of many souls including but most certainly not limited to the following: SQL Server Itanium, SQL Server x64, SQL Server x86, 32 bit, 64 bit, Developer Edition, SP1, and so on. Individually all of these things are great. Once you manage to extract the piece you are seeking all is good in the world.  But as long as they are combined into one mindless mob and you have trouble.

Why did the SQL Server 2005 setup application have to be written as a Web application? Was this the best choice for a setup application that runs off of a DVD? Were there any pros to a pseudo Web deployment package? Well, here are some cons:

SQL Pain 1 

Scary dialog, that warns me about potential security and privacy issues I should be aware of and avoid.

sqlpain02

See, if this wasn't a Web page it could probably detect what Platform I was on and everything.

I'll go ahead and help it out, and choose SQL Server 2005 Developer Edition (English). Too bad I can't give any extra point for getting language right, since English was the only language on the DVD.

sqlpain03

Now what should I do? Hmm, autorun.inf says run the HTML application "splash.hta", but this is Web application isn't it? so shouldn't I choose the HTML Document "default.htm"?
Is this background information I know fair to expect of all users? What about new developers? Does this create an artificial learning curve up front? Nobody can use it, until they figure out how to install it.

sqlpain04 diedofdysentery

If you choose default.htm, which I still maintain is a reasonable choice, you will see the above, which reminds me of seeing "You Have Died of Dysentery" message in the old Oregon Trail game you may have played as a kid. At this point you can once again click and "Allow Blocked Content...". Well forcing me to confirm twice is okay because it is just Microsoft left hand watching out for Microsoft's right hand. I can understand that. Open-mouthed

sqlpain05

Hey where do you think you are going? Don't you know about allowing active content? Are you sure you want to let this file run active content?

sqlpain06

Oh, you are. Well, too bad because you have an "Error on page." and nothing is going to happen. So ha. See what I mean about dying of dysentery? Sucks doesn't it?

sqlpain07

Alright, some how or another you manage to recover from your dysentery, and make it back to the earlier step and choose "splash.hta". After realizing, that it followed that something named splash must be the installation executable.
Oh look, it needs us to tell it what Platform we are using, AGAIN. Not only can it not determine this on it own, which I'll admit maybe I do want to install the 32-bit (x86) version on my 64-bit OS, but at least remember once I tell you.

sqlpain08

Oh boy, looks like we are getting close now. One problem I have with this screen is that nothing is selected by default. I would have one option, probably the "Install Server components, tools, Books Online, and samples" already selected in some manner, even if the text were only marked as bold.
Keep in mind all of the dialogs and forms are building up on our desktop. We now have at least three or four different active dialogs open right now.
If we were to choose an item in the above dialog it would open yet another dialog. One final usability treat is that once you pick a main option of this dialog, it will close itself and only itself. So if you wanted to do more than one thing it has listed, which it looks like it is encouraging then you can either sort through all the open dialogs you have already, or even more fun if you closed any of them, start all over again.
One more thing to note is this screen is labeled as SQL Server 2005 (Disc 1 of 2) is there another dialog for SQL Server (Disc 2 of 2)? One can only wonder considering this DVD is Disc 1 of 1.

sqlpain09

Oh yeah! We are about half way through our adventure at this point, but the worst is behind us. From here most hardy adventurers make it to the promised land of our forefathers, and I have confidence you will too.

Take note, that it is after this point that Microsoft ask for your permission to log errors and issues, and track usage to help them improve Microsoft SQL Server, maybe it should be at the beginning of the setup application and not the end?

 

Technorati Tags: ,

Wednesday, August 22, 2007 23:32:47 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Wednesday, August 22, 2007

838766_electrocution Gordon: And what about escalation?
Batman: Escalation?
Gordon: We start carrying semi-automatics, they buy automatics. We start wearing Kevlar...they buy armor-piercing rounds.
Batman: And?
Gordon: And you're wearing a mask… and jumping off rooftops. Now, take this new guy. Armed robbery, double homicide.
Got a taste for the theatrical. Like you. Leaves a calling card. [hands Batman a Joker playing card]

BioShock uses the latest version of SecureROM technology which includes an authentication technology similar to the activation process that is used in Windows XP and Windows Vista, with a very strict limitation. You may only install the software twice ever. It does appear they do allow you to install the game twice on two machines if you'd like. And I think you can play simultaneously.

I did find out that if you uninstall BioShock, then you are credited back for the installation. That means as long as your hardware doesn't crash, you don't replace any hard drives with out first uninstalling BioShock while connected to the Internet, then you will be able to continue using BioShock.

You are allowed to contact SecureROM in the event you were unlucky and explain to the powers that be why you deserve another chance.

I believe Office 2007 has this "feature" as well, when it comes to handling volume licence users. If you had 10 licenses, as long as you remembered to uninstall before you formatted, and as long as you knew you needed to, you weren't using up licenses. When did we find out, on our eleventh install, after we called Microsoft up to explain there were only like 8 of us using the software.

My biggest complaint is, it takes a long time to install and setup up a machine, soon it will take just as long to uninstall and clean a machine just to be able to safely format it and start over and keep your software.

Over all it's not a real issue that I think will hinder me, but I don't feel that it helps me either. In the past I've waited until a PC was on its last leg before formatting it, now I may be taking a risk on losing my software long term. And I'm not sure one Mulligan is enough.

Technorati Tags: , ,

Wednesday, August 22, 2007 17:09:12 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Tuesday, August 21, 2007
256px-Bioshockcoverfinalcropped

It's seems like everyone is in love with this game. If you can get it to run on your system it's a good bet you will be too.

Source Date Rating X/10
GameSpot 2007.08.20 9.0/10 09.0
GamePro  2007.08.20 5.0/05 10.0
Yahoo! Video Games 2007.08.20 5.0/05 10.0
GameSpy.com 2007.08.16 5.0/05 10.0
IGN.com 2007.08.16 9.7/10 09.7
Game Informer 2007.08.15 10./10 10.0
Xbox Magazine 2007.07.30 10./10 10.0
Maxim Online 2007.08.21 5.0/05 10.0

129608-6-1-bioshockSource: GameStats.com

 

BioShock is one of the very few Direct X 10 Games that are available now, or anytime soon.

 

Think you got what it takes to play BioShock? Read 'em and weep.

Operating Systems: Windows XP (with Service Pack 2) or Windows Vista

Minimum System Requirements:
CPU: Pentium 4 2.4GHz Single Core processor
System RAM: 1GB
Video Card: Direct X 9.0c compliant video card with 128MB RAM (NVIDIA 6600 or better/ATI X1300 or better, excluding ATI X1550).
Sound Card: 100% direct X 9.0c compatible sound card
Hard disk space: 8GB free space

Recommended System Requirements:
CPU: Intel Core 2 Duo processor
System RAM: 2GB
Video card:
DX9: Direct X 9.0c compliant video card with 512MB RAM (NVIDIA GeForce 7900 GT or better)
DX10: NVIDIA GeForce 8600 or better
Sound Card: Sound Blaster® X-Fi™ series (Optimized for use with Creative Labs EAX ADVANCED HD 4.0 or EAX ADVANCED HD 5.0 compatible sound cards)

Vista Experience Score:
Processor: 5.0
Memory (RAM): 5.2
Aero Graphics: 5.3
Gaming Graphics: 5.4
Primary Hard Disk: 5.4

Important Note: Game requires Internet connection for activation

 

The demo for BioShock is 1888 MB alone! So right there you have a hurdle to overcome. You can try downloading it from one of the gaming sites, but most are overwhelmed right now. It is available on Bittorrent from what I read. I wanted to download it from Steam, but even they were maxed out. I ended up using GW Channel's PowerGrid application to stream it down at speeds averaging 3,912 Kbps. Whoo, hoo!

 


Tuesday, August 21, 2007 21:46:46 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback
Sunday, August 19, 2007

Last year, Friday November 24, 2006 to be exact, Best Buy had Microsoft Flight Simulator X on sale for I want to say for a little over $18. Well, I couldn't resist so I picked up a copy for myself, only to find there was absolutely no way my machine at the time was going to even load this game, much less play it at anything close to acceptable levels.

So I put FSX away, for the time being, until I could see fit to invest into an adequate machine, in case you are curious anything on level of Cybertron or above should do just fine for this game. This game recommends a Windows Vista Experience score of 5.0 or greater. Basically Microsoft FSX already hates your machine, even before you bought FSX. You could by a new machine today, or tomorrow for that matter, and it could be too old for FSX.

Fortunately for me, and thanks to advice I got from Ars Technica's Hot Rod System Guide and Scott Hanselman's Ultimate Developer Rig guides, I was able to build myself a machine that is actually capable of running FSX. Well, at least after I downloaded the patch for Vista that fixes a problem with FSX and multi-monitor systems.

I told you that story, so I could tell you this story...Open-mouthed

One of the things I noticed when I was first trying out FSX on my new system, was that you could fly FSX using the Xbox 360 Controller for Windows. You think FSX hates you and your PC, just try using it with either a mouse or a keyboard. I actually have an old Saitek X45 Flight Stick and throttle, but haven't wanted to set it up yet due to two reasons. One it uses a serial RS-232 port to connect to a PC. And two it is HUGE, and needs a whole desk of its own to hold it.

So the idea of reusing my Xbox 360 controller with FSX is perfect. It fits in my hand, and uses our friend USB.

First Attempt:

I have two Xbox 360 wireless controllers and I also have a Xbox 360 Play & Charge Kit. Basically you get a USB charge cable and a NiMH rechargeable battery pack. I know the regular Xbox 360 controller, the non-wireless version, works with Windows XP and Windows Vista out of the box. What about the wireless controllers?

I had read Scott Hanselman's article: "Xbox 360 Controller Wireless Receiver Adapter for Windows". So I know I could buy either an adapter, or a combo pack with both the wireless controller and the adapter, to get my controllers to work with Vista. Or I could just buy a standard non-wireless controller. But I didn't know if my controllers would work by using the USB charge cable. And why spend $20 to $60 if you don't have to?

So I plugged the USB charge cable into my controller, and then again into my PC and waited... Found New Hardware... hmm, this is promising... maybe... Locate and install driver software... Windows couldn't find driver software for your device... Uh, oh... Check for a solution... Contact Microsoft Corporation for support... hmm, not good... but wait there's a link... Download Gaming Software... Controllers, Xbox 360 Controller for Windows, Windows Vista (32-bit), English (US)... Download Xbox 360 Accessories Software 1.1 32-bit for Windows Vista... cross fingers...

Round Two:

...After much wailing and gnashing of teeth, I finally had to face the stark realization that something wasn't right. The question was what? Was it Vista? Was it my new PC? What could it be?

Well, I knew I was wishing and hoping from the start. I mean the Xbox 360 Wireless controller had to have a RF transmitter in it, and the Xbox 360 had to have a matching receiver in it, which was something my PC doesn't have. But did that mean that Xbox 360 wireless controllers don't have the required guts needed to send data out over USB like the standard controllers could do so effortlessly? I had to know. Confused

Final Lap:

Google Search on "Play & Charge Kit PC Support" -> results: Scenyx Entertainment Community: PC Tools and Utilities (Xbox 360 related).

There definitely seems to be some difference of opinion on the matter, even at Microsoft, but in the end I accepted defeat. Crying It does NOT appear that the Xbox 360 wireless controllers will send any real controller data over the USB charge cable. This had better be due to cost constraints, and not simply an over site or profit decision.

Conclusion:

So I went to my local Game Stop store today and bought a Xbox 360 Controller Wireless Receiver Adapter for Windows today for $20, and took my first flight, in a Bombardier Learjet 45, from KFLO - Florence Regional Airport to somewhere over the Atlantic Ocean. Um yeah, I'm still working on the landings.

 

"First Flight"

Microsoft Flight Simulator: $18

Adequate PC: $1600+

Xbox 360 controller adapter: $20

 

Getting to join the friendly skies: priceless

fsx_sunset

 

Note:

Once you do actually get your Xbox 360 Controller to work with Windows Vista you have a lot of cool opportunities to take advantage of the synergy.

Vista Games - you can use the controller to play any of the games that ship with Vista.

Virtual Earth 3D - this is a great way to explore maps. Very intuitive, responsive, and useful, and not to mention fun.

Games for Windows - any game that get Games for Windows certification is required to have Xbox 360 Controller support

 


Saturday, August 18, 2007 23:00:19 (Eastern Standard Time, UTC-05:00)  #    Comments [0]  |  Trackback

Theme design by Jelle Druyts

Pick a theme: