locked
VS vb.net 19 , my Project disappeared , how to reconstruct ? RRS feed

  • Question

  • Hello & Thanks ;

    Win 10 , VS VB.Net :

    Oops! 

    Newbie: visual Studio 19 Free , vb webForms webBrowser app

    I don't know what I clicked on but everything disappeared . 

    With WinExplorer I can find "C:\Users\vmars\source\repos\WindowsApp10"

    and doubleClick on Form1.Designer.vb & Form1.vb & which loads them into VS Ide .

    But Form1.Designer.vb shows as code , not the visual form layout of buttons & boxes etc. .

    How can I get back the Visual Form ? 

    And how can I get it all back into a project ? 

    Thanks for your help...



    "All things in moderation, except for love and forgiveness."...vm

    Friday, August 14, 2020 1:39 AM

Answers

  • In that same folder, you should see a .sln file, which is your solution. You should also see a .vbproj file, which is your project. (I think it's .vbproj anyway, I'm used to C# which is a .csproj).

    From Visual Studio, you can click the File menu, and then choose either "Recent Projects and Solutions", or choose "Open" -> "Project/Solution". You should click on the .sln file if you have it (try the .vbproj if you don't have the .sln).


    ~~Bonnie DeWitt [C# MVP]

    http://geek-goddess-bonnie.blogspot.com

    Friday, August 14, 2020 4:46 AM

All replies

  • In that same folder, you should see a .sln file, which is your solution. You should also see a .vbproj file, which is your project. (I think it's .vbproj anyway, I'm used to C# which is a .csproj).

    From Visual Studio, you can click the File menu, and then choose either "Recent Projects and Solutions", or choose "Open" -> "Project/Solution". You should click on the .sln file if you have it (try the .vbproj if you don't have the .sln).


    ~~Bonnie DeWitt [C# MVP]

    http://geek-goddess-bonnie.blogspot.com

    Friday, August 14, 2020 4:46 AM
  • Thanks 

    (MCC, MVP)


    "All things in moderation, except for love and forgiveness."...vm

    Friday, August 14, 2020 3:34 PM
  • You're welcome! I'm glad I could help.  =0)

    ~~Bonnie DeWitt [C# MVP]

    http://geek-goddess-bonnie.blogspot.com

    Friday, August 14, 2020 3:53 PM
  • Thanks ;

    Guess I clicked answer too soon .

    Doing as U said ,shows form1.vb , form1.designe.vb tab , 

    but still just shows form1.designe.vb text format , still no designer gui . 

    How can I show , I don't want to mess with 'form1.designe.vb' code .

    Thanks


    "All things in moderation, except for love and forgiveness."...vm

    Friday, August 14, 2020 4:00 PM
  • Ok , I got it :

    Click on VIEW dropdown , then click Designer . 

    Thanks


    "All things in moderation, except for love and forgiveness."...vm

    Friday, August 14, 2020 4:04 PM
  • I'm glad you figured it out yourself ... I was in a meeting and not at my computer, so I didn't see your last two replies until now.

    Happy Coding!  =0)


    ~~Bonnie DeWitt [C# MVP]

    http://geek-goddess-bonnie.blogspot.com

    Friday, August 14, 2020 6:11 PM