|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB2005 - Split FilesI 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 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 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. -- Show quoteHide quoteDennis 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 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. > 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? -- Show quoteHide quoteDennis in Houston "Stuart Nathan" wrote: > You can put all the code in one vb file. > > >
Recognizing if SQL Server is installed (and what version)
Q: Advice on threads open source .NET search engine? Bootstrapping .NET 2.0 DateTime Field Dispose problem/crash with maximized MDI child windows Visual Basic Programming - Reference to fpPublishLogInTempDir uri - ADVANCED question "Start external program" no longer works in VS2003 once 2.0 framework installed Uninstall a device Split monitor screen into multiple windows |
|||||||||||||||||||||||