By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

Opening desig window for a form in Visual Basic 2005 Express Edition

P: n/a
Hi,

I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.

It sometimes happens that the design window of a form can no more be
viewed within the user interface.

Does anyone have an idea on how I can do to access it ?

Oct 26 '07 #1
Share this Question
Share on Google+
11 Replies


P: n/a
On Oct 26, 8:47 am, resea...@webalive.net wrote:
Hi,

I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.

It sometimes happens that the design window of a form can no more be
viewed within the user interface.

Does anyone have an idea on how I can do to access it ?
Is it giving an error message? Often if there is bad code that
prevents the rendering of the form, it will not open (as it can't draw
itself) until the error is fixed. IIRC when this happens it show a
white screen with a list of errors.

Thanks,

Seth Rowe

Oct 26 '07 #2

P: n/a
On 26 oct, 14:50, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Oct 26, 8:47 am, resea...@webalive.net wrote:
Hi,
I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.
It sometimes happens that the design window of a form can no more be
viewed within the user interface.
Does anyone have an idea on how I can do to access it ?

Is it giving an error message? Often if there is bad code that
prevents the rendering of the form, it will not open (as it can't draw
itself) until the error is fixed. IIRC when this happens it show a
white screen with a list of errors.

Thanks,

Seth Rowe
The build of the application gives no error. Starting the application
well shows the form !!
Normally, when in the "code" part of a form, the right click context
sensitive menu shows as first entry "View Designer"; and sometimes it
does no more and I feel like I have "lost the design" ?!?!

Thanks already for the very quick reply !!
Lio

Oct 26 '07 #3

P: n/a
On Fri, 26 Oct 2007 05:47:21 -0700, re******@webalive.net wrote:
>Hi,

I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.

It sometimes happens that the design window of a form can no more be
viewed within the user interface.

Does anyone have an idea on how I can do to access it ?
If the design window shows errors, I have found the following will
usually fix it. Not all steps are needed every time.

Close the design window.
Rebuild the project.
Close Visual Studio.
Open Visual Studio.
Open the project and the design window.

It appears to me that sometimes when a breaking change is made to a
class and a design window affected by that change is open, Visual
Studio remembers something about the class that it shouldn't and will
continue to show errors in the design window until the window is
closed and/or Visual Studio is closed.

Oct 26 '07 #4

P: n/a
Designer on the View menu?

Bob

<re******@webalive.netwrote in message
news:11**********************@z9g2000hsf.googlegro ups.com...
Hi,

I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.

It sometimes happens that the design window of a form can no more be
viewed within the user interface.

Does anyone have an idea on how I can do to access it ?

Oct 26 '07 #5

P: n/a
On 26 oct, 16:15, "eBob.com" <faken...@totallybogus.comwrote:
Designer on the View menu?

Bob

<resea...@webalive.netwrote in message

news:11**********************@z9g2000hsf.googlegro ups.com...
Hi,
I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.
It sometimes happens that the design window of a form can no more be
viewed within the user interface.
Does anyone have an idea on how I can do to access it ?
Yes, Shift+F7 - or right click Design !!

Quite disappointing :-(

Lio

Oct 26 '07 #6

P: n/a
On Oct 26, 10:51 am, resea...@webalive.net wrote:
On 26 oct, 16:15, "eBob.com" <faken...@totallybogus.comwrote:
Designer on the View menu?
Bob
<resea...@webalive.netwrote in message
news:11**********************@z9g2000hsf.googlegro ups.com...
Hi,
I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.
It sometimes happens that the design window of a form can no more be
viewed within the user interface.
Does anyone have an idea on how I can do to access it ?

Yes, Shift+F7 - or right click Design !!

Quite disappointing :-(

Lio
Can you provide us a sample that reproduces the problem?

Thanks,

Seth Rowe

Oct 26 '07 #7

P: n/a
On 26 oct, 17:15, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Oct 26, 10:51 am, resea...@webalive.net wrote:
On 26 oct, 16:15, "eBob.com" <faken...@totallybogus.comwrote:
Designer on the View menu?
Bob
<resea...@webalive.netwrote in message
>news:11**********************@z9g2000hsf.googlegr oups.com...
Hi,
I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.
It sometimes happens that the design window of a form can no more be
viewed within the user interface.
Does anyone have an idea on how I can do to access it ?
Yes, Shift+F7 - or right click Design !!
Quite disappointing :-(
Lio

Can you provide us a sample that reproduces the problem?

Thanks,

Seth Rowe
Euh, yes, it's possible .... How should I do ?

Oct 26 '07 #8

P: n/a
On Oct 26, 12:02 pm, resea...@webalive.net wrote:
On 26 oct, 17:15, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Oct 26, 10:51 am, resea...@webalive.net wrote:
On 26 oct, 16:15, "eBob.com" <faken...@totallybogus.comwrote:
Designer on the View menu?
Bob
<resea...@webalive.netwrote in message
news:11**********************@z9g2000hsf.googlegro ups.com...
Hi,
I'm using Visual Basic 2005 Express Edition to develop small tools in
relation with our applications and I'm facing a problem using the
interface.
It sometimes happens that the design window of a form can no more be
viewed within the user interface.
Does anyone have an idea on how I can do to access it ?
Yes, Shift+F7 - or right click Design !!
Quite disappointing :-(
Lio
Can you provide us a sample that reproduces the problem?
Thanks,
Seth Rowe

Euh, yes, it's possible .... How should I do ?
Just post the code that will reproduce the problem. Or, if it's more
than just code, provide a step-by-step "how to" on what we need to do
to recreate the error.

Thanks,

Seth Rowe

Oct 26 '07 #9

P: n/a
re******@webalive.net wrote:
The Design feature is no more present in the "view menu" nor in the
context sensitive menu.
The IDE doesn't think your class /can/ be "designed".

(a) Make sure the class' inheritance is correct:

Class X
Inherits System.Windows.Forms.Form

(b) Failing that, the IDE will /only/ let you design the /first/ Class
declared in any source file so you can't design the Form below:

Class NotAForm
End Class

Class Form2
Inherits System.Windows.Forms.Form
End Class

HTH,
Phill W.
Oct 29 '07 #10

P: n/a
On 29 oct, 14:17, "Phill W." <p-.-a-.-w-a-r...@-o-p-e-n-.-a-c-.-u-k>
wrote:
resea...@webalive.net wrote:
The Design feature is no more present in the "view menu" nor in the
context sensitive menu.

The IDE doesn't think your class /can/ be "designed".

(a) Make sure the class' inheritance is correct:

Class X
Inherits System.Windows.Forms.Form

(b) Failing that, the IDE will /only/ let you design the /first/ Class
declared in any source file so you can't design the Form below:

Class NotAForm
End Class

Class Form2
Inherits System.Windows.Forms.Form
End Class

HTH,
Phill W.
It looks what you explained is the right track.
But I don't really understand the point (b) .... If allow inheritance
on another class, the design is available. How can I choose on which
class I want to use the design ? May I not use the design on any
Form ?

Nov 1 '07 #11

P: n/a
re******@webalive.net wrote:
>(b) Failing that, the IDE will /only/ let you design the /first/ Class
declared in any source file so you can't design the Form below:

Class NotAForm
End Class

Class Form2
Inherits System.Windows.Forms.Form
End Class
But I don't really understand the point (b) .... If allow inheritance
on another class, the design is available. How can I choose on which
class I want to use the design ? May I not use the design on any
Form ?
It's not the Inheritance getting in the way, it's just that the Forms
Designer only looks as far through the physical source file as the first
Class statement. If that [first] class, whatever it is, isn't
"designable" then it gives up and tells you that you can't design
anything in that source file; the icon in the Solution Explorer changes
and the context [and other] menu[s] no long show the "View Designer"
option.

Put the non-form Class below the Form one and - "magically" - everything
starts working again.

HTH,
Phill W.
Nov 2 '07 #12

This discussion thread is closed

Replies have been disabled for this discussion.