Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Drag & Drop file to windows form in Windows 8 / Server 2012 not working, works on Windows 7

Posted on 2015-02-06
4
Medium Priority
?
491 Views
Last Modified: 2015-02-14
At our company we have an internally developed windows application that we use as part of our document processing workflow. The application allows a user to capture msg files, files attached in the email or from windows explorer by simply dragging them onto a specified drop zone on the windows form. Currently this application works fine without issue on Windows 7 / Windows Server 2008 and Outlook 2007 - 2013.

The issue we are having now is the application works great when dragging items from Outlook but no longer works when dragging items from explorer on Windows 8 or Server 2012.

This is the only stumbling block we are encountering and delaying implementation of our new Citrix farm. I have attached the vb file for the application in question if needed. Thanks in advance for any assistance here.

treehugger.txt
0
Comment
Question by:E-Risk
  • 3
4 Comments
 
LVL 24

Expert Comment

by:Dirk Kotte
ID: 40597158
which part is running from citrix?
what is the difference to the current / working solution?
if your app runs within a citrix session you can not drag and drop from local explorer to this app.
(should not work with older versions also)
0
 
LVL 2

Author Comment

by:E-Risk
ID: 40598438
Sorry for the confusion. This is not Citrix specific. Nothing has changed from a development stand point. From an OS stand point we are changing to Server 2012 / Windows 8, which is where the issue lies. It does currently work on Windows 7 and in Citrix now.

My machine is Windows 8 and while debugging it is acting the same as in the above.
0
 
LVL 2

Accepted Solution

by:
E-Risk earned 0 total points
ID: 40598591
Actually I just figured this out. For others experiencing this same issue, I had to disable UAC in the registry as follows:

1. Press Windows + R buttons.
2. Type Regedit in the window that appears.

This will open Windows Registry Editor.

3. You have to go to: HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Policies > System
4. Find the key EnableLUA, and change 1 to 0.
5. Press OK and restart the computer

After the restart, Drag and Drop should work for all programs.

When you completely turn off UAC, programs working with the new Start menu (Metro interface) will stop working. Such programs are Weather, Travel, Maps and others. Since this is in Citrix we are not concerned about users having these features.
0
 
LVL 2

Author Closing Comment

by:E-Risk
ID: 40609554
Found solution to problem on my own.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question