I posted this in another group, but it doesn't get much traffic, so I'm
reporting here...
I have a project with one form and several classes, etc. All of the sudden,
today when I open the solution, the form no longer has a GUI design
component to it. When I click on it, it only shows the source code and the
icon has changed from the little form icon to a vb class icon. Any idea
what on earth might have happened? I did a repair installation of VS.Net
2003 and have rebooted, reloaded the solution a few times. Help, please!
--
*********************
Jon Rosenberg www.DeanForAmerica.com www.OhioForDean.org www.NEOhioForDean.com
AOL IM: QJ2X 6 7631
Keep your politcal crap out of the newsgroup. This not
the place to promote your politcal garbage. -----Original Message----- I posted this in another group, but it doesn't get much
traffic, so I'mreporting here...
I have a project with one form and several classes,
etc. All of the sudden,today when I open the solution, the form no longer has a
GUI designcomponent to it. When I click on it, it only shows the
source code and theicon has changed from the little form icon to a vb class
icon. Any ideawhat on earth might have happened? I did a repair
installation of VS.Net2003 and have rebooted, reloaded the solution a few
times. Help, please!
-- ********************* Jon Rosenberg www.DeanForAmerica.com www.OhioForDean.org www.NEOhioForDean.com AOL IM: QJ2X
.
Have you tried refeshing the solution explorer with the little refresh
button at the top of the solution explorer panel??
Often when the graphics and IDE behave that way its because you have a
naming conflict with another class. Check to make sure you dont have
two classes/forms with the same name..
If worst comes to worst, just create a new form and cut and paste the
old code into it after removing the default code.
If you still have the problem there a good chance the problem lies in
your class code not your IDE.
HTH
Richard
"Jon" <ru******@msn.com> wrote in message news:<O8**************@tk2msftngp13.phx.gbl>... I posted this in another group, but it doesn't get much traffic, so I'm reporting here...
I have a project with one form and several classes, etc. All of the sudden, today when I open the solution, the form no longer has a GUI design component to it. When I click on it, it only shows the source code and the icon has changed from the little form icon to a vb class icon. Any idea what on earth might have happened? I did a repair installation of VS.Net 2003 and have rebooted, reloaded the solution a few times. Help, please!
Hi Jon,
You changed somewhere a reference, the most easy could be that you deleted
or changed the
Inherits System.Windows.Forms.Form
Or something
I hope this helps?
Cor I have a project with one form and several classes, etc. All of the
sudden, today when I open the solution, the form no longer has a GUI design component to it. When I click on it, it only shows the source code and
the icon has changed from the little form icon to a vb class icon. Any idea what on earth might have happened? I did a repair installation of VS.Net 2003 and have rebooted, reloaded the solution a few times. Help, please!
Hi Jon, Perhaps your project file has gone up the .NET creek, with no System
namespace. It's in there that all the types of object and whatnot are stored
so that the IDE knows what to do with the code files... an interesting point
is that your form class *must* be the first class to appear in the code
file, if you want to use the designer, it must be above any other classes,
but obviously after any "Imports" statements....
' === This is correct...
Imports System
Public Class MyForm
Inherits Form
* "Jon" <ru******@msn.com> scripsit: I have a project with one form and several classes, etc. All of the sudden, today when I open the solution, the form no longer has a GUI design component to it. When I click on it, it only shows the source code and the icon has changed from the little form icon to a vb class icon. Any idea what on earth might have happened? I did a repair installation of VS.Net 2003 and have rebooted, reloaded the solution a few times. Help, please!
Right-click the form in the solution explorer, choose "Open with..."
from its context menu and select the Forms editor (if available).
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Thanks to everyone who replied. Somehow, the Imports System statement
disappeared. Adding it back in fixed the problem!
Thanks again
"Tom Spink" <thomasdotspinkat@ntlworlddotcom> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl... Hi Jon, Perhaps your project file has gone up the .NET creek, with no System namespace. It's in there that all the types of object and whatnot are stored so that the IDE knows what to do with the code files... an interesting point is that your form class *must* be the first class to appear in the code file, if you want to use the designer, it must be above any other classes, but obviously after any "Imports" statements....
' === This is correct...
Imports System
Public Class MyForm Inherits Form . . . End Class
' ===
-- HTH, -- Tom Spink, Über Geek
Please respond to the newsgroup, so all can benefit
" System.Reflection Master "
==== Converting to 2002 ==== Remove inline declarations
"Jon" <ru******@msn.com> wrote in message news:O8**************@tk2msftngp13.phx.gbl... I posted this in another group, but it doesn't get much traffic, so I'm reporting here...
I have a project with one form and several classes, etc. All of the sudden, today when I open the solution, the form no longer has a GUI design component to it. When I click on it, it only shows the source code and the icon has changed from the little form icon to a vb class icon. Any idea what on earth might have happened? I did a repair installation of VS.Net 2003 and have rebooted, reloaded the solution a few times. Help, please!
-- ********************* Jon Rosenberg www.DeanForAmerica.com www.OhioForDean.org www.NEOhioForDean.com AOL IM: QJ2X
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: digihoo |
last post by:
i am validating form data, but when i redirect the user back to the
form page to correct the errors, all of the data they entered has
disappeared.
Please Help.
Thanks
|
by: Dave Smithz |
last post by:
Hi there,
When filling out a web form on a php page that is submitted to a search
which lists the results based on the criteria provided (in the form), all
works fine and as expected.
...
|
by: Ray Greene |
last post by:
I was working in Access and everything disappeared from the screen. When I
closed and reopened the file there was no switchboard. I can open tables and
forms etc if I select a category from the...
|
by: Rob Nicholson |
last post by:
We've implemented functionality to allow a user to download a document (any
document type) from the IIS server using the following code:
Response.Clear()
Response.ContentType =...
|
by: 007 |
last post by:
I made an application, with a form only. It has a large I/O (message Queues,
TCP connections) data throughput. After a period of time running(1 or a few
days), it disappeared(The process can not be...
|
by: Vish |
last post by:
Hi,
I have a base form from which i want all of my forms to inherit from. The
base form has three buttons anchored to the bottom right of the base form.
When i first inherit a new form from the...
|
by: Ryan |
last post by:
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip,
data binding elements (dataset, binding source, table adapter), tab control
with 7 tab pages, each page contains a...
|
by: bkasmai |
last post by:
An access 2000 database is used by a number of users on a windows xp
professional machine. Users logon to the machine using their own
individual windows login name and password. The database is...
|
by: Ronald S. Cook |
last post by:
I started up my Windows project and, whoa, my menu bar items have
disappeared. The events are still in my code-behing but what's up? Is this
a bug or something?
Thanks,
Ron
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |