Results 1 to 5 of 5

Thread: Deleted My VB Project

  1. #1
    Join Date
    Dec 2011
    Posts
    257
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Deleted My VB Project

    Well I didn't actually delete it, I moved it to my desktop, but the deleted it and I restored it from recycle bin and now it's not opening? Someone help.
    Last edited by sm321; 02-06-2012 at 10:21 AM.

  2. #2
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Copy all the code from the .vb file.. create a new project, paste the code in..
    I am Ggzz..
    Hackintosher

  3. #3
    Join Date
    Dec 2011
    Posts
    257
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ggzz View Post
    Copy all the code from the .vb file.. create a new project, paste the code in..
    But will I get the design back because I can't remember which label was where?

  4. #4
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by sm321 View Post
    But will I get the design back because I can't remember which label was where?
    Uhh I cannot remember the VB Structure of a project off the top of my head but if you get a stack overflow error when trying to view the designer/form then just drag back the other files 1 by 1.. if that doesn't work just wait till I get to a computer in like 4-5 hrs.. atm I'm on my iPhone. In C# you needa copy the program.cs and the form.cs.. C++ all that's needed is the form.cpp.. Not so sure about vb if you need more than one. You can usually tell by looking at the source.. if it has all the classes and the constructor/destructor for your form at the very top then you don't need more than one.. but if its not there then you definitely need to look through the files to find which ones have it.. then copy the form.vb + the contructorfile.vb.

    Or maybe someone can help you till then.
    I am Ggzz..
    Hackintosher

  5. #5
    Join Date
    Dec 2011
    Posts
    257
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ggzz View Post
    Uhh I cannot remember the VB Structure of a project off the top of my head but if you get a stack overflow error when trying to view the designer/form then just drag back the other files 1 by 1.. if that doesn't work just wait till I get to a computer in like 4-5 hrs.. atm I'm on my iPhone. In C# you needa copy the program.cs and the form.cs.. C++ all that's needed is the form.cpp.. Not so sure about vb if you need more than one. You can usually tell by looking at the source.. if it has all the classes and the constructor/destructor for your form at the very top then you don't need more than one.. but if its not there then you definitely need to look through the files to find which ones have it.. then copy the form.vb + the contructorfile.vb.

    Or maybe someone can help you till then.
    Thanks, I've just made another one now. Thanks anyway

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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