Results 1 to 5 of 5

Thread: [RESOLVED] Filepath

  1. #1

    Thread Starter
    Hyperactive Member Mallard8's Avatar
    Join Date
    Feb 2018
    Location
    Wales
    Posts
    284

    Resolved [RESOLVED] Filepath

    How do I change the file path for the following

    Bowling.Designer.vb
    Bowling.resx
    Bowling.vb
    Bowlingcode.vb

    At the moment they are outside of the project folder, if I place them inside the project folder it can't find them (understandable)
    Learning is a never ending subject.

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

    Re: Filepath

    I would suggest excluding that item from the project in the Solution Explorer, moving the files to the appropriate folder, then adding the item back to the project. You may not even need to move them because, if you select Add -> Existing Item then I think it will copy the appropriate files into the project automatically.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Filepath

    As an alternative, you could just move them and then edit the project file by hand. If you open the VBPROJ file in a text editor, e.g. Notepad, yu will see the paths for each of the project files and you can simply edit them as required. Just be sure to create a backup of the project file first because the wrong change could render it unusable.

  4. #4
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Filepath

    If they are part of the project, you could use the SolutionExplorer window inside visual studio to move them to a new folder inside the project and VS will physically move them in the windows folder too.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  5. #5

    Thread Starter
    Hyperactive Member Mallard8's Avatar
    Join Date
    Feb 2018
    Location
    Wales
    Posts
    284

    Re: Filepath

    Opened the VBPROJ file in a text editor, Notepad++ and all is fine
    Learning is a never ending subject.

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