Create a folder and dropping a file in it, with a area to detect input
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Create a folder and dropping a file in it, with a area to detect input

  1. #1
    Join Date
    Dec 2010
    Posts
    4

    Create a folder and dropping a file in it, with a area to detect input

    Hi.

    I'm a beginner to programming, and my first program is gonna be this :

    Make a folder, based on an input file - example :

    You have a file named Movie1.avi on your desktop, u open up the program (that I want to make) and then simply drag drop that file into a box area, and then the program will create a folder, with the same name as the input file, but without the extension (folder name Movie1) and then automatically put that file into the folder it just created.

    The new folder will be created in the same dir as the input file.

    Multiple file support - is NOT needed.

    I know how it will be done, but I don't know the code..

    Please help with code?

    I'm using MS Visual Studio 2010, and I program in basic .net

  2. #2
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,877

    Re: Create a folder and dropping a file in it, with a area to detect input

    Welcome to the forums...

    I have to ask, WHY???
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Dec 2010
    Posts
    4

    Re: Create a folder and dropping a file in it, with a area to detect input

    Quote Originally Posted by dglienna View Post
    Welcome to the forums...

    I have to ask, WHY???
    Thanks..

    I want to make anything, I learn by doing, even if the program is useless

    Can you help?

  4. #4
    Join Date
    Dec 2008
    Location
    Step Into(F11)
    Posts
    461

    Question Re: Create a folder and dropping a file in it, with a area to detect input

    I want to make anything, I learn by doing, even if the program is useless

    Can you help?
    Which Type of Help you Needed ????.better Post some code .what you have written .then we will tell you .where did you make a mistake ???.

  5. #5
    Join Date
    Dec 2010
    Posts
    4

    Re: Create a folder and dropping a file in it, with a area to detect input

    Quote Originally Posted by firoz.raj View Post
    Which Type of Help you Needed ????.better Post some code .what you have written .then we will tell you .where did you make a mistake ???.
    The only thing I have is an idea of what I want to make.

    I would like help to get started (how to code an area so that it can recognize input) and so on, and the I'd learn the code and syntax behind it.

    I don't know where to begin..

  6. #6
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,877

    Re: Create a folder and dropping a file in it, with a area to detect input

    Download the 101 Samples from here and check out how each one works. It will explain the BASICS, if you STEP THRU THE CODE (F8) rather than RUN (F5)
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center