Enable Windows Keyboard Shortcuts In Citrix

This is a bit of an old topic; I recently, after re-installing Windows, had to reconfigure my local client to allow passing windows keyboard shortcuts through to my Citrix instance. In this case, I was using remote desktop as a Citrix application. I have noticed that Citrix Desktops don’t seem to have this same issue. Since it took a bit of digging to find out how to configure this, again, I thought I would put it here as a reminder and to help other should they run across the same issue.

Open regedit (press the windows key  and type “regedit” sans quotes) on the client device.

  • Navigate to the key: HKEY_CURRENT_USER\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Keyboard
  • Modify the key: TransparentKeyPassthrough
  • Set the value to: Remote

Next time you start up your Citrix app you should now be able to use your usual Windows keyboard shortcuts such as Alt+Tab, Alt+Ctrl+Del, Ctrl+Tab.

TRIM Outlook Add-In Module Not Found

Another HP TRIM Outlook issue; this time when trying to check-in a mail item from Outlook, when the TRIM record type has an External Link associated with it – in this case a Generic AddIn (.NET). When the Outlook Add-In gets to the point that it is checking the file in to TRIM the error The specified module could not be found. (Exception from HRESULT: 0x8007007E) is thrown, but only if there is an AddIn associated with the record type of the record being created, otherwise it works fine.

As with most error messages this one is not very helpful, simply indicating that a module count not be found. Fortunately this was working on my local workstation, however the issue was present for test users on their thin client environment, so it was just a matter of finding out what was different between the two environments. After some investigating I remembered that I had manually added the TRIM client installation directory to the PATH system variable to enable running a web site which uses the HP TRIM SDK. Removing the installation dir from the PATH variable did indeed result in the same error message, and funny enough adding the dir back resolved the issue, on both my local instance and on the thin client instance. I don’t know why the TRIM client install doesn’t just add the TRIM directory to the PATH variable by default. Oversight by HP? I’m sure it used to be… there are also plenty of SDK related forum posts suggesting to add it when starting your application (that doesn’t really help in this instance).

To add the TRIM installation directory to your PATH system variable go to your system settings; (start » type “Edit the system environment variables”) or (start » right-click Computer » Properties » Advanced system settings) » Environment Variables » under System variables locate and select Path » click Edit » append your TRIM install folder (default TRIM installation directory should be either ;C:Program FilesHewlett PackardHP TRIM or ;C:Program Files (x86)Hewlett PackardHP TRIM depending on your installation preference.

TRIM Microsoft Word Add-In HP TRIM SDK Not Found

If you’re using the Microsoft Word integration feature with HP TRIM and receive the error message “Could not load file or assembly ‘HP.HPTRIM.SDK’ or one of its dependencies. The system cannot find the file specified.” chances are you probably have a generic .NET Add-In registered in your TRIM dataset for the record type you’re trying to save your word document as.

To solve the issue you can copy the HP.HPTRIM.SDK.dll from your Trim installation folder into your Microsoft Office executable folder (e.g. C:Program Files (x86)Microsoft OfficeOffice14 or C:Program Files (x86)Microsoft OfficeOffice14 *note your office version may vary e.g. Office11, Office15, etc).

There may be another way to resolve this issue, but so far it’s the easiest and only fix I have worked out.

TRIM Outlook Add-In COM Exception

Recently I was getting the error 0x80030002 STG_E_FILENOTFOUND while trying to run any TRIM 7.3 Outlook Add-In function. The Outlook Add-In had loaded fine and was bringing up all the available TRIM options, it was just when I tried to execute one of the options that it would throw the, oh so very “helpful”, error message as with most COM operations. It wasn’t until I found this thread over in the HP forums that I discovered that Cisco Unified Personal Communicator can interfere with the TRIM Add-In. According to another post any ODMA integration can cause issues with HP TRIM’s Outlook Add-In, in their case it was Novell GroupWise causing the issue.

Trim Outlook Com Exception
Unable to cast COM object of type ‘System._ComObject’ to interface type ‘Redemption.SafeMail’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{0A95BE2D-1543-46BE-AD6D-18653034BF87}’ failed due to the following error: could not be found. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND)).

Fortunately for me, Cisco Unified Personal Communicator was no longer required to be installed (and has been replaced by Jabbr – although I did not test if Jabbr causes issues with TRIM’s Add-In), so to resolve the issue I just had to uninstall Cisco Unified Personal Communicator; for good measure I also did a repair of HP TRIM Microsoft runtimes for VS 2008 and a repair of HP TRIM.

Oracle 06413: Connection Not Open (x64)

Having changed to a 64-bit development machine at work recently I ran into an Oracle error while trying to generate files using CodeSmith. This error was ORA-06413: Connection Not Open. Assuming it was a connection string error, as I had not ran this particular generation in some time and it was likely that the server or username/password had changed, I proceeded to test the connection from SQL Developer. Success!

After ruling out that the connection was indeed valid I did a quick Google search for the error message. After a few clicks I discovered a very well known (has been around for a few years) Oracle issue; When executing an Oracle command from an application with parentheses or equals — ‘(‘ or ’)’ or ‘=’ — in the path then the specified error message is thrown.

In this particular case CodeSmith had been installed under C:Program Files (x86)CodeSmith which was causing Oracle to fail. The quickest workaround was to simply move CodeSmith from the Program Files (x86) path e.g. into C:CodeSmith. However; there is a patch (5383042) for Oracle 10g, which I believe is also applied to Oracle 11G.

Win 7 Live Messenger Task Bar Fix

For those of you ‘lucky’ enough to have already updated to the new Windows 7 then you have probably already noticed the major changes to the task bar. Good or bad, you decide. Personally, I like some of the new functionality that it provides but I also enjoy a slim taskbar — similar to that of Vista. Fortunately Microsoft provided a “Use small icons” option in the taskbar properties (right-click the taskbar and select properties) which makes the task bar a similar size to that of Vista.

Changing the taskbar to use small icons, however, does not fix the fact that Windows Live Messenger likes to constantly take up a space in the taskbar even when the window is not open. Since there does not currently appear to be an option in Windows Live Messenger to display the program in the system tray, instead of on the taskbar, we need to use a simple work around.

First, close any current Windows Live Messenger instances. Then open your start menu and locate the Windows Live Messenger shortcut. Right-click the shortcut and select properties. Switch to the Compatibility tab and check “Run this program in compatibility mode for:” and select Window Vista (Service Pack 2)”. Now start Windows Live Messenger and problem solved. You should now see the Windows Live Messenger icon in the system tray. As you would on Vista, XP, etc.

Telstra HTC Touch HD — Enable Weather Module

ONE of the best features built-into the HTC Touch HD would have to be the weather module. This module allows you to view the current weather conditions, as well as a four day forecast and all in a pretty cool looking interface. However; for some unknown reason Telstra decided to disable the weather module by default, instead opting to include a bunch of somewhat completely useless modules of its own.

There is good news… through a bit of editing you are able to re-enable the weather module and, if you desire, remove the unnecessary Telstra modules. First thing is first; we need to find the file which contains the HTC Touch Flow configuration. The file we are after is 26948339_manila.xml which is located in the Windows directory. Back this original file up. Copy this file on to your storage card, or somewhere you can access it from your computer (alternative you could use an application such as Total Commander to edit the file from your mobile device).

Continue reading “Telstra HTC Touch HD — Enable Weather Module”

Firefox 3 And Colour Management

I recently came across an article by Datacolor (the company who make the Spyder range of monitor / printer calibrators) which explains how to enable ICC profiles in Firefox 3. It is a very simple boolean (true/false) property which you need to change in the ‘hidden’ Firefox configuration.

In Firefox enter about:config into the address bar and press enter. A warning message will show up saying “This might void your warranty!” ignore this and click “I’ll be careful, I promise” (don’t worry you don’t have warranty anyway ;-). Next, in the filter bar type in gfx.color_management.enabled. There should now only be one option in the list of configuration options, and it should be set to false by default. Simply double click this option to change it to true (it should now be bold, indicating it is no longer the default value). Restart Firefox and you should be up and running with ICC profiles.

Check out the original post by Datacolor for more information and for two images which will indicate if your browser supports ICC profiles.

InfoPath Roles And Views

One useful feature of InfoPath is its built in support for user Roles. While it is not an overly powerful (and it should not be used for security purposes as all data can be viewed and edited in xml format via notepad or a similar) it can be handy for automatically switching views based on AD users or groups.

To add a role simply go to Tools -> User Roles (alt + t + e) and click Add (alt + a). You can then specify which users, groups or user names from the form should belong to the new role.

One thing to note is that when you are designing an InfoPath form and click “Preview Form” it shows the form based on the default role. If you wish to preview the form under a different role you need to go to File -> Preview Form -> With User Role… (alt + f + r + r). The form will then be launched in preview mode under the select role.

There is also the option to set a role as either the default role or the initiator role (only one role can occupy either or both of these options). The default setting specifies that this role is the default role for all users, should they not meet the requirements of another role. The initiator setting is the role assigned to a user when they open the infopath form for the first time.

Another point of interest is that roles are assessed on a top-down approach, however you can not change the ordering of roles from within the InfoPath IDE. In order to change the ordering of roles, should you be required to, you must open the manifest.xsf and manually re-order the <xsf:role /> elements.

Creating A Simple SharePoint Workflow In SharePoint Designer

This one is a quick and easy one, but is the basis for creating some very useful workflows in for use in SharePoint lists. Firstly you will need a SharePoint website and a copy of SharePoint Designer (a 60 day trial version is available from microsoft) and a list in SharePoint which you can apply the workflow to – for this example I am using a fairly simple Travel Requisition list which is a document library which contains InfoPath documents.

To create the workflow open SharePoint designer and connect to your SharePoint website. Once connected, go to File -> New and select the SharePoint Content tab and select Workflow (blank workflow). You should now be presented with the a form similar to the following. Here you can specify a name for your workflow (each workflow in a site must have a unique name) which list the workflow is attached (associated) to and when the workflow should be triggered. In this case we want to trigger the workflow whenever a list item is added or updated.

Continue reading “Creating A Simple SharePoint Workflow In SharePoint Designer”