Saturday, January 11, 2014

disable windows beep

In case your computer is beeping is driving you or your cubical buddies crazy, you can do the following to silence the meep.
On your desktop, right click on My Computer and choose Properties
Choose the Hardware tab and click on Device Manager.
In the window that pops up, choose View from the menu bar and select Show hidden devices.
Navigate down and expand Non-Plug and Play Drivers.
Double-click on Beep and choose the Driver tab.
If you want to disable the beeping only until you restart Windows, click the Stop button.
If you want to permanently disable the beeper on subsequent reboots, in the Startup section change Type to Disabled.
NB: If you change Startup to Disabled and reboot your system, the Start and Stop buttons will no longer be functional. To regain that functionality, change Type back to Automatic and reboot your computer. You will then have the ability to start stop the beeping on-demand again.
NBB: Do not forget that your VMware Virtual Machine beeps too! You may want to disable the beeper in there too

Tuesday, January 03, 2012

Excel 2007: "There was a problem sending the command to the program"

It took me ages to find this solution so I thought I would post it here. If you ever get "There was a problem sending the command to the program" when you launch a shortcut in Windows, try this fix from Josh Davis:

Monday, September 08, 2008

you have lost your connection to the windows help' in Windows VISTA Help
If you find the online help isn't working, you need to change a setting:

To fix the problem, you open Internet Explorer, go to Tools -Options -Connections -Lan Settings and tick "Automatically detect settings"

Bizarre, but it worked for me!

Thursday, January 11, 2007

The SQL "NOT IN" clause becomes
WHERE (((Exists (SELECT f2 FROM Sheet2 AS B WHERE B.f2 = U.f1))=False));


Monday, July 10, 2006

Greg Luck was suffering a nine second GC pause every fifty seconds, when Sun suggested some garbage collection tunings that solved the problem (down to two major GCs every day, he says, in "How We Solved our Garbage Collection Pausing Problem.") The tunings were pretty simple:
-XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:NewSize=1200m -XX:SurvivorRatio=16As Greg says:
-XX:+DisableExplicitGC - some libs call System.gc(). This is usually a bad idea and could explain some of what we saw.-XX:+UseConcMarkSweepGC - use the low pause collector-XX:NewSize=1200m -XX:SurvivorRatio=16 - the black magic part. Tuning these requires emprical observation of your GC log, either from verbose gc or jstat (a JDK 1.5 tool). In particular the 1200m new size is 1/4 of our heap size of 4800MB.

This interesting article appeared on the TheServerSide at

Friday, June 09, 2006

Do you want to merge change? How to turn off that annoying question in MS Word.

Wednesday, March 22, 2006

Thursday, October 27, 2005

FW: Measuring web application responses from client side

I have found an interesting tool from IBM for measuring web app performance from the client side:

IBM Page Detailer is a graphical tool that enables Web site developers and editors to rapidly and accurately assess performance from the client's perspective. IBM Page Detailer provides details about the manner in which Web pages are delivered to Web browsers. These details include the timing, size, and identity of each item in a page. This information can help Web developers, designers, site operators, and IT specialists to isolate problems and improve performance and user satisfaction.

IBM Page Detailer places a probe in the Windows Socket Stack to capture data about timing, size, and data flow. It then presents the collected data in both graphical and tabular views, clearly showing how the page was delivered to the browser.

The page detailer is really good for quick assessments and one-off tests, when you don't have an existing suite of jmeter tests or the like to capture timing information.

This is a free download, although registration is required.

Tuesday, June 28, 2005

Not when you have a free utility called Unlocker. Just right-click the locked object and click "Unlocker". A window appears showing any programs that have left the object locked. Select them, click "Unlock", and the object is free to delete. Works great!

You can get Unlocker here:

Monday, January 17, 2005

Monday, August 09, 2004

Using the Flash Remoting service with JRun 4 > Saving your Java application files for Flash Remoting
For standard Java classes, including JavaBeans, you put the classes under jrun_root/servers/jrun_server/SERVER-INF. Loose classes go in a classes subdirectory and jarred classes go in a lib subdirectory; the classes are available server-wide. By default, Remoting doesn't have access to classes in a web application, but you can put the Flash Remoting JAR file in a web application and add a servlet mapping to the web application's web.xml file. You can also place Java classes in the jrun_root/lib directory if you want them to be available to the entire JRun installation. Note also that when you do put classes under a WEB-INF directory, loose classes go in WEB-INF/classes and jarred classes go in WEB-INF/lib.

Wednesday, July 28, 2004

find  -not \( -name "*.jsp" -o -name "*.xml" -o -name "*.java" -o -name "*.xsl"  -o -name "*.xmi" -o -name "*.MF" -o -type d -o -name "*.gif" \)  -print

Thursday, February 12, 2004

Java 1.4 options for garbage collection

Java Options For Garbage Collection

Wednesday, February 04, 2004

MS-DOS: Redirect stderr and stdout from MSDOS promt: "ipconfig.exe>>output.log 2>&1"

So this is how to redirect output.

Monday, February 02, 2004

Meditech and Citrix
Windows Terminal Server (WTS)/Citrix

product description
Under this add-on option, you can web-enable MEDITECH by launching and running MEDITECH through a web browser. It also provides you a secure, hassle-free Thin Client strategy for in-house and remote users."
Cambridge - MediWebMeditech web browser scripting
The Impersonator for Active X - Web BrowserMEDITECH browser session.
The Impersonator for Active X - Web BrowserMEDITECH browser session.

Thursday, January 29, 2004

ScriptLINK Product Information
Scriptlink is the product that is sold by Iatric to integrate with Meditech

Tuesday, January 27, 2004

Modem Initialization Strings - Modem Index H: "&FX4W2&C1&D3&K3&Q5S7=60S36=7S46=2S48=7"

Hayes modem string for Mac

Tuesday, January 20, 2004

IBM WebSphere Application Server Version 4.0 Fix Pack 7 (Version 4.0.7)

Websphere 4.0.7
Supported Prerequisites & APIs - Advanced Edition Version 4.0.7
Websphere Configuration.
grant codeBase "file:C:/WebSphere/AppServer/installedApps/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/*" {
grant codeBase "file:C:/WebSphere/AppServer/installedApps/cfusion.ear/cfusion.war/WEB-INF/lib/*" {

Add these to the C:\WebSphere\AppServer\java\jre\lib\security\java.policy file.

Friday, January 16, 2004

Causes of ORA-3113's
Oracle startup failure
Google Groups: View Thread "Rebooting windows after ORACLE installation"
Problem when your get Shared memory realm error and ORacle not available.
Start the database with svrmgrl


connect internal

shutdown abort

Oracle create new user.
grant select any table to system with admin option;
allows the system account (manager password) to grant.


Tuesday, January 13, 2004

This URL is a link to the symptoms database for IBM Websphere's log analyzer.
You need the up to date database for the analyzer to tell you something useful.

Thursday, January 08, 2004

Set up PRS

When setting up PRS make sure the class path is right in the prsapplication.bat.
Also make sure that the log4J properties file is in the class path.
log4J must also be included in the websphere class path.

Saturday, December 27, 2003

Ellen BalkaLink for Geoff stokes.

Thursday, December 04, 2003

White paper on deploying BlueDragon to a J2EE Server.
CORAL Another ColdFusion implementation

Wednesday, December 03, 2003

Wednesday, November 26, 2003

Web Test Tools
This site lists some of the great web testing tools available.
My favourite is Microsoft's web application stress tool, and Badboy.
Internet Explorer weirdness: How do I adjust my browser settings to avoid the following message: "This page contains both secure and nonsecure items. Do you want to display the nonsecure items?"

The Fix is: Tools > Internet Options > Security Tab > Custom Level Button > Display Mixed Content = Enable.

Tuesday, November 25, 2003

Change the IE message "Script is taking a long time to run"

Monday, November 24, 2003

Explains the class.

Friday, November 21, 2003

Monday, November 17, 2003

CFX tags in CF for J2EE

You must restart the server if you tinker with dropping CFX tags into the C:\WebSphere\AppServer\installedApps\cfusion.ear\cfusion.war\WEB-INF\classes
directory. Even renaming a CFX and changing it back appears to require a restart of the server.
Yahoo! Instant Messenging Web Service
Here is a web service to send an IM message. No client needed.

Friday, November 14, 2003

This article explains what to do if you get ORA-00313: open failed for members of log group 1 of thread 1.

Fix it with alter database clear logfile group 1

Thursday, November 13, 2003

IBM HTTP Server - no graphics.
If you find that you don't get graphics when you have apache up and running, and the apache error log has lots of "file not founds", check the admin console and set
- the server name, and the document root directory name.
This interesting article on use of Indian software firms makes me thing it would be a good idea to list all the Indian software companies.
At the moment we have

Windows XP Administrator Account
In Windows XP, the username "Administrator" does not show up in the list of accounts that can be used to log in. This can be baffling if you are looking for that account. You can't rename an account to Administrator (because there is one already) nor can you create the Administrator account. Trying to do so gives the error "An account named 'Administrator' already exists"

The solution is to go to My Computer, right click, and choose Manage. Then look at Local Users and Groups, and you can see and modify the Administrator account.

Wednesday, November 05, 2003

Getting Rid of the Web Toolbar in Microsoft Word
Disable the web toolbar in word.

Monday, November 03, 2003

262090 - Synchronizing Offline Folders Does Not Synchronize Subfolders
Here is how to synchronise offline files in Windows 2000, including subfolders. For some reason, sub-folders are not set up to be synchronised. So if you choose to synchronise the folder "MyProject" you would never know (by default) that subfolders had been added.
The only weird thing about setting up subfolder synchronisation is that the files are synchronised, but you don't see the subfolders - you have to look at the "location" field to see which folder each file is in; the list is flat.

Friday, October 31, 2003

Xindice Browser
Thinking about Xindice for storing test messages for PRS. It could do a good job of keepting them in one common place. Test data would be easily retrieved from the DB.

Thursday, October 30, 2003

This introductory article gives a quick overview of JUnit.Test Infected: JUNit

Wednesday, October 29, 2003

Db2 Fix End reason codes
- Need to change fix end reason codes (Database/DB2/CodeSetsDML/Test/fixendreasons.sql)

update grs_ct_leaf set end_reason_code = null where end_reason_code = '';
update grs_ct_leaf_Supp set end_reason_code = null where end_reason_code = '';
update GRS_PARTY_DETAILS set end_reason_code = null where end_reason_code = '';
update GRS_REGISTRY_USERS set end_reason_code = null where end_reason_code = '';
update GRS_CONS_PROF_GRP_DESCS set end_reason_code = null where end_reason_code = '';
update grs_addresses set end_reason_code = null where end_reason_code = '';
update grs_consumer_profiles set end_reason_code = null where end_reason_code = '';
update grs_data_element_permissions set end_reason_code = null where end_reason_code = '';
update grs_Ct_tables set end_reason_code = null where end_reason_code = '';
update grs_data_source_prof_descs set end_reason_code = null where end_reason_code = '';
update grs_src_qual_data_elements set end_reason_code = null where end_reason_code = '';
update grs_distribution_profiles set end_reason_code = null where end_reason_code = '';
update grs_electronic_addresses set end_reason_code = null where end_reason_code = '';
update grs_org_names set end_reason_code = null where end_reason_code = '';
update grs_person_names set end_reason_code = null where end_reason_code = '';
update grs_telephones set end_reason_code = null where end_reason_code = '';
update prs_conditions set end_reason_code = null where end_reason_code = '';
update prs_confidentiality_indicator set end_reason_code = null where end_reason_code = '';
update prs_demographic_details set end_reason_code = null where end_reason_code = '';
update prs_disciplinary_actions set end_reason_code = null where end_reason_code = '';
update prs_notes set end_reason_code = null where end_reason_code = '';
update prs_provider_Credentials set end_reason_code = null where end_reason_code = '';
update prs_provider_expertises set end_reason_code = null where end_reason_code = '';
update prs_provider_relationships set end_reason_code = null where end_reason_code = '';
update prs_statuses set end_reason_code = null where end_reason_code = '';
update prs_provider_sub_roles set end_reason_code = null where end_reason_code = '';
update prs_work_location_details set end_reason_code = null where end_reason_code = '';
update grs_registry_users set end_reason_code = null where end_reason_code = '';
update grs_party_details set end_reason_code = null where end_reason_code = '';
Not doing this means that consumer_profile_group queries don't return data in DB2.

Tuesday, October 28, 2003

Get older WEbsphere files from here.
websphere files
Aaron has this socket exampe.
Microsoft has published an article on Migrating from CF to .Net.

Tuesday, October 21, 2003

Here is how to create an EJB. in ColdFusion.

cfset props = createObject("java","java.util.Properties")>
cfset props.init()>
cfset Context = structNew()>
cfset Context.PROVIDER_URL = "">
cfset temp = props.put(Context.INITIAL_CONTEXT_FACTORY,"")>
cfset temp = props.put(Context.PROVIDER_URL,"iiop://")>
cfset ctx = CreateObject("java","javax.naming.InitialContext")>
cfset temp = ctx.init(props)>

cfset myObj = ctx.lookup("com/grs/bean/registryuser/queryregistryuser/QueryRegistryUserHome")>

cfset myBean = myObj.create()>
cfdump var="#grsEnvironment#">

cfset result = myBean.QueryRegistryUser(mt961010,grsEnvironment)>
cfcatch type="any">
cfoutput>#cfcatch.message#, #cfcatch.type#
J2EE(tm) Developer's Guide

The shipper class is an EJB, and is called by an EJB client.
What I cannot figure out is how to do this in CFMX>
try {
Context initial = new InitialContext();
Object objref = initial.lookup("MyShipper");

---> ShipperHome home =

Shipper shipper = home.create("Helena");

shipper.shipItem("123", 9);

It's just not clear how you can call that in CFMX

Friday, October 03, 2003

I finally got a cfx socket connection working to PRS today. Now that I have the XML object back, I can grab some fields from it by using the ColdFUsion parsing functions, and then send back a second request.

I need to find a neat way of grabbing the xml messages to send though. It's all driven through parameters of course, and there doesn't seem to be any point in re-creating messages. I need to look and see if the XSL transformations are going to help me.
Welcome to GoLiveHeaven
Good GoLive site
Digital Film Comparison: Page 1. Compact Flash [Digital Photography Review]
This article tries to show how fast different types of flash cards are.
Benorama :: ColdFusion MXColdFusion best practices.
If you find that the CFX tag throws an error about com.allaire.cfx.CustomTag must be implemented, then you need to put the cfx.jar file in the classpath too.
I installed ColdFusion MX on Websphere. If you then want to use a CFX tag, you have to register the tag in the administrator. If the tag can't be found, you get a slightly cryptic "cfx_cfx_tagname" cannot be found in the database error. The fix is to make sure that path to the class file that implements the cfx tag is in the classpath.

Wednesday, September 17, 2003

FeedDemon Beta
This is a very interesting tool from Nick Bradbury who created HomeSite. This is a great tool for tracking all the blogs that are syndicated.

Wednesday, September 10, 2003

Serials for MS office and files
Oracle iProjects

Access here is to projects underway at Oracle.
andrewcripps, pooh's friend plus one.

Tuesday, September 09, 2003

Benorama :: ColdFusion MXColdFusion best practices.
Blue Dragon is still here deploying CF on .Net or J2EE
Montara Releases Black Knight Extension to CF

So now you can create CF extensions using .Net objects.
Welcome to GoLiveHeaven
Good GoLive site
Microsoft Outlook for the web is constantly asking for a file data1.msi from the Microsoft Office SR-1 Professional CD. Why?
The proposal is to use eClinic. There are some questions about eClinic that I would like answered please.

- What is the architecture of eClinic?
- Can you explain the client/server architecture for pathology requests?
- You state that the eClinic application is built using servlets, ColdFusion, PHP and Perl. Can you say percentage-wise how much of each language you use, and how you allocate the language to the functionality or to the architecture? For example, do you use servlets primarily for business logic, or have your built your business logic in PHP?
- What is required to be installed at an order site, a specimen site, and at a laboratory? What java applets are used? What do they communicate with? Do you have a Win32 client or is a browser sufficient?

- Does the Vitiris Lab Envoy product that is part of eClinic map inbound XML messages directly to database tables and columns?
- What is the structure of eClinic's data? Does it implement the HL7 RIM?
- Which database platforms does eClinic run on?
- How many tables do you have?
- What is your approach to auditing?
- Does your application permit deletion of data? How is that done?
- What is the relationship with Triple G's Ultra application? How does eCLinic interface with this product?

- How would patient consent information be stored in the model?
- Does your application provide a mechanism for one doctor to share results with another doctor?
- Do you use stored procedures in your database? For what purpose?

- How does your application validate order data?
- What data structures do you use to hold data that have been submitted?
- What data structures do you use to hold data that have been retrieved from the database?
- Have you deployed your application on multiple ColdFusion servers that are load-balanced?
- How does your application handle de-duplication of patients? Is Master-Patient Index functionality built in?

- How are transactions managed? How does the application roll back a transaction that fails?

- What is the internal interface, and what components communicate, with Vitiris Lab Envoy?
- Does your application perform any terminology services? Can the terminology of one hospital be maintained, but the data stored in a consistent, neutral manner?

- Can batch orders for tests be placed? If so, how are they processed? Which components break the batch request down into individual transactions?

- How does eClinic match results with requests and with specimen data?

The other middleware product of interest is Chameleon from
Interesting integration broker:
Skillport Registration/Login Form