Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8338729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:41:04+00:00 2026-06-09T04:41:04+00:00

I have two small applications: an image file explorer, and an image viewer. The

  • 0

I have two small applications: an image file explorer, and an image viewer.

The explorer uses a standard tree view to display contents from the file system.
The viewer supports drag and drop to load files.

I want to drag a file entry from my explorer into my viewer and have it load the image.
Each node in the explorer holds a FileInfo object in its tag if I need to access specific info.

Is this possible?

Note: I can build the viewer directly into the explorer, but I wanted to see whether I can drag objects both in and out of an application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:41:06+00:00Added an answer on June 9, 2026 at 4:41 am

    Some basic code to take data from your custom app…

    DataObject d = new DataObject(); 
    d.SetData(DataFormats.Serializable, myObject); 
    myForm.DoDragDrop(d, DragDropEffects.Copy); 
    

    You typically start by identifying the source of your drag, UIElement or ContentElement and create a handler for the MouseMove event. That is where the above code should go.

    On your drop target, you also identify the element, set AllowDrop to true, and implement the Drop event handler. Take a look at Drag and Drop Overview which should be very helpful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small problem with UINavigationController animation between two view. My application build
I have two side borders on my website, left and right side... small image
I have a view with two subviews: A UIImageView A small Custom View which
Have created a small two tab app, then subclassed another view controller to create
I have a developed two small Java applications - a vanilla Java app and
I have two small VB.NET applications that connect to the same Oracle database. One
I have a small, basic working example of using WCF to get two applications
I have two Questions. One small and one greater problem. Why i have to
I have two hashes, one big and one small. All of the smaller hash's
I have a small problem with Smarty... I have two different template files in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.