469,573 Members | 1,658 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

VB2005 - Split Files

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
Oct 17 '06 #1
5 1407
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
Oct 18 '06 #2
You can put all the code in one vb file.
Oct 18 '06 #3
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.

"Stuart Nathan" <st***********@homecall.co.ukwrote in message
news:OQ**************@TK2MSFTNGP04.phx.gbl...
You can put all the code in one vb file.

Oct 18 '06 #4
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
"Stuart Nathan" wrote:
You can put all the code in one vb file.
Oct 18 '06 #5
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
"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
Oct 18 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by gene kelley | last post: by
9 posts views Thread by bz | last post: by
15 posts views Thread by Galen Somerville | last post: by
92 posts views Thread by =?Utf-8?B?bW9iaWxlbW9iaWxl?= | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.