Skip to main content

Posts

Showing posts with the label windows

Restore Grub After Installing Windows 7

Dual booting. It can be a wonderful thing or a horrible nightmare. With Windows 7, users may have more than one reason to want the ability on their HTPC machines. Especially if several pieces of hardware just don't work as they should in Ubuntu. The trick is, Windows 7, by default, wants to be the ONLY OS on your computer, even if you've already installed other OSes. My recommendation? Install Windows 7 first, in a carefully planned partition (create using Ubuntu LiveCD and GParted, of course), and then install Ubuntu. But what if you just HAD to install Ubuntu first in that secondary partition and now need to install Windows? Windows will erase your Grub settings from the boot sector. This means no more ability to boot into Ubuntu. Oh No! Not to worry, there's an easy way to recover from said disaster. I found this excellent post and here are the details for archival purposes: This post discusses the easy way of restoring Grub2 using Ubuntu Live CD. First, boot with the...

Black Cursors on Win7/2008 R2 Using rdesktop for Ubuntu 10.04

I recently setup a Win 2008 R2 VM and proceeded to remote connect to it from Ubuntu 10.04. Everything worked perfectly except the mouse cursors were black (and some were corrupt). Solution? Use a newer version of rdesktop that doesn't ship with Ubuntu. There is a handy PPA that can be added using the following command: sudo apt-add-repository ppa:ricolai/ppa sudo apt-get update sudo apt-get install rdesktop [UPDATE] It appears ricolai may have removed the package from his PPA. To remedy the situation, I've uploaded the working binaries for x64. Sorry, I don't have the x86 any longer. More information on the bug can be found here: https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/385974?comments=all

Exposing .NET as COM (Windows)

Below didn't work for me, so I'm trying these links instead: http://www.codeproject.com/KB/COM/VS2005ComDllWalkThru.aspx http://www.codeproject.com/KB/COM/VS2005RegisteringComDLL.aspx Sorry, real world problem here - need to write it down: (Ripped shamelessly from Experts-Exchange ) Ok, to make a VB Component COM callable, follow the instructions below: 1) Open up the Visual Studio . NET command prompt, and change to your project directory (where your .sln file is located). Whenever I refer to the command prompt, I mean the VS.NET command prompt. To open it, go to Start->Program Files ->Microsoft Visual Studio . NET ->Visual Studio . NET Tools->Visual Studio . NET Command Prompt. You may want to put a link to it on your quickbar. In the command prompt, while in your project directory, type: sn -k key.snk This will create a strong name RSA key file with a public and private key. There are security implications if you create any components that are distrib...