PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
VB2005 - Split Files
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
VB2005 - Split Files
![]() |
VB2005 - Split Files |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
You can put all the code in one vb file.
|
|
|
|
#4 |
|
Guest
Posts: n/a
|
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" <stuart.nathan@homecall.co.uk> wrote in message news:OQxbr3q8GHA.3396@TK2MSFTNGP04.phx.gbl... > You can put all the code in one vb file. > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
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. > > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
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 |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

