Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

14 Experts available now in Live!

Get 1:1 Help Now