Posts Tagged ‘Windows Vista’

September 14th, 2007

I have been a bad Blogger

Hi loyal readers,

I have to apologize, I have been a really bad blogger lately. I have neglected my blog because of a new job and a brand new Web 2.0 site that I am about to release. At the end of the month I will make an announcement about this project and all the new technologies that many of you have probably heard of but few have implemented. But until then please keep visiting and I really enjoy your comments on the following popular postings:

Thanks,
Nick

Tags: , , ,

Posted in Programming, Rant | kick it on DotNetKicks.com | Bookmark | View blog reactions | 1 Comment »

July 30th, 2007

Vista Performance and Reliability Pack Unofficial Release

Please note: These fixes break all current methods of bypassing driver singing requirements except the good old F8 during boot (that you have to do every single time you start vista)

If you are using Rivatuner, atitool and or Peerguardian on 64bit vista, you will have to use F8 every single time to disable driver signing requirements to use those two programs. x86 version is unaffected.

These updates should go official on the next patch Tuesday (in one weeks time). Please read more for the download links and information on these updates.

938979 Vista Performance and Reliability Pack

This update resolves a number of individual issues which may be affecting some computers running Windows Vista. These issues have been reported by customers using the Error Reporting service, product support, or other means. Installing this update will improve the performance and responsiveness for some scenarios and improves reliability of Windows Vista in a variety of scenarios. Some examples of the improvements contained in this update are:

  • Improves performance in resuming back to the desktop from the Photo and Windows Energy screensaver.
  • Resolves an issue where some secured web pages using advanced security technologies may not get displayed in Internet Explorer on Windows Vista.
  • Resolves an issue where a shared printer may not get installed if the printer is connected to a Windows XP or Windows Server 2003 system and User Access Control is disabled on the Vista client.
  • Resolves an issue where creating AVI files on Vista may get corrupted.
  • Improves the performance in calculating the ‘estimated time remaining’ when copying/moving large files.
  • Improves performance in bringing up Login Screen after resuming from Hibernate.
  • Resolves an issue where synchronization of offline files to a server can get corrupted.
  • Resolves a compatibility issue with RAW images created by Canon EOS 1D/1DS Digital SLR Camera which can lead to data loss. This only affects RAW images created by these two specific camera models.
  • Resolves an issue where a computer can lose its default Gateway address when resuming from sleep mode.
  • Improves the performance when copying or moving entire directories containing large amounts of data or files.
  • Improves the performance of Vista’s Memory Manager in specific customer scenarios and prevents some issues which may lead to memory corruption.

938194 Vista Compatibility and Reliability Pack

This update resolves a number of individual issues which may be affecting some computers running Windows Vista. These issues have been reported by customers using the Error Reporting service, product support, or other means. Installing this update will improve the reliability and hardware compatibility of Windows Vista in a variety of scenarios. Some examples of the improvements contained in this update are:

  • Improved reliability and compatibility of Vista when used with newer graphics cards in several specific scenarios and configurations.
  • Improved reliability when working with external displays on a laptop.
  • Increased compatibility with many video drivers.
  • Improved visual appearance of games with high intensity graphics.
  • Improved quality of playback for HD-DVD and Blue-Ray disks on large monitors.
  • Improved reliability for Internet Explorer when some third party toolbars are installed on Vista.
  • Improved Vista reliability in networking configuration scenarios.
  • Improved the reliability of Windows Calendar in Vista.
  • Improved reliability of systems that were upgraded from XP to Vista.
  • Increased compatibility with many printer drivers.
  • Increased reliability and performance of Vista when entering sleep and resuming from sleep.

Download: Vista Compatibility and Reliability Pack for x64 or x86 version
Source: Neowin.net

Tags: , ,

Posted in Programming | kick it on DotNetKicks.com | Bookmark | View blog reactions | No Comments »

July 22nd, 2007

How To: Disable Driver Integrity Checks on Windows Vista x64

One of the new features of Windows Vista was the Driver integrity Checks. In the x64 version of the product it is turned on by default, and is a great idea to prevent kernel level access to only drivers that have passed the Microsoft Testing for security and performance. However this feature can be rather annoying since Microsoft hasn’t even released signed drivers for all their products. (i.e. Streets & Trips GPS Device) So I have included the following steps in order to disable the driver signing integrity checks, so that you can install unsigned drivers.

Note: You should only do this if you are experiencing driver installs getting blocked and you use this driver on a daily basis. Because there is an F8 boot option that will temporarily disable driver signing for other needs and also this is a very good feature that helps prevent spyware and other nastys from gaining access to your OS.

  1. Log in to Windows with a user name that has administrative access.
  2. Right click on Start > Accessories > Command Prompt
  3. Select Run as administrator
  4. In the command prompt type bcdedit /set nointegritychecks on
  5. Reboot.

To turn driver signing back on do the following:

  1. Follow steps 1-4 from above.
  2. In the command prompt type bcdedit /set nointegritychecks off
  3. Reboot.

So it is that easy.

Tags: ,

Posted in How To, Programming | kick it on DotNetKicks.com | Bookmark | View blog reactions | No Comments »

June 21st, 2007

How To: Connect To Cell Phone Internet Though Windows Vista

Since my last article I have updated the OS on my cell phone to AKU 3 for Windows Mobile 5.0. This has been a huge productivity increase, since there is no longer a need to have a modem driver, and you can browse the internet and take calls on your cell phone at the same time.

Requirements:

  1. A Windows Mobile 5.0 or 6.0 device.
  2. Active Sync 4.2 or greater for Windows XP or Windows Mobile Device Center for Windows Vista.

USB Internet Sharing:

  1. Open the Internet Sharing application under Programs.
  2. In the PC Connection drop down select USB.
  3. In the Network Connection drop down select the network connection for your cell phone provider. (i.e. Verizon Wireless)
  4. Press Connect in the bottom left.
  5. Plug your device in to your computer using a USB cable.
  6. You will then see your Status at the top change to Connected.

Bluetooth Internet Sharing:

I am going to assume that you already have your Bluetooth device paired to your computer. If you don’t know how to do this please check the manual for your specific phone.

  1. Open the Internet Sharing application under Programs.
  2. In the PC Connection drop down select Bluetooth PAN.
  3. In the Network Connection drop down select the network connection for your cell phone provider. (i.e. Verizon Wireless)
  4. Press Connect in the bottom left.
  5. Plug your device in to your computer using a USB cable.
  6. Setup a PAN (Personal Area Network) on your computer, again please search the internet or look through your manual on how to do this, because it varies from cell phone to cell phone and Windows XP and Windows Vista.
  7. You will then see your Status at the top change to Connected.

This is a great new feature that the Windows Mobile Team has included in the Windows Mobile OS. Not only can you now use your phone while you are browsing the web, but you don’t have to go through the hassle of trying to find a modem driver and then setting up a dial up connection and typing #777 and on and on and … you get the idea. I hope you find this useful, and as always please leave a comment telling me if this works or doesn’t for you.

Tags: , , , , , , ,

Posted in How To | kick it on DotNetKicks.com | Bookmark | View blog reactions | 8 Comments »

June 12th, 2007

Apple Safari Browser Welcomed To Real World With 6 Zero Day Exploits

Apple has just released a public beta of its Safari browser for Windows yesterday. And there have been already 6 zero day exploits and many, many crashes for the browser. You can read about them here here here and here. Which makes the following image from the Apple website, borrowed from aviv.raffon.net, all the more funny.

Apple Safari Security

Also Apple has the following to say under the Security tab of their website:

Security

Now you can enjoy worry-free web browsing on any computer. Apple engineers designed Safari to be secure from day one.

For starters, Safari uses robust encryption to ensure that your private information stays that way. When you browse a secure site, Safari displays a lock icon in the upper-right corner of the browser. If you want to know more about the credentials of a secure site, click the lock icon and Safari displays detailed information about the site’s security certificate.

Safari supports SSL versions 2 and 3, as well as Transport Layer Security (TLS), the next generation of Internet security. Safari uses these technologies to provide a secure, encrypted channel that protects all your information from online eavesdroppers. And Safari lets you use standards-based authentication such as Kerberos single sign-on and X.509 personal certificates, or proprietary protocols like NTLMv2 to log in to secure sites.

Safari also supports a variety of proxy protocols — services that help firewalls control what flows in and out of the network — including Automatic Proxy configuration, FTP Proxy, Web Proxy (HTTP), Secure Web Proxy (HTTPS), Streaming Proxy (RTSP), SOCKS Proxy, and Gopher Proxy.

I don’t know about you, but it’s one thing to say that you have designed your browser to be secure from day one, but it’s another to actually prove it. Apple has fallen flat on its face with this release, and I know it is only a beta, but Fire Fox and IE have both been in beta before and haven’t nearly had this many problems.

All that I have to say is when you venture out in to the Windows world Apple, where the market share is at 90% you are not protected by your small margins anymore.

Tags: , , , , , , ,

Posted in Programming, Rant | kick it on DotNetKicks.com | Bookmark | View blog reactions | 1 Comment »

May 30th, 2007

Apple iTunes 7.2 Released

I am happy to announce that Apple iTunes 7.2 has been released and this is the first release since Windows Vista was released 6 months ago that worked through Apples normal install process with out any problems. I just wanted to keep everybody updated since I have talked about the problems of installing iTunes on Windows Vista x64 in the past.

If you want any more information about this release, please view Mac Rumors.

Tags: , , ,

Posted in Programming, Rant | kick it on DotNetKicks.com | Bookmark | View blog reactions | No Comments »

May 26th, 2007

Is there really a “Microsoft Tax” when support is involved?

You’ll see many posts out on the web talking about what a great thing it is that Dell is offering a Free OS on their hardware. And many stories talking about the Windows Tax. I was very disappointed to see the superficial overview that Jeff Atwood on his website, he has always done very in depth reviews in the past, however he slipped this time:

Whether you’re a fan of the latest open source operating systems, or just a fan of plain old-fashioned consumer choice, the end of the Microsoft tax is a win for customers. I was a little worried that Dell would charge extra for the privilege, but it looks like they played fair and square:

  Dell Dimension E520 Dell Dimension E520N
CPU Core 2 Duo E4300 1.86 GHz Core 2 Duo E4300 1.86 GHz
RAM 1 GB DDR2 1 GB DDR2
Hard Drive 250 GB 250 GB
Media CD-RW/DVD CD-RW/DVD
Video Integrated Intel GMA X3000 Integrated Intel GMA 950
OS Windows Vista Home Premium Ubuntu Desktop Edition 7.04
  $679 $599

Because if you are just looking at the table above it looks like you are getting a real bargain, from any consumers point of view. You may think that you can save $80.00 by getting a PC with Linux on it and then using pirated software, free Microsoft Windows software from your university, or just taking your friends CD for a night. In all cases you will be screwed out of the Windows support that comes at a premium with Linux. I am not saying this is for everybody, because I imagine most of the readers of this website only call the support lines when they have already figured out they need their hardware replaced.

However there are a good 95% (totally made up number) that still use support for basic things such as printer installs, troubleshooting mouse problems, and other common tasks that we can do in our sleep.

  Dell Dimension E520 Dell Dimension E520N
CPU Core 2 Duo E4300 1.86 GHz Core 2 Duo E4300 1.86 GHz
RAM 1 GB DDR2 1 GB DDR2
Hard Drive 250 GB 250 GB
Media CD-RW/DVD CD-RW/DVD
Video Integrated Intel GMA X3000 Integrated Intel GMA 950
OS Windows Vista Home Premium Ubuntu Desktop Edition 7.04
Support FREE (1 year) $275 (1 year - standard)
  $679 $874

So the price is no where near equal when you start looking at support options. In fact if I was to up my support plan to 3 years, I could still only get 1 year of support for $275.00, however if I was to up my support plan in for Windows I would get 3 years of support for Windows at no cost.

I know many of you are still rolling your eyes at the idea that you would need support for Windows, but you have to step back and look at a computer through a total novices eyes, and realize they still see a computer as performing, as my grandmother-in-law says, “magic”. That “magic” as she put it was just because she could chat in real time over GTalk to her grand-children through the computer.

As much as I love Ubuntu, and Linux in general, I have never liked the whining or group think mentality that comes with being an OSS zealot. I am sure they say the same about me and Windows, but at least I consciously choose Windows because I am more productive on it. I didn’t choose my operating system in order to “stick it to the man”, as one of my friends put it. I really think selling Ubuntu was a big PR move from Dell, had nothing to do with promoting free Open Source Software. Basically they just wanted some street creds, because their sales have been tumbling, and HP, has taken Dell’s place, and become the largest supplier of computers in the world. Getting a small group of users on their side, may help them meet Wall Street Estimates this new fiscal year.

I make these observation because you could always buy a PC from Dell with out an operating system, by going through the Small Business site and choosing FreeDOS as your operating system. This goes for all the major manufactures, including Dell, HP, and Lenovo to name a few. It is just that some very vocal Linux activist conveniently forget this when they are arrogantly talking about the “Microsoft Tax” and the strangle hold Microsoft has over these manufactures.

Tags: , , , , ,

Posted in Programming, Rant | kick it on DotNetKicks.com | Bookmark | View blog reactions | 1 Comment »

April 12th, 2007

Apple announces Leopard delays due to the iPhone

For all the Apple fans out there expecting Leopard to be released in June, David from TUAW has some news for you. Apparently late October is the new date for the next release of OS X 10.5. Many people blame Microsoft for taking extra time with Vista, to redo blaring security issues, however I don’t blame Microsoft or Apple, because we expect nothing less than the best software that money can buy from these companies, and if it takes a little longer to get it, then I am willing to wait.

Tags: , , ,

Posted in Programming, Rant | kick it on DotNetKicks.com | Bookmark | View blog reactions | No Comments »

March 27th, 2007

Creating a Vista like Search Box

Introduction

In this post we are going to go over what it takes to create a control, and more specifically a Vista Search Box like control.

Definition of Current Search Box

The first thing to do when creating a new control for Windows Forms is determine all the states of the control. In our case the control states are rather simple:

Inactive:
Vista (Inactive)

Active:
Vista (Active)

Text Entered:
Vista (Text Entered)

Button Active:
Vista (Button Active)

Creating the Search Box

The next objective is to determine the inputs, outputs, and events for the control.

Inputs:

  • Text
  • Button Click

Outputs:

  • Text

Events:

  • Text Changed

So now that we have all the inputs, outputs, and events determined, we can start creating the control. The first thing to determine is if we already have a good starting point control that does mostly everything we need. You may be thinking that TextBox Control is a perfect starting point. Normally I would agree with you, but there are certain properties of the TextBox Control that provides states to our search box that shouldn’t be available, such as Multi-Line TextBox, and Password TextBox, both of these examples fall outside of the scope of what our TextBox is suppose to accomplish.

So that leaves us with Control, which is the basis, for all Graphical Objects in the Windows Form library. The pros of using Control over an already established object is that you get to define the exact inputs, outputs, and events that you need. We now need to define all the appearance related properties for our SearchTextBox.

  • HoverButtonColor
  • ActiveBackColor
  • ActiveForeColor
  • InactiveBackColor
  • InactiveForeColor
  • InactiveFont
  • InactiveText
[Category("Appearance")]
[DefaultValue(typeof(Color), "GradientInactiveCaption")]
public Color HoverButtonColor
{
	get { return _hoverButtonColor; }
	set { _hoverButtonColor = value; }
}

[Category("Appearance")]
[DefaultValue(typeof(Color), "WindowText")]
public Color ActiveForeColor
{
	get { return _activeForeColor; }
	set { _activeForeColor = value; }
}

[Category("Appearance")]
[DefaultValue(typeof(Color), "Window")]
public Color ActiveBackColor
{
	get { return _activeBackColor; }
	set { _activeBackColor = value; }
}

[Category("Appearance")]
[DefaultValue(typeof(Color), "GrayText")]
public Color InactiveForeColor
{
	get { return _inactiveForeColor; }
	set { _inactiveForeColor = value; }
}

[Category("Appearance")]
[DefaultValue(typeof(Color), "InactiveBorder")]
public Color InactiveBackColor
{
	get { return _inactiveBackColor; }
	set { _inactiveBackColor = value; }
}

[Category("Appearance")]
[DefaultValue(typeof(Cursor), "IBeam")]
public override Cursor Cursor
{
	get { return base.Cursor; }
	set { base.Cursor = value; }
}

[Browsable(false)]
public override Color ForeColor
{
	get { return base.ForeColor; }
	set { base.ForeColor = value; }
}

[Browsable(false)]
public override Color BackColor
{
	get { return base.BackColor; }
	set { base.BackColor = value; }
}

[Category("Appearance")]
[DefaultValue(DefaultInactiveText)]
public string InactiveText
{
	get { return _inactiveText; }
	set { _inactiveText = value; }
}

[Category("Appearance")]
[DefaultValue(typeof(Font), "Microsoft Sans Serif, 8.25pt")]
public Font ActiveFont
{
	get { return base.Font; }
	set { base.Font = value; }
}

[Category("Appearance")]
[DefaultValue(typeof(Font), "Microsoft Sans Serif, 8.25pt, style=Bold, Italic")]
public Font InactiveFont
{
	get { return _inactiveFont; }
	set { _inactiveFont = value; }
}

[Browsable(false)]
public override Font Font
{
	get { return base.Font; }
	set { base.Font = value; }
}

[Category("Appearance")]
public override string Text
{
	get { return searchText.Text; }
	set { searchText.Text = value; }
}

note: You will notice three different attributes on most of the class properties. They are Category, DefaultValue, Browsable, these are outside of the scope of this article, but I will tell you they effect how the Visual Studio IDE interacts with the SearchTextBox and its available properties at design time.

Next thing we need to do is hook up all the controls events to our specified properties so it acts as we expect it to as defined in our states above. The Control Events we are going to use in order to accomplish the for states that were listed above are: GotFocus, LostFocus, ForeColorChanged, BackColorChanged, Click, and TextChanged.

  • GotFocus
    Occurs when the control receives focus.
  • LostFocus
    Occurs when the control loses focus.
  • ForeColorChanged
    Occurs when the ForeColor property value changes.
  • BackColorChanged
    Occurs when the value of the BackColor property changes.
  • Click
    Occurs when the control is clicked.
  • TextChanged
    Occurs when the Text property value changes.

note: Please see the code listed below for how these events were implemented for our SearchTextBox.

Look & Feel

Well the Control Object isn’t quite as full featured as some of the other controls in the library. So in order to give our SearchTextBox a border to make it look more like a text box we need to tell Windows to draw it with some Native Constants that Windows uses. I am not going to go much in to what all this means, but I will tell you that it draws a thin border around the control.

protected override CreateParams CreateParams
{
	[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
	get
	{
		CreateParams createParams = base.CreateParams;
		createParams.ExStyle |= NativeConstants.WS_EX_CONTROLPARENT;
		createParams.ExStyle &= ~NativeConstants.WS_EX_CLIENTEDGE;

		// make sure WS_BORDER is present in the style
		createParams.Style |= NativeConstants.WS_BORDER;

		return createParams;
	}
}

The next and last thing we need to do to complete our control is set some more attributes that tells the Visual Studio IDE how to interact with our control.

	[Designer(typeof(CoderJournal.Controls.Design.SearchTextBoxDesigner))]
	[DefaultEvent("TextChanged")]
	[DefaultProperty("Text")]
	public partial class SearchTextBox : Control

The Designer Attribute is important because it tells Visual Studio IDE how to render our control. The most important part of the designer class which is outlined in the source package is it’s ability to control how our control is sized. Because when you have a normal TextBox Control you can only size it vertically if the multi-line property is not set. So in order to duplicate this behavior we need to create this designer class.

public override SelectionRules SelectionRules
{
	get
	{
		return base.SelectionRules & ~(SelectionRules.BottomSizeable | SelectionRules.TopSizeable);
	}
}

Example of Use

SearchTextBox searchText = new SearchTextBox();
searchText.TextChanged += delegate(object sender, EventArgs e) {
	outputLabel.Text += Environment.NewLine + searchText.Text;
}

Our Search Box

The following may note be the exact look and feel of Windows Vista, mostly for technical reasons, but there are also some legal ones too. However for the most part you should find the functionality the same.

Inactive:
My Code (Inactive)

Active:
My Code (Active)

Text Entered:
My Code (Text Entered)

Button Active:
My Code (Button Active)

Application & Source

The following is a download of the application and the source of the code that we just went over. Please use the following source code in anyway that you see necessary, just please give my self, Nick Berardi, and this post reference when you use it in its current or modified form. This code comes with no warranty, and for legal reasons is not supported by me.

If you have any questions or comments about this article or the code please feel free to reply below.

Tags: , , , ,

Posted in C#, How To, Programming | kick it on DotNetKicks.com | Bookmark | View blog reactions | 5 Comments »

March 20th, 2007

Apple iTunes: Changing the error message doesn’t fix the problem

Well it’s been a whole 8 days since the last Apple iTunes release 7.1 where Apple wanted us Windows Vista users to be unsecured so they could install the iTunes software. Now the latest version of Apple iTunes has been release, version 7.1.1, and it has the exact same problem except now they changed the error message.
From:

—————————
iTunes + QuickTime
—————————
iTunes could not be installed because Visual Basic Script (VBScript) is not installed or has been disabled. Make sure VBScript is installed, turn off script blocking in anti-virus and personal firewall software, re-register VBScript, and then install iTunes.
—————————
OK
—————————

To:

—————————
iTunes + QuickTime
—————————
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738.
—————————
OK
—————————

Unfortunately for Apple changing the error message doesn’t mean you have fixed your past problem. If you check out Apple Support #304405, you see that Apple outlines the same steps I have provided in my previous post. So it is mostly definitely the same issue.

Note To Steve Jobs: Get off your butts and hire some Windows Developers, or fire the current Windows Developers because they aren’t worth their weight in beans. I really don’t understand how they have usability engineers and designers working on the un-packaging process of the Apple products in order to maximize the quality that goes in to every hardware device. How about having some of that rub off on your un-packaging of software?

Tags: , , ,

Posted in Programming, Rant | kick it on DotNetKicks.com | Bookmark | View blog reactions | 2 Comments »