Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like


1,163 views

Yesterday I was troubleshooting an application that was migrated to Citrix XenApp.

The application is able to use a high precision scale which is attached to the client pc’s com port. This com port is redirected to XenApp.

While testing users reported several issues, let’s have a look at them.

Error configuring COM Port
Within the application the comport to which the scale is connected must be configured:

De compoort lezer staat uit

After pressing "Registreer" to register the new com port the following error message was shown

Er staat geen compoort in het register. Registreer eerste de juiste compoort

Read the rest of this entry »

872 views

Today’s blog is about an application that was migrated to Citrix XenApp. During testing the users reported that several application menu’s were missing.

An example is the settings menu where the System tab is missing:

Fat Client:XenApp:
clip_image002[5]clip_image002

I suspected a permissions issue so I added the account to the Local Administrator group to verify that. And indeed the System tab was visible.

Process Monitor
I removed the account from the Administrators group and fired up Process Monitor. I set a filter on the process name (ra60.exe) and on Result (ACCESS DENIED):

SNAGHTML1b3aa033

Read the rest of this entry »

1,425 views

Yesterday I was working with an Excel document that contained Combobox form controls.

I wanted to count the number of cells containing a particular value using the COUNTIF formula. However the count returned 0 because the LinkedCell property of the Combobox was not set to the Cell that contained the Combobox.

To set the LinkedCell Ctrl-Click the Combobox to select it, right-click and select Format Control. Then set the correct Cell in the Cell link field:

SNAGHTML18f5a4ba

My sheet contained about 150 Comboboxes, so obviously I was going to do this using a script. I couldn’t find anything useful with Google so I wrote my own Macro.

Read the rest of this entry »

6,596 views

I was researching a database from an iOS app called <appname>.sqlite. From the filename it was obvious that we were dealing with an SQLite database.

I opened the database with SQLite Database Browser and the table I looked at has datetime values which are expressed in the TIMESTAMP data format in SQLite:

SNAGHTMLb5e026b

SQLite documentation indicates that the TIMESTAMP format is based on unix time: the number of seconds elapsed since 01-01-1970 in UTC time.

Read the rest of this entry »

  • 1 Comment
  • Filed under: iPhone
  • 9,062 views

    XDSXDS is an electronic differential lock, which was developed for the Golf GTI. But later on it was introduced as an option for other cars.

    XDS is an advanced electronic differential lock, linked to the ESP system.

    In moments of fast cornering XDS gives out exactly the right amount of power, providing pressure on the inside wheel to prevent wheel spinning. The result is better traction and a reduction of any tendency to under steer.

    Golf mk6
    On the Golf mk 6 it’s possible to activate XDS with VCDS by going to control module 03, ABS Brakes, then 10, Adaptation.

    Channel 36 controls XDS which can be set to:

    0 – default
    1 – weak
    2 – strong

    Skoda Octavia II
    It’s also possible on other cars, for instance the Skoda Octavia II where it can be coded in module 03, ABS Brakes, 07 Long Coding, Byte 17, Bit 3.

    Passat B7
    I wanted to know how to activate this on a Passat B7, but searching with google returned nothing.

    Read the rest of this entry »

    1,867 views

    The Dell vWorkspace (previously Quest vWorkspace) Client can save a connection to a .pit file which is very similar to an .rdp file with one big difference: it is encrypted!

    I am not sure why Dell/Quest have chosen to encrypt their files but a while ago I needed to know what was in a particular pit file so I could troubleshoot an issue.

    I first created a test .pit file with the client (pntsc.exe version 7.6.305.791).

    SNAGHTML6c0786d

    Read the rest of this entry »

  • 1 Comment
  • Filed under: Quest
  • 1,259 views

    For an upcoming blog post I needed to decrypt some data using the rc4 algorithm. I wanted to do this with PowerShell but sadly PowerShell and the .NET framework have no functions for it.

    File:RC4.svg

    So I needed to implement it (download at the bottom of the post):

    Read the rest of this entry »

  • 1 Comment
  • Filed under: PowerShell
  • 6,259 views

    For an upcoming Blog post I needed to convert a Byte Array to a Hex string in PowerShell and vice versa.

    PowerShell doesn’t come with HexToBin or BinToHex functions so here’s my attempt at it:

    Read the rest of this entry »

  • 1 Comment
  • Filed under: PowerShell
  • 1,650 views

    A while ago I published a tool to Encode and Decode Citrix passwords. Today I am publishing a small update to this tool that makes it scriptable by adding a COM interface.

    If you start the tool without parameters you will get the GUI, just like before:

    Encrypt | Decrypt Password | Hash | Citrix | Ctx1

    To use the COM interface you first need to register the executable with the /regserver switch:

    CtxPass /RegServer

    After the registration you can call it using any language that supports COM. To get you started I wrote a few examples

    Read the rest of this entry »

    2,034 views

    When starting a particular web based application Java popped up the following dialog:

    Java has discovered application components that could indicate a security concern

    The dialog asks us if we want to Block potentially unsafe components so to continue we should click no. However users tend to not really read such messages and click Yes which leads to this error:

    Error connecting to Central Configuration

    Read the rest of this entry »

  • 5 Comments
  • Filed under: Java
  • Donate


    Blogroll


    Categories


    Archives