Solved

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

Posted on 2015-02-06
4
362 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Found solution to problem on my own.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now