Solved

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

Posted on 2015-02-06
4
419 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 23

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 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