Posts Tagged ‘Windows 7’
.NET: One line could save your 64-bit bacon!
I have a customer that recently had to purchase a new computer due to her previous computer finally biting the dust. Knowing what programs she was running on her computer, I advised her that she should purchase a 32-bit version of Vista (then upgrade to the 32-bit version of Windows 7 when it came out).
She bought a 32-bit machine that was running Vista and everything seemed fine except the OS was corrupt. So she took the computer back in to have it replaced and they gave her a shiny new Windows 7 machine (she was only days away from the release of Windows 7) . She asked them to give her the same computer, but they gave her a 64-bit version of Windows 7 so when she went to install her programs she ran into a ton of problems because the programs were not written for the 64-bit versions of the operating system (a lot of legacy applications are not written for 64-bit operating systems, this isn’t Microsoft’s fault, this is a fault of the application programmers).
I have a small application that I wrote that for ease of use and not having to install any other programs, I chose to use Microsoft Access as the database for the application (say what you will, it was a side project that turned into something I could sell), but there is no 64-bit JET driver for reading Access databases so for 64-bit operating systems, I was hosed, until I found out that one line could change everything.
In the csproj file of your C# .NET application, in the first property group, add this line:
<PlatformTarget>x86</PlatformTarget>
So your property group should look something like this:
<PropertyGroup>
<PlatformTarget>x86</PlatformTarget>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A16625F1-A4BA-46FA-BD05-737257A18EBD}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>UPurMEMORY</RootNamespace>
<AssemblyName>UPurMEMORY</AssemblyName>
<ApplicationIcon>UPurMEMORY.48.ico</ApplicationIcon>
<FileUpgradeFlags></FileUpgradeFlags>
<UpgradeBackupLocation></UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>
That one little line saved my bacon and allows me to sell that piece of software for $10 to anyone who runs a 64-bit operating system. I’m not saying this will solve all of your problems, but it helped me.
Related Links:
- UPurMEMORY – memorization utility ($10.00 USD)
- Windows 7 Home Premium (upgrade)
- Windows 7 Professional (upgrade)
- Windows 7 Ultimate (upgrade)
Related Posts:
What’s the big deal about Windows 7
If you have been watching any TV lately, you have probably seen the new Mac ads or the new Windows 7 ads and you are wondering what’s the big deal. Hopefully this post will answer some of your questions.
After the debacle that was Vista, Microsoft had a lot to prove and I think they did it. I’m not the only one who thinks so, according to a lifehacker.com poll posted this morning a large percentage of their users are fans see actual numbers (from 2:00 pm on October 28th, below)
- Love it – 59% (8,681 votes)
- Like it – 27% (3,956 votes)
- Indifferent – 5% (804 votes)
- Not Thrilled – 4 % (590 votes)
- Hate it – 2% (290 votes)
- Ambivilent – 2% (251 votes)
- Other – 2% (242 votes)
So roughly 86% of the people who responded like it so they must have done something right. Here are a few of the reasons:
- CNET did a performance test with Mac OS X Snow Leopard vs. Windows 7 and Windows 7 stacked up pretty well.
- Lifehacker did a feature test (on a limited set of features) where Windows 7 actually came out ahead (Mac – 2, Windows – 3, Draw – 1).
- Windows 7 is less of a resource hog than Vista was. After having had Windows Vista installed on my main laptop and ditching Vista for Linux until I got a hold of Windows 7, I can concur. Windows 7 is much snappier on my laptop than Vista ever was.
As stated above, I have loved my experience with Windows 7 to this point. I installed the Release Candidate when it came out and was really impressed. I have since upgraded my Release Candidate copy to a fully licensed copy of Windows 7 Professional (upgrade). Here are my three favorite features.
Windows 7 Taskbar
With every previous version of Windows, I would do one of two things, either overload the quick launch bar with icons or download a Mac OS X style dock for holding application icons. I don’t need to do that with Windows 7, take a look at my taskbar (cropped to fit)
![]()
Everything is right where I need it, I don’t have to go to the start menu at all. To get an icon onto the taskbar, from the start menu or file explorer right click on the program icon and click Pin to Taskbar that’s it (see below).

Rotating Desktop images
As you can see from the backgrounds of the two images already posted in this blog my desktop background has switched and here’s the cool thing, I didn’t have to switch it by hand. I just told Windows 7 to monitor a folder and then tell it how often to rotate. To get there, right click on your desktop and choose Personalize. Then, in the bottom left, click on Desktop Background. Click the image for a full size view.

I know this is a minor deal, but for me it is a productivity issue, I can’t stand having the same desktop background all the time.
Window Snapping
One of my favorite features of Ubuntu while I was using it was the ability to grab a window and drag it to another screen or part of the screen and have it snap to the side. Windows 7 has implemented this and done even more. First, for you mouse users, you can grab a window by its title bar and drag it to either the top of the screen (this will maximize the window), the left side, or the right side (snapping a window to the left or right side will make the window 50% of the screen width and the full screen height. In the screenshot below you see two windows snapped to the sides of the screen, this is great for side by side viewing. (click on the image for a larger view)

For those of you who are keyboard users, the windows key is your friend. (look to the left of your spacebar)

By using the keyboard shortcut windows+left arrow you can cycle a window to the left through its different snap modes, windows+up arrow you can maximize the current window, or with windows+right arrow you can cycle a window to the right through its different snap modes.
My other favorite feature is that is just runs well, runs fast, and is pleasing to the eyes. Let me know your thoughts in the comments below. If you found this blog helpful, use the Share/Save button below to share this blog entry with your friends.
Get your own copy by clicking a link below:
- Windows 7 Home Premium
- Windows 7 Home Premium Upgrade
- Windows 7 Professional
- Windows 7 Professional Upgrade
- Windows 7 Ultimate
- Windows 7 Ultimate Upgrade
Also, if you need help installing Windows 7 contact Chris at Robson Computer Technologies, tell him Jeff sent you.