Drag & Drop from Explorer on ASP.NET / VB.NET Web Page

N

nak

Hi there,

In the Windows Live SkyDrive, there is a drag and drop box for dragging
files from Explorer, onto the web page. I would like to know if anyone has
information on how to implement this kind of functionality as the only
examples I can find seem to restrict the drag and drop operation for within
the web page only.

Thanks for your time in advance!

Nick.
 
N

nak

What does Windows Live SkyDrive have to do with Visual Basic .NET?

ASP.NET / VB.NET, the page is aspx web page.

Maybe you didn't read the subject title correctly. Or are you just
trolling?

Nick.
 
S

Scott M.

No, I'm not trolling (thanks for asking). I did just misread your question
though. I thought you were asking a question specifically about Windows
Live SkyDrive.

Sorry.

I believe the operation you are talking about is implemented more at the
Windows level than at the specific web page.

-Scott
 
N

nak

Hi Scott,
No, I'm not trolling (thanks for asking). I did just misread your
question though. I thought you were asking a question specifically about
Windows Live SkyDrive.

Sorry.

I believe the operation you are talking about is implemented more at the
Windows level than at the specific web page.

Well one of the main reasons I'm not sure it is that low-level is that I
wasn't prompted to install any ActiveX controls, unless it was already
installed of course. I did try a similar implementation a while back using
ActiveX but security features in Windows just wouldn't allow me to do this.

Aaha, I've just tested with Firefox and it's come up with 5 bland HTML
input boxes. So I can only presume that Microsoft are bypassing their own
security model in favor of their own solutions! Awesome :(

Nick.
 
S

Scott M.

I believe that when you've encountered this behavior before (Windows Live),
you were, in fact, using objects that are already present in the OS, and so
you wouldn't get prompted to use them.

Instead of a web control allowing drag and drop, I believe it's a Windows
object that just sees IE and Windows Explorer as 2 Windows applications.

-Scott
 
N

nak

Hi Scott,
I believe that when you've encountered this behavior before (Windows
Live), you were, in fact, using objects that are already present in the
OS, and so you wouldn't get prompted to use them.

Instead of a web control allowing drag and drop, I believe it's a Windows
object that just sees IE and Windows Explorer as 2 Windows applications.

I guess that may be promising that it might be possible to leverage it
somehow, I'll keep plugging at it, many thanks for your time.

Nick.
 
S

Scott M.

If memory serves, in a Windows environment, the ability to drag and drop
across applications is handled by Object Linking and Embedding (OLE) and in
the past, when I've built VB 6 Windows based apps, I've used the OLE control
to allow this behavior. But again, this is a Windows control, not a Web
control. Only the OS can manage drag and drop between non related
applications.

-Scott
 
M

mayayana

Here:

http://en.wikipedia.org/wiki/Windows_Live_SkyDrive

it says this:

"Optionally, an ActiveX-based tool can be installed to allow drag-and-drop
uploading from Windows Explorer."


It would have to be some kind of installed
software. What's really going on has to be
an FTP operation or something similar. The
drag-drop is just a GUI nicety. In the same
way, most FTP programs provide drag-drop,
and Microsoft's FrontPage WYSIYWG editor
used to let you pretend to "edit pages on the
server". But no matter how the program GUI
makes it look, somewhere behind the scenes
there has to be a basic conversation with the
server and a file upload operation.

I'd guess that if you deal with "SkyDrive" as
a webpage in IE then the drag/drop recognition
might be provided by a BHO that checks the
document location when something is dropped
onto IE, and goes into action uploading if the
location is your SkyDrive page.
 
J

Jie Wang [MSFT]

Hello Nick,

You might already know it, but just a quick notice:

The managed support service of the newsgroup
microsoft.public.dotnet.languages.vb is now available instead on Visual
Basic General:
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/threads. Would you
please repost the question in the forum with the Windows Live ID used to
access your Subscription benefits? Our engineers will assist you in the new
platform. The article
http://msdn.microsoft.com/en-us/subscriptions/aa974230.aspx introduces more
information about the migration. In the future, please post your
VB.NET-related questions directly to the forums. If you have any questions
or concerns, please feel free to contact us: (e-mail address removed).

Regards,
Jie Wang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top