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?
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
Re: Form becomes a script????? STRANGE !
I have done that????
and it does not work?!?!?
Re: Form becomes a script????? STRANGE !
I have done that????
and it does not work?!?!?
Re: Form becomes a script????? STRANGE !
that always fixed the problem for me when i went build -> rebuild projname
:sick:
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?
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
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.
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....
Re: Form becomes a script????? STRANGE !
What version of VS? I have never had that happen.
Re: Form becomes a script????? STRANGE !
erm
vs 2003 enterprise ed?
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 ;)
Re: Form becomes a script????? STRANGE !
Strange though,.....
wicked ways of the pda