Error 1402 Visual Studio 2008 installation

April 27th, 2010

My Visual Studio installation was delete from a disk, so I tried to reinstall it.

In the middle of the installation i received an Error 1402 Could not open registery key <GUI>.

I tried to fix it manually but without success.

Try to reset the hole registry permissions with this command:

Windows 7 and Vista:

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

Make sure you run this command as Administrator.

IIS not showing images and CSS

April 23rd, 2010

The problem:

I loaded a ASP.NET application on my Windows 7 IIS 7.5 installation. The code compiled fine but..

When I opened the website http://localhost/myapp it didnt show me any images or CSS. Only text on a blank page.

The solution for me was to install the “Static Content” support for IIS.

  1. Go to  “Turn Windows features on or off”
  2. Select Internet Information Services
  3. Select World Wide Web Services
  4. And check Static Content

Hope it will help someone :-)

Visual Studio 2008 Database edition don’t open dbproj

March 31st, 2010

For some reason my VS 2008 Database edition wouldn’t open the database projets.

After i started VS with this parameters:

devenv /resetskippkgs

It worked again!

Uitzendinggemist on your TV with DLNA

February 13th, 2010

Hey people check out the following software:

http://code.google.com/p/uitzendinggemist-dlna/

It’s still in a beta, but you can use it for watching Uitzendinggemist, RTL Gemist, Net5, SBS6 and Veronica on your TV.

Paul Wagener has started the project as a Pyton script and rewrote it to Java as a plugin for  PS3 Media Server (at least build 381). I’m trying to commit good code too ;-)

Will write some more text about this later, in the meantime please test it and enjoy!


Samsung firmware update cannot find update files

November 29th, 2009

Last week I tried to update my brand new Samsung LE40b652 LCD TV.

The proccess is quite simple, download the firmware, extract to a USB-stick and load the firmware from the USB-stick.

But..

For some reason my TV didn’t find any firmware files, until I found the solutions.

If you download the firmware from the “normal” samsung support site, there is a change that the last symbol of your TV-type is not the same.

The download site of the LE40B652 only has downloads for the LE40B652T4W, but my TV is a LE40B652T4P.

There is no way to find the exact type on the normal site.

Go to:

Samsung download

Here you can select the exact type of TV you own!

Now the firmware update worked!

Update: There is new version (2007.01 @ 2010-02-28) released for the LE40B65X range. I can confirm that the normal download site didn’t work for me again but the alternative link I posted works :-)

Internet Explorer 7 cannot update to 8

November 20th, 2009

If your Internet Explorer 8 installation (upgrade from 7) fails all the time.

Run this code:

<code>

‘——————–8<———————-

Const HKLM = &H80000002

arrNeededSvcs = Array(“BITS”,”wuauserv”)

strKeyPath = “SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost”
strValueName = “netsvcs”

strComputer = “.”   ‘ “use “.” for local computer

Set objReg = GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” & strComputer & “\root\default:StdRegProv”)

objReg.GetMultiStringValue HKLM, strKeyPath, strValueName, arrValues

‘ create string from array, easier to check for existence this way

strValues = “|” & Join(arrValues, “|”) & “|”

bolUpdateNeeded = False ‘ init value

For Each strNeededSvcs In arrNeededSvcs
If InStr(1, strValues, strNeededSvcs, vbTextCompare) = 0 Then
‘ service is not in array, add it
intArrCount = UBound(arrValues) + 1
ReDim Preserve arrValues(intArrCount)
arrValues(intArrCount) = strNeededSvcs
bolUpdateNeeded = True
End If
Next

If bolUpdateNeeded Then
objReg.SetMultiStringValue HKLM, strKeyPath, strValueName, arrValues
End If

MsgBox “Done!”, vbInformation + vbSystemModal, “Netsvcs check”

</code>

Cannot send SMS after restore sms.db on iPhone

November 9th, 2009

If you have problems sending SMS after a manual restore of the SMS.db.

It’s properly a security-rights problem, you iPhone cannot write its outgoing messages to the database file.

Fix it this way:

Open Putty and connect to your iPhone as root (default password ‘apline’) btw you SHOULD change this for security reasons.

Run:

chown mobile -R /var/mobile/

And:

killall SpringBoard

Now all folder and files are reset to the correct settings.

USB Devices not installed automatically anymore

May 13th, 2009

USB install problem:

http://www.runpcrun.com/cant-install-usb

http://support.microsoft.com/kb/892050

Download complete website freeware

April 17th, 2009

This tool is freeware and works great. It lets you save/download a complete website to your local harddisk.

http://www.httrack.com/

Virtuemart product pictures size

March 30th, 2009

Forgot to create thumbnails of your product pictures?

Change:

define(‘PSHOP_IMG_RESIZE_ENABLE’, ”);

To:

define(‘PSHOP_IMG_RESIZE_ENABLE’, ’1′);

In file: /administrator/components/com_virtuemart/virtuemart.cfg.php

And all your pictures are resized in the view.