|
-
Apr 25th, 2005, 07:44 AM
#1
Thread Starter
Frenzied Member
Form becomes a script????? STRANGE !
Hi there,
I am absolutely mystified why this is occuring. I have 6 panels which has lots of controls on it. However, when i close and reopen the project, the form becomes a script, i.e when i double click on it, i open up the code and cannot see the form designer. I get round this by fiddling with the Friends Withevents btnBah as System.Textbox etc etc.... I realised if i move them around, it realises it is a form again and the icon changes..?
Anyone ???
arghh1!!!
should i not use panels anymore?
Last edited by dinosaur_uk; Apr 25th, 2005 at 02:15 PM.
-
Apr 25th, 2005, 07:45 AM
#2
Fanatic Member
Re: Form becomes a script????? STRANGE !
that handiest way to get them all back to normal is just to rebuild the project....
but it is quiet strange
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Apr 25th, 2005, 07:46 AM
#3
Thread Starter
Frenzied Member
Re: Form becomes a script????? STRANGE !
I have done that????
and it does not work?!?!?
-
Apr 25th, 2005, 07:46 AM
#4
Thread Starter
Frenzied Member
Re: Form becomes a script????? STRANGE !
I have done that????
and it does not work?!?!?
-
Apr 25th, 2005, 07:50 AM
#5
Fanatic Member
Re: Form becomes a script????? STRANGE !
that always fixed the problem for me when i went build -> rebuild projname
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Apr 25th, 2005, 07:50 AM
#6
Thread Starter
Frenzied Member
Re: Form becomes a script????? STRANGE !
Yeah sorry,
that works.,...but why does it do that????
coz i tried so many times and it keeps doing the same thing...
bug?
-
Apr 25th, 2005, 07:54 AM
#7
Fanatic Member
Re: Form becomes a script????? STRANGE !
absolutely no idea why it does it..... it hasnt happened to me in a while!!!!!
i never actually looked up the problem, but im sure on msdn somewhere thers is prob an article on it.
if you find it, post it up.
i must have a look sometime
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Apr 25th, 2005, 10:55 AM
#8
Junior Member
Re: Form becomes a script????? STRANGE !
I have a simple way to solve ur problem cause it always happens to me.
1.Go the the script.
2.Click on the empty space right below the "Imports" lines.
3.Type any thing (eg sdagasdgdf) and press enter.
4.At this point in time ,your form would have turned back from a script into the form.
5.Delete away the rubbish u just type.
6.Continue with ur work !
Don't ask me why,it just works.
-
Apr 25th, 2005, 11:19 AM
#9
Thread Starter
Frenzied Member
Re: Form becomes a script????? STRANGE !
Yeah ...very strange...i found that out too...
But I only find this happends when i have lots of controls on the form....
-
Apr 25th, 2005, 04:55 PM
#10
Re: Form becomes a script????? STRANGE !
What version of VS? I have never had that happen.
My usual boring signature: Nothing
 
-
Apr 26th, 2005, 03:29 AM
#11
Thread Starter
Frenzied Member
Re: Form becomes a script????? STRANGE !
erm
vs 2003 enterprise ed?
-
May 15th, 2005, 12:44 AM
#12
Lively Member
Re: Form becomes a script????? STRANGE !
I have been getting the same bug since I started developing for PDA's a few months ago. Annoying but at least it doesn't really affect your project
-
May 19th, 2005, 04:02 AM
#13
Thread Starter
Frenzied Member
Re: Form becomes a script????? STRANGE !
Strange though,.....
wicked ways of the pda
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|