Archive for the “OS” Category

So yesterday I reinstalled my laptop because some beta driver was acting up, no big deal. I had both of my partitions secured with Bitlocker (and a BIOS password set up) so that my laptop is secure.

After formatting I noticed that my C drive wasn’t encrypted anymore (which is obvious, it was formatted).

But my D drive looked like this:

locked

It was locked. Fortunately I printed my recovery key so I was able to unlock the drive.

Please print the keys, and keep them safe!

Comments No Comments »

Well not really my computer, but my girlfriend’s. It needed some updating (you know how people are, not updating & stuff).

Adobe Reader already sets 2 programs in startup. A speed launcher and another one which I am too lazy to identify. If your application is too slow then optimize it, don’t treat the symptoms.

Then our good slow friend Java. Always had their speed launcher (symptom treatment!!) in startup, but guess what also added a service.

naamloos

What the f*ck? I’m moving closer and closer to not install Java on new pcs, since it’s a burdon to manage and keep up to date!

Comments No Comments »

When you right click a music folder in Windows Explorer you get this:

 

Shop for music online

To remove the Shop for music online link put this into a registry file and execute it:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\SystemFileAssociations\Directory.Audio\shellex\ContextMenuHandlers\WMPShopMusic]

Comments No Comments »

Using lambda functions you can shorten your event handlers.

E.g.:

With a normal event hander:

class Test
{
	private Timer timer;

	private void Timer_Elapsed(object sender, ElapsedEventArgs e)
	{
		Console.WriteLine(string.Format("Object: {0} sends: {1}", sender, e));
	}

       public Test()
	{
		this.timer = new Timer();

		this.timer.Elapsed += new ElapsedEventHandler(this.Timer_Elapsed);

		this.timer.Interval = 100;
		this.timer.Start();
	}
}

With an anonymous function:

class Test
{
	private Timer timer;

        public Test()
	{
		this.timer = new Timer();

		this.timer.Elapsed += delegate(object sender, ElapsedEventArgs e)
					 {
						 Console.WriteLine(string.Format("Object: {0} sends: {1}", sender, e));
					 };

		this.timer.Interval = 100;
		this.timer.Start();
	}
}

And with an anonymous lamba:

class Test
{
	private Timer timer;

        public Test()
	{
		this.timer = new Timer();

		this.timer.Elapsed += (sender, e) => Console.WriteLine(string.Format("Object: {0} sends: {1}", sender, e));
		//or you can explicitly type your parameters:
		this.timer.Elapsed += (object sender, ElapsedEventArgs e) => Console.WriteLine(string.Format("Object: {0} sends: {1}", sender, e));

		this.timer.Interval = 100;
		this.timer.Start();
	}
}

And with a named lamda:

class Test
{
	private ElapsedEventHandler elapsedEventHander;
        private Timer timer;

        public Test()
	{
		this.timer = new Timer();

		this.elapsedEventHander = (sender, e) => Console.WriteLine(string.Format("Object: {0} sends: {1}", sender, e));

		this.timer.Elapsed += this.elapsedEventHander;

		this.timer.Interval = 100;
		this.timer.Start();
	}
}

Which one to take? The one that suits you and your current application / case!

Sidenote: sorry for the layout, I will fix it ASAP. Fixed :)

Comments 3 Comments »

For those who like to live on the edge:

Vista SP2 x64 Beta

Vista SP2 x86 Beta

Remember that there is a change when you install this on your workstation you might need to reinstall Vista if problems occurs, I AM NOT RESPONSIBLE for this.

Comments 1 Comment »

Let’s say you are one of the gifted persons to have MSDN access.

Let’s say you use Vista 64-bit (I don’t know if the problem occurs on 32-bit).

Let’s say you want to download something from MSDN with Microsoft File Transfer Manager.

And it does not work.

Well use this workaround:

First: download the File Transfer Manager from here.

Download and install the MSI. The default path is c:\Program Files (x86)\Microsoft File Transfer Manager”. Remember this.

Then use Firefox to go to the MSDN website, start a download, and it will prompt you to do something with the default.aspx. Well open that file with the File Transfer Manager. And it works!

Woei!

Comments No Comments »

DO NOT REMOVE user32.dll, even though AVG 8 states that there is a virus in the file.

Doing so will remove the file, and cause a BSOD, and makes your system unable to boot.

It marks the file as infected with Trojan Horse PSW.BANKER4.APSA.

Possibilities are to wait for an update from AVG, or (preferably) upgrade to XP SP3!

Comments 11 Comments »

Today an update for Live Mesh was released.

As stated in the title: there is no need to set your country for your .NET passport and computer to the US, which means my ‘tutorial’ is obsolete now.

Try it out, have fun :)

Comments No Comments »

Sinds een paar dagen heb ik mijn laptop terug, en ik heb besloten van er Linux op te zetten. Namelijk Ubuntu 8.04. Schijfje erin, en dan installeren. 10GB voor /, 4GB voor /swap, en de rest op /home.

Ik heb eigelijk niet veel aangepast, wel een aantal packages verwijderd, maar dat is je eigen keuze.

Wel heb ik een speciaal package geinstalleerd, voor het doen werken van de Bluetooth.

Door het combineren van 2 tutorials ben ik tot het volgende geraakt:

  1. Download omnibook-source van http://packages.kirya.net/debian/pool/main/o/omnibook/ , en sla het bestand op in je homedirectory
  2. Voer het volgende 2 regels uit in je homedirectory:
  3. sudo su 
  4. gdebi omni* -n; apt-get install module-assistant build-essential -y; module-assistant build omnibook; module-assistant install omnibook; modprobe omnibook; echo "omnibook" >> /etc/modules

That’s it :)

Succes ermee

-Kristof out.

Comments No Comments »

We kennen allemaal Live Mesh.

Nu is er een tegenhanger: DropBox . Kijk naar het filmpje.

Lieve usertjes kunnen hier beneden een request voor een invite doen, ik heb er nog 10 7 :)

_EN_ ik moet natuurlijk Ted bedanken, (z’n blog ligt eruit, dus ik kan er niet naar linken!) voor mijn initiele invite, waardoor ik jullie allemaal blij kan maken :D

Comments 3 Comments »

And shepherds we shall be, for thee my Lord for thee, power hath descended forth from thy hand, that our feet may swiftly carry out thy command. We shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine Patris, et Filii, et Spiritus Sancti.