Some notes on software development... RSS 2.0
# Tuesday, 05 February 2008

If you need to match a single word from a range of words you can use regular expression Alternation. This syntax uses the pipe (|) to represent the logical OR for matching. Here is a RegEx that only matches on 1 of the 4 words (depending on case sensitivity):

^(word1|word2|word3|word4)$

If you need to also allow a possitive macth on an empty string you can and another pipe (|) with no word after like so:

^(word1|word2|word3|word4|)$

This will match a blank word or either of the words listed.

Tuesday, 05 February 2008 11:40:22 (GMT Standard Time, UTC+00:00)  #    -
Regular Expressions
# Monday, 04 February 2008

Microsoft Visual Studio 2005 ships with a useful collection of Windows images & icons that can be used with your applications to keep a consistent look and feel with other Windows applications.

For a default installation the zip file VS2005ImageLibrary.zip is located in the folder: C:\Program Files\Microsoft Visual Studio 8\Common7\VS2005ImageLibrary

The images and icons are categorised in to sub folders and each folder contains a very useful Readme.html file that will render the animated images and icons in a browser.

For further info see the MSDN page here: Visual Studio 2005 Image Library

Monday, 04 February 2008 09:19:29 (GMT Standard Time, UTC+00:00)  #    -
Visual Studio
# Friday, 01 February 2008

If you are using Windows Zero Configuration (WZC) to configure your wireless networks and the device does not have any preferred networks configured you will get a pop-up configuration form every 60 seconds.
To stop this occurring you can un-check the 'Notify when new networks available' check-box on the config screen like so:

This is all fine for standard users but what if this happens when you have an application running in kiosk mode and under no circumstances should the user see any config screens? The user should not manually be 'checking' any boxes to enable/disable system settings as they are non-technical users.

Well, when you check the check-box described above it modifies a value in the registry.

The registry key is: HKLM\\Drivers\\BuiltIn\\Ethman\\Popup\\Popup
So setting this DWORD value to 1 turns pop-ups on and 0 turns pop-ups off.

During application deployment, however it may be done, this reg key can be set to ensure that the user never sees the WZC config form.

One thing to note is that different device manufacturer might set different default values.

At my company we use 2 different hardware devices: Datalogic Memor and Skeye Allegro.

For some reason the Skeye Allegro has a slightly different Key: HKLM\\Drivers\\BuiltIn\\Ethman\\Popup\\DoPopup
How's that for consistency?

One last thing, the key probably won't exist in any emulators as they don't emulate wifi ;-)

Friday, 01 February 2008 16:04:43 (GMT Standard Time, UTC+00:00)  #    -
CE Devices
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2017
Hadrian Phillips

All Content © 2017, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)