Category: Microsoft

Virtual PC on Windows 8–Use Hyper-V instead

Windows 8 does not support Virtual PC and probably never will. However, even better is that Windows 8 now includes Hyper-V as a ‘feature’.

You can install this easily by turning it on.

  1. Just search  Settings for the word ‘feature’ and you should find, ‘Turn Features on or off’.
  2. Then click Hyper-V to include all sub-features.
  3. You will then need to restart.
  4. After restart, you will see

    on your desktop. Or just type ‘Hyper’ and it will come up in the app search.
  5. Hyper-V works a bit differently from Virtual PC or Virtual Server, so find out about it online.
  6. However to save you a bit of grief I would suggest that one of the first things you do is setup the networking, otherwise any new machine you create will not be able to be allocated a network connection.
  7. To set up the network, first ensure you have selected your PC on the left and then click on ‘Virtual Switch Manager’
  8. You can create a variety of switches that have different access profiles. For your machines to be able to share your network connection and gain access to the internet, you need to create a new ‘external’ switch, by clicking on ‘Create Virtual Switch’, with ‘External’ selected in the list.
  9. Give the virtual switch a name. You need to select which network device in you host machine you would like the switch to use and how. So I like to put this in the network name. Also if you have more than one network device then you can allocate one to all the guest machines and the other to the host. In the example below, I have decided to use my wired connection and have that shared with the host.
  10. Now when you create new guest virtual machines, you will be able to select a network for them to join from the start.

VC_RED.cab, VC_RED.MSI, install.res.1028.dll etc.. Can be removed!

If you are wondering how or what all these funny files (more listed below) are sitting on your c:\ or other drive, then you will be please to know that they were generated as temporary files by a Visual C++ redistributable install package. Unfortunately the package does not clean them up afterwards.

If they are not on your c:\ drive, that because the installer actually looks for the drive with the most available space or something like that!

Any of the following files can be safely removed.

install.exe
install.res.1028.dll
install.res.1031.dll
install.res.1033.dll
install.res.1036.dll
install.res.1040.dll
install.res.1041.dll
install.res.1042.dll
install.res.2052.dll
install.res.3082.dll
vcredist.bmp
globdata.ini
install.ini
eula.1028.txt
eula.1031.txt
eula.1033.txt
eula.1036.txt
eula.1040.txt
eula.1041.txt
eula.1042.txt
eula.2052.txt
eula.3082.txt
VC_RED.MSI
VC_RED.cab

For Microsoft’s article see http://support.microsoft.com/kb/950683

Getting IE to remember your login again, when you previously said don’t!

It’s very frustrating that IE will never prompt you again for saving details to a website once you have said ‘No’ in this prompt (in IE 9 it’s a bar along the bottom on the window!)

 

The easiest, but most destruction method of fixing this is to wipe all you form data using the options in IE.

However, I have found two good blogs that explain why and how to fix it without loosing all your other login details etc..

Firstly , a manual registry fix is explained here at watchingthenet.com. Using the registry editor you can do a three stage process to fix just the one website you have the problem with.

Secondly, there is this one by Eric Law that explains why it’s a bit tricky to resolve due to the secure storing of the form data and settings. Most importantly is that he has very kindly made a little utility that help you fix it for just one website at a time.

You need to put in the actual page address, not the domain. Best to go to the offending login page that is refusing to remember and copy the address directly.

How to update all fields and Table of Contents in Word 2010, including headers and footers!

  1. Click on the ‘File’ tab then ‘Options’
  2. Select ‘Display’ on the left column, and make sure that ‘Update fields before printing’ is ticked.
  3. Click OK to save this setting. You only need to do this once and all documents will update field every time you print.
  4. So now to force an update of all fields, all you need to do is do a print preview and all is updated.
  5. I prefer to have ‘Print Preview’ available on the ‘Quick Access Toolbar’. If yours is not there then just click on the down arrow and select it from the list.

Tip – Manually update a single field:

To update just one field, click your mouse into it and press the F9 key on your keyboard.

Tip 2 – Manually update all fields:

To update every field in your document (other than in headers and footer), press CTRL+A to select all, then click F9

How to easily add open source libraries to .NET projects using NuGet

I have just come across one of the best Visual Studio extensions called NuGet (http://nuget.org/).

It makes it incredibly easy to add available libraries, including such things as JavaScript libraries like jQuery. Not only that, but it will work out any dependencies, download those and then warn you if any get updated.

The easiest way to get going is to add it to Visual Studio using the ‘Extension Manager’ which you will find under the ‘Tools’ menu. It’s called ‘NuGet Package Manager’.

Once installed, it is simplicity itself to add a reference and download the binaries, dependencies and code for a useful library (such as MVVM Light or jQuery).

  1. Right-click on the references folder in your solution.
  2. Select ‘Manage NuGet Packages…’image
  3. and voila…search for new libraries or check for updates. If NuGet finds any updates then you will get an alert when VS2010 starts.

SNAGHTML198fc1

Potential TFS connection Problem TF30063

There is one fly in this ointment that took me a little time to resolve. A bug in NuGet can force the connection to your TFS server to be dropped. The only way out is to restart Visual Studio.  the solution to this turns out to be extremely trivial.

All you need to do is add your TFS server URL to the Intranet security group in Internet Explorer!

The credit for resolving this must go to the very brilliant effort by Miha Markic. See his blog about it at http://blog.rthand.com/post/2011/08/26/Fixing-combination-of-NuGet-and-Team-Foundation-in-workgroup-configuration-401-Unauthorized.aspx

Cultures (CultureInfo and RegionInfo) Not supported on Windows Phone 7

Here is a list of cultures from the Microsoft Silverlight supported cultures listing (CultureInfo Class) that I have discovered are not currently (11/11/2010) NOT supported on the Windows Phone 7 platform.

ar-DZ

Arabic (Algeria)

ar-BH

Arabic (Bahrain)

ar-EG

Arabic (Egypt)

ar-IQ

Arabic (Iraq)

ar-JO

Arabic (Jordan)

ar-KW

Arabic (Kuwait)

ar-LB

Arabic (Lebanon)

ar-LY

Arabic (Libya)

ar-MA

Arabic (Morocco)

ar-OM

Arabic (Oman)

ar-QA

Arabic (Qatar)

ar-SA

Arabic (Saudi Arabia)

ar-SY

Arabic (Syria)

ar-TN

Arabic (Tunisia)

ar-AE

Arabic (U.A.E.)

ar-YE

Arabic (Yemen)

hy-AM

Armenian (Armenia)

zh-HK

Chinese (Hong Kong SAR, PRC)

zh-MO

Chinese (Macao SAR)

zh-SG

Chinese (Singapore)

hr-BA

Croatian (Bosnia and Herzegovina)

dv-MV

Divehi (Maldives)

fa-IR

Farsi (Iran)

gu-IN

Gujarati (India)

he-IL

Hebrew (Israel)

hi-IN

Hindi (India)

kn-IN

Kannada (India)

kk-KZ

Kazakh (Kazakhstan)

syr-SY

Syriac (Syria)

ta-IN

Tamil (India)

te-IN

Telugu (India)

th-TH

Thai (Thailand)

ur-PK

Urdu (Pakistan)

vi-VN

Vietnamese (Vietnam)

Digg This