The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘USB’ Category

Manually call the “Safely Remove Hardware” dialog — HotSwap! – hot eject and hot insert SATA hard-drives – practical use with ICY BOX 266StUSD « The Wiert Corner – Jeroen Pluimers’ irregular stream of Wiert stuff

Posted by jpluimers on 2009/09/09

I forgot to explicitly mention that the normal “Safely Remove Hardware” icon in the system tray notification area sometimes disappears.

Today, I bumped in such a system, so I was glad I had a reference explaining how manually call the “Safely Remove Hardware” dialog to solve it.

But now I had this dumb icon:

So here are the full steps, including icon.

1. Add a shortcut with this command line:

[script sourcecode=’cscript’]
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
[/sourcecode]

2. Change the icon to take icons from this DLL:

[script sourcecode=’cscript’]
%SystemRoot%\system32\hotplug.dll
[/sourcecode]

3. Name the shortcut “Safely Remove Hardware”

So, now you have a nice shortcut with the correct.
This shortcut works, even when it is gone from the system tray:

BTW: Rob van der Woude has a nice page with rundll32 scripts.

–jeroen

Posted in CommandLine, Development, Hardware Interfacing, Software Development, USB | Leave a Comment »

Spoken @ DevDays 2009 NL – download is online: .NET & hardware – capture video & control servos, in a fun application

Posted by jpluimers on 2009/06/02

Last week I spoke at the GeekNight of the Dutch Microsoft DevDays 2009.
A great conference, signalling two important industry wide trends:

  • Cloud computing
  • Natural user interfaces

There were many interesting presentations on both, and we are only at the beginning of those trends: interesting times are ahead!

My presentation (.NET & hardware – capture video & control servos, in a fun application) was as a GeekNight session.
That imposed geeky stuff, but in addition it addressed an important point: there will be many more means of interaction.
In particular, my ‘geek’ combination of hardware and software would react on movements seen by the webcam by pointing the beam of the laserpointer towards the largest area that moved.

After that I enjoyed the long Pentecost weekend (yes, the monday after Pentecost is a Holiday in the Netherlands, so most people have a day off then).

Today I updated my Conferences, seminars and other public appearances page with my DevDays materials to download.

It contains both the sourcecode, and the presentation in English.

Enjoy the download :-)

–jeroen

Posted in .NET, C#, C# 2.0, C# 3.0, DevDays09, Development, Event, Hardware Interfacing, Servo, Software Development, USB, WebCam | Leave a Comment »