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 4086824
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:46:38+00:00 2026-05-20T18:46:38+00:00

I have an upload/download web service that I created with WCF. Im using c

  • 0

I have an upload/download web service that I created with WCF. Im using c sharp as the language.

I have allow drop enabled on my textbox that accepts the items to be dragged into it, but it does not allow me to do it, I still get that no sign hovering over it.

Is there something that Im missing?
FYI I made another program using the exact same code and I was able to drag and drop items no problem.

    private void FileTextBox_DragEnter(object sender, DragEventArgs e)
    {
        //Makes sure that the user is dropping a file, not text
        if (e.Data.GetDataPresent(DataFormats.FileDrop, false) == true)
            //Allows them to continue
            e.Effect = DragDropEffects.Copy;
        else
            e.Effect = DragDropEffects.None;
    }





    private void FileTextBox_DragDrop(object sender, DragEventArgs e)
    {
        String[] files = (String[])e.Data.GetData(DataFormats.FileDrop);

        foreach (string file in files)
        {
            FileTextBox.Text = file.ToString();
        }
    } 
  • 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-05-20T18:46:38+00:00Added an answer on May 20, 2026 at 6:46 pm

    these aren’t the only code that you need. you will need:

    FileTextBox.AllowDrop = true;
    FileTextBox.DragEnter += new DragEventHandler (FileTextBox_DragEnter);
    FileTextBox.DragDrop += new DragEventHandler (FileTextBox_DragDrop);
    

    Of course, if you’re using an IDE, you can achieve this by assigning the handlers in the form designer.

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

Sidebar

Related Questions

We have created a web application, using ASP.NET, that allows users to upload documents
I have a desktop application that needs to upload/download images to/from service computer over
I have a web-app that allows users to upload and download image files by
I have an app that basically can be used to download, upload, and manage
I Have an asp.net web service that uses an oracle database. It works when
I have developed a web application to upload and download files. Filename and file
I have an activity that lets a user upload a photo to the web
I have implemented a simple file upload-download mechanism. When a user clicks a file
I have an upload script that write a index.html file, I modified it to
I have a file upload form that is being posted back to a servlet

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.