Results 1 to 17 of 17

Thread: Newbie - Probably a stupid question...

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Posts
    11

    Newbie - Probably a stupid question...

    I just got Visual Studio 2005. I was making a project in VB, saved it, took a long holiday weekend, and then decided to get back to work on it. I load the project and up comes the code, but I can't (for the life of me) figue out how to open the form in design view (to add buttons, text boxes, etc.)

    Someone please help before I put my foot through the wall. Thanks.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Newbie - Probably a stupid question...

    Double click on Form1.cs.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Posts
    11

    Re: Newbie - Probably a stupid question...

    I don't see a .cs file. I see two .vb files and a .resx file.

  4. #4
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: Newbie - Probably a stupid question...

    Quote Originally Posted by cmoloney
    I just got Visual Studio 2005. I was making a project in VB, saved it, took a long holiday weekend, and then decided to get back to work on it. I load the project and up comes the code, but I can't (for the life of me) figue out how to open the form in design view (to add buttons, text boxes, etc.)

    Someone please help before I put my foot through the wall. Thanks.
    Hi,

    Let's try,

    Open your Visual Basic 2005 program, then open your project, then open your project and then open the solution object of your project.

    Normaly that's how I open a project.

    Hope it helps,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

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

    Re: Newbie - Probably a stupid question...

    You double click on the Form1.vb file or select the Form1.vb file and then click the View Designer button at the top of the Solution Explorer.
    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

  6. #6
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Newbie - Probably a stupid question...

    Try double clicking the Form1.vb in the sloution exporer. (Or whaterver you named the form.)
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  7. #7

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Posts
    11

    Re: Newbie - Probably a stupid question...

    Hmmm... Still nothing.

    I open Visual Studio. Then I do File->Open Project->filename.vbproj

    I get a blank screen, but the play button is active. If I hit it, I can see my partial project in action, but when I hit stop I get no code, and no form!

    If I open Solution Explorer, I can get to the code, but I don't see anywhere to get to the form.

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

    Re: Newbie - Probably a stupid question...

    Did you create a Windows Forms application project in the first place?
    Attached Images Attached Images  
    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

  9. #9

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Posts
    11

    Re: Newbie - Probably a stupid question...

    I don't get the 'View Designer' option...

    My options are 'view code' or 'view class diagram'


    I can see my form if I hit the play button, but I can't open it to edit it.

  10. #10

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Posts
    11

    Re: Newbie - Probably a stupid question...

    Is it possible that I didn't save the form?? If so, is there a way to reverse engineer it from the code?

  11. #11
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Newbie - Probably a stupid question...

    It's possible that you didn't create a windows application at all. Post a screenshot of your Visual Studio window with the Solution Explorer visible.

  12. #12

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Posts
    11

    Re: Newbie - Probably a stupid question...

    When I created the project I did File->New Project->Windows Application->Open
    Attached Images Attached Images  

  13. #13
    Junior Member
    Join Date
    May 2006
    Posts
    17

    Re: Newbie - Probably a stupid question...

    Hi I dont see a form. If you go to the top under view and the second listing should say designer. Click it. Or you can also press shift+F7

  14. #14

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Posts
    11

    Re: Newbie - Probably a stupid question...

    I guess it would seem that I didn't save the form somehow, or I deleted it somehow. I guess I'm just a fool. Thank you everyone for your help. As for me, back to square one. Yippie!

  15. #15
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Newbie - Probably a stupid question...

    Why does that look like a shortcut?

  16. #16
    Junior Member
    Join Date
    Apr 2006
    Posts
    16

    Re: Newbie - Probably a stupid question...

    It looks like you created a Console Application, essentially a DOS application which does not use forms.

  17. #17
    Member
    Join Date
    Oct 2005
    Location
    C:\Downloads at 87.105.109.239
    Posts
    39

    Re: Newbie - Probably a stupid question...

    If you want to do anyway with this, attach full solution with all files packed in a ZIP or RAR, i will see if there is anything to do with this...
    If my post is helpful please RATE IT! Thanks

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