PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET VB2005 - Split Files

Reply

VB2005 - Split Files

 
Thread Tools Rate Thread
Old 18-10-2006, 12:31 AM   #1
=?Utf-8?B?RGVubmlz?=
Guest
 
Posts: n/a
Default 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
  Reply With Quote
Old 18-10-2006, 02:16 AM   #2
=?Utf-8?B?RHlsYW4gQ29wZWxhbmQ=?=
Guest
 
Posts: n/a
Default RE: VB2005 - Split Files

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

  Reply With Quote
Old 18-10-2006, 01:06 PM   #3
Stuart Nathan
Guest
 
Posts: n/a
Default Re: VB2005 - Split Files

You can put all the code in one vb file.


  Reply With Quote
Old 18-10-2006, 02:10 PM   #4
Michael D. Ober
Guest
 
Posts: n/a
Default Re: VB2005 - Split Files

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.
>



  Reply With Quote
Old 19-10-2006, 12:23 AM   #5
=?Utf-8?B?RGVubmlz?=
Guest
 
Posts: n/a
Default Re: VB2005 - Split Files

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.
>
>
>

  Reply With Quote
Old 19-10-2006, 12:37 AM   #6
=?Utf-8?B?RGVubmlz?=
Guest
 
Posts: n/a
Default RE: VB2005 - Split Files

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

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off