Archive for the ‘Technology’ Category

Ultramon runs in Windows 7 (somehow)

With some tweaks you can run Ultramon 3.0.4 (beta), which is actually still the Vista beta (for whatever reason  there was never a release), on Windows 7.
In order to get it to run in Win7 you need tobring up the registry  (Start -> type “regedit -> Enter), find the following path:
HKEY_CURRENT_USER\Software\Realtime Soft\UltraMon\3.0.4\Window Buttons
and change Move [...]

Comments (5)

Call Managed C# Method from JavaScript Code

After searching quite long to find a way to call a C# Method from any JavaScript Code which is hostet in a WinForms Webbrowser Control, I found this one here:

C# Code
[ComVisible(true)]
public class ScriptManager
{
Form mForm;
public ScriptManager(Form form)
{
mForm= form;
public void MethodToCallFromScript()
{
mForm.DoSomething()
}
}
}
public class MyForm : Form
{
private Webbrowser mBrowserCtrl;
public MyForm()
{
mBrowserCtrl = new Webbrowser();
mBrowserCtrl.ObjectForScripting= new ScriptManager(this);
}
public void DoSomething(){}
}
JavaScript Code
function HandleSomething()
{
window.external.MethodToCallFromScript();
}

Comments (6)

Harddisk full, 10GB Temporary Internet Files?

I just saw that my temporary Internet Files Folder under C:\Users\USERNAME\AppData\Local\Microsoft\Windows\Temporary Internet Files\ used more than 10 GB of Space. After deleting all the contents of the folder, the folder still had more than 10 GB. Looking with Hidden files visible and “Show system files” activated, did not show anything. After opening the command prompt [...]

Leave a Comment

Playing Sounds in Windows Mobile

After working a bit with the new Windows Mobile 6 SDK i tried to play sounds located on the device. Since there are a few tricky steps, here is the code (C#):

using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace SoundMachine
{
public class Sound
{
[DllImport("CoreDll.dll", EntryPoint = "PlaySound", SetLastError = true)]
private extern static int PlaySound(string szSound, IntPtr hMod, int flags);
private [...]

Comments (1)

Ergonomic Mouse for Lefthanded People: Logitech MX610

I am excited. After looking for something like this for years I finally found an ergonomic mouse for lefthanded users. Very exact, a longlife battery and a quite nice appearance, thats the Logitech MX610:

This moue is available at amazon for around 40 Euros or 59$ and you can get it HERE for example.

Comments (1)