Home All Groups Group Topic Archive Search About
Author
17 Oct 2006 11:31 PM
Dennis
I am thinking of getting VB2005 to replace my VB2003 but don't like the idea
of having two files for one form (I have enough files on my computer as it
is).  Is there any way to have VB2005 act like VB2003 and keep the form in
one .vb file?
--
Dennis in Houston

Author
18 Oct 2006 1:16 AM
Dylan Copeland
Mr. Dennis,

   Having two files for a form isn't that big of a deal. Each file
corosponding with a project is stored in the projects folder. I would suggest
upgrading to .NET 2005 becuase of the new features. Don't stay outdated
becuase of something that small.
---------------
-Dylan Copeland
http://www.dc-studios.net
http://www.vbdotnetforum.com


Show quoteHide quote
"Dennis" wrote:

> I am thinking of getting VB2005 to replace my VB2003 but don't like the idea
> of having two files for one form (I have enough files on my computer as it
> is).  Is there any way to have VB2005 act like VB2003 and keep the form in
> one .vb file?
> --
> Dennis in Houston
Author
18 Oct 2006 11:37 PM
Dennis
Thanks for reply.  I just don't see a major problem with keeping just one
file since all the display code can be shrunk to one line.  Anyway, I got
another answer saying I can in fact use only one file.  I think I'll upgrade
WHEN SP1 comes out.
--
Dennis in Houston


Show quoteHide quote
"Dylan Copeland" wrote:

> Mr. Dennis,
>
>    Having two files for a form isn't that big of a deal. Each file
> corosponding with a project is stored in the projects folder. I would suggest
> upgrading to .NET 2005 becuase of the new features. Don't stay outdated
> becuase of something that small.
> ---------------
> -Dylan Copeland
> http://www.dc-studios.net
> http://www.vbdotnetforum.com
>
>
> "Dennis" wrote:
>
> > I am thinking of getting VB2005 to replace my VB2003 but don't like the idea
> > of having two files for one form (I have enough files on my computer as it
> > is).  Is there any way to have VB2005 act like VB2003 and keep the form in
> > one .vb file?
> > --
> > Dennis in Houston
Author
18 Oct 2006 12:06 PM
Stuart Nathan
You can put all the code in one vb file.
Author
18 Oct 2006 1:10 PM
Michael D. Ober
The two file split actually allows you to keep the display code in one file
and the business logic in the "code-behind" file.  Don't worry about the
number of files on your system (for this reason at least).

Mike Ober.

Show quoteHide quote
"Stuart Nathan" <stuart.nat***@homecall.co.uk> wrote in message
news:OQxbr3q8GHA.3396@TK2MSFTNGP04.phx.gbl...
> You can put all the code in one vb file.
>
Author
18 Oct 2006 11:23 PM
Dennis
Thanks for reply..do I have to do this manually each time I start a new form
or is there an option in the IDE enviornment that I can set to keep the files
together?
--
Dennis in Houston


Show quoteHide quote
"Stuart Nathan" wrote:

> You can put all the code in one vb file.
>
>
>