INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Edit form in Visual Studio

Edit form in Visual Studio

(OP)
I am trying to simply edit an existing form in Visual Studio Express 2010. I can't find how to do this anywhere and we need to finish some coding and add a button. So far all searches have come up empty.

Anyone know how?

RE: Edit form in Visual Studio

You say you need to add a button and finish some coding; what exactly is the problem you have in doing this?

RE: Edit form in Visual Studio

(OP)
On other forms in other solutions I can right click on the form and select design. In this solution there is only the one form and it won't allow me to right click to get to design, it only shows the option for code.

So even though I can run the solution and it will show the form, I haven't been able to get back to the form to finish working on it. Going through the tool bars hasn't provided any way to edit the form that I have found.

When the form runs the labels are there and the button is there but it won't let me edit the form for some reason. I can't find a way to get back to the form to finish the changes needed.

RE: Edit form in Visual Studio

Ah I see what you mean - right clicking on a form in the Solution explorer normally gives the option 'View Designer' and there is also a button at the top of the Solution explorer that says 'View Designer' when you hover the mouse over it. So your button and right click option for 'View Designer' are missing, and you only have the option to view code, yes?
Did you create this project from scratch or are you working on a project that someone else started?
What type of form is this? A normal windows form?





RE: Edit form in Visual Studio

If you open the code window and right click in the code is there an option to view designer?
In your solution explorer click the Show All Files option - second icon from the left,usually.
AT your form there should be a plus symbol; click that and it should show all files connected with the form.
is there a file named like xxx.designer.vb?

RE: Edit form in Visual Studio

In solution Explorer double click your "formxxx.vb" to open it.
OR if you have the "Show All Files" option toggled on then just select your formxxx.vb and click "View code".
Now in the editor (left hand pane), is it blank/empty? or is it missing the class declaration?
E.G. :
Public Class formxxx '/at the beginning

End Class '/at the bottom

if missing, add those lines back in and save it then you should be able to see the designer option


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close