Drag and Drop not working with windows 8.1

we using windows 8.1 for a few days now

so we installed visual basic .net 2012 and starting our projects again we used in windows 7

but now it seems that the drag and drop doesn't work in windows 8.1

we only gets a forbidden icon when we drag it over the control

please can someone tell us why windows 8.1 won't work with drag and drop

we hope this can be fix in anyway because we don't like when our users use our programs

and tell us that this point wont work in windows 8.1

our code:

Private Sub FlowLayoutPanel1_DragDrop(sender As Object, e As DragEventArgs) Handles FlowLayoutPanel1.DragDrop
       
        If (e.Data.GetDataPresent(DataFormats.FileDrop)) Then
           e.Data.GetData(DataFormats.FileDrop)
                      
        End If
    End Sub

    Private Sub FlowLayoutPanel1_DragEnter(sender As Object, e As DragEventArgs) Handles FlowLayoutPanel1.DragEnter
        Try

            If (e.Data.GetDataPresent(DataFormats.FileDrop)) Then
                e.Effect = DragDropEffects.Copy
            Else
                e.Effect = DragDropEffects.None
            End If
        Catch ex As Exception       
            Exit Sub
        End Try
    End Sub

Thank you.

Dummy

p.s

we also got help from social msdn

here the topic who all answered.

social mdsn

August 12th, 2014 2:36pm

Hi,

Welcome posting in TechNet forum.

Do you mean the drag and drop action of files within different application?

We may take a try to disable the UAC settings and see if the drag and drop would work. And please note if we have UAC disabled, Windows Store APPs would be expected not going to work.

For the coding edit stuff, I suggest we keep focus on the MSDN thread.

Best r

Free Windows Admin Tool Kit Click here and download it now
August 13th, 2014 9:39am

hello mr.shao

thanks for reply me

well yea i want to test any possibility to make it work

and yes we want to drop files in any application when we run this as admin access

without admin we can drop any file

but we some applications my own or installed need to run as admin access.

August 13th, 2014 10:12am

Hi,

I am afraid this behavior is not allowed, Windows would not allow files for normal user to open in an application with admin rights. As this is considered not safe(As this is stressed by MVPs mutiple times).

We might keep focus on how to make normal user to use this application which could be run without admin rights.

Best regards

Free Windows Admin Tool Kit Click here and download it now
August 14th, 2014 8:42am

hello mr. shao

so what does this means

and whats a solution to fix this problem?

because its not fun that we can't use the admin permission in our own vs file's

greetz.

August 14th, 2014 10:25am

To drag and drop from different user and admin accounts is not allowed in windows.

You need to change your App running mode to fix this.

Rgds


  • Edited by maelwliams Friday, August 22, 2014 2:27 AM
Free Windows Admin Tool Kit Click here and download it now
August 22nd, 2014 2:26am

Well we have tried this with turn off the UAC but thats not working still no effect

so we have no idea how to make this work

i still think windows 7 is still better then windows 8 no offense :)

August 22nd, 2014 4:04pm

An exception to that should be made available. There are applications that do not work properly (or their functionality is limited) without being "Run as Administrator". Those same applications can be limited by the lack of drag & drop support - so it's a full circle where I can't get what I want either way.

Would I have to run "Windows Explorer" as administrator (if it's even possible) to be able to drag & drop files to the application in question (which is also being "run as administrator") ? 

I can't recall issues like that with Windows 7. This being the first annoying thing about 8.1 I've encountered since I switched about a year ago. Naturally I don't even mention UAC as I imagine it is the first thing most people disable  after OS installation.

 
Free Windows Admin Tool Kit Click here and download it now
March 5th, 2015 8:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics