Results 1 to 5 of 5

Thread: [RESOLVED] Exportation of Files

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2009
    Posts
    257

    Resolved [RESOLVED] Exportation of Files

    Hello,

    Is there a way that you can export a file from one project directly into another project?

    For example, in one project i have a file called authInvalid.vb and i need to export it into another project?

    Thanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Exportation of Files

    What does "export" mean? When you say "project" it sounds like you mean at design time, but exporting files is something that sounds more like a run time activity. If you mean that you have a source file in one project that you would like to use in another project then there's no exporting involved. In the Solution Explorer you simply right-click your project and select Add -> Existing Item and navigate to the existing source file instead of creating a new item.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Exportation of Files

    See if copying & pasting works for you! Just get the filename, without the extension, of the file(s) you want to copy. In Explorer, select all files that begin with the name(s) (say that the thing you want to copy is called Form1.vb. Select everything in the folder starting with "Form1".) Copy them and paste them in the destination folder. That should work.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2009
    Posts
    257

    Re: Exportation of Files

    None of the methods above work.

    I have two separate project, one named eLearn and one named ControlPro.

    I want to be able to use the forms that are inside the ControlPro project on the eLearn project, along with all other files that are inside the solution.

    Currently, when i try to copy and paste all the files in the ControlPro project folder to the eLearn project folder, when i open the project inside of Visual Studio all the files i copied have a white icon next to them.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2009
    Posts
    257

    Re: Exportation of Files

    Nvm, sorted it.

Posting Permissions

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



Click Here to Expand Forum to Full Width