Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Issue with MS-Access db application published on Citrix Server

We have a CMS.mdb application file, that is published on a Citrix server.  The MS Access database has a Startup routine that hides the Database window and opens the MS Access form called frmSwitch.

If I have the CMS.mdb on my C: drive and double click it, it opens to frmSwitch and the Database window is hidden.  The button on the task bar on my laptop is titled 'CMS ' [frmSwitch : Form]'.  If I navigate to another form in the database the button on the task bar has the name of that other form.  If I minimize the MS Access window and then maximize it by clicking the button on my task bar, it comes back to the form I was on when I minimized.  This is the behavior we would expect.

If instead I use the .ica file to open the application on the Citrix server, I double click the .ica icon on my desktop, and after I log in to Citrix it opens to frmSwitch and the Database window is hidden.  This is the behavior we would expect.  The button on the task bar on  my laptop is titled 'CMS : Database - \\Remote'.  

Issue: If I minimize this .ica window and maximize it by clicking on the button on my task bar, it comes back to the CMS.mdb file but with the database window displayed.  This is not the expected behavior.

This is a major issue for us, because once the database window is available (unhidden) to the user, they can change data, forms, reports, queries, etc.

I'm wondering if there is something about the way Citrix or the ICA file is set up that is causing this behavior?
0
anandkswamy2008
Asked:
anandkswamy2008
  • 3
  • 3
2 Solutions
 
pfcjokerCommented:
It's the way Citrix handles the seamless windows. There are some ways to change the default behavior using registry settings on the Citrix Server - http://support.citrix.com/article/ctx101644 covers this in detail.

In your case I think the two that may apply would be #2 and/or #19 - it will require a bit of testing on your part to figure out the right combo. I would set the registry for #2, reboot test, if it doesn't work try #19 alone, if that doesn't work I'd try both #2 and #19 added together (rebooting after every attempt).

Registry Key: HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Citrix/wfshell/TWI
Value Name: SeamlessFlags
Value Type: REG_DWORD

example: #2 alone the value would be: 0x2
#19 alone: 0x200000
both: 0x200002
0
 
anandkswamy2008Author Commented:
Thank you for your help & suggestion. I'll test this and get back to you soon. Hopefully this should work
0
 
anandkswamy2008Author Commented:
I just want to ask you one more favor, How would you convert Hex format value to Hexadecimal \ Decimal value.

When I created REG_DWORD type, I was not able to Add the value '0X2' for 2 or '0x200000' for 19.

Thank you in advance for offering prompt assistance in this regard, much appreciated.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
pfcjokerCommented:
when creating a reg dword you just input the number minus the 0x, it will handle the rest so when putting it in:

0x2 = 2
0x200000 = 200000
0x200002 = 200002

Note depending on your OS it may show up as 0x00200002 - that's OK - pretty sure that only happens in x64 OSes - but either way it should work as documented.
0
 
anandkswamy2008Author Commented:
Thanks for your solution. I tried all the above 3 options with rebooting after every attempt, but still it doesn't work. If I minimize this ICA window and maximize it by clicking on the button on my task bar, it comes back with the database window displayed. Thanks anyways I'll keep looking.

I had one more question, the button on the task bar on my laptop is titled 'CMS : Database - \\Remote'.  How can we change to say the Access application  <FrmName> on the button on my task bar?
0
 
pfcjokerCommented:
I believe that is embedded in the client code - I don't see anything in the client options, registry, or ini files that points to a way to change it - nor is it covered in the Admin guide for the Citrix Clients, unless someone knows some undocumented way of doing it, I don't think it's possible.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now