473,769 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1545
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.ukw rote in message
news:OQ******** ******@TK2MSFTN GP04.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1761
by: gene kelley | last post by:
I'm migrating/rewriting one of my VB6 apps to VB2005. In the process, I'm trying to avoid using third party activex controls used in the VB6 project. One of the third party controls in the VB6 app was for menu/toolbars. This control had an option to render the toolbar in an Office 2003 style which is nothing more than a top to bottom gradient. When a new ToolStrip is added to a form, the default appearance of the Toolstrip is that of...
0
892
by: Rich | last post by:
Hello, I created a real simple "hello world!" app in vb2005. I also created a setup app for this app, and it installed on my workstation no problem. Then I uninstalled the app, and instead published it to my webserver on a win2003 server using the publisher wizard. The publishing went OK, and publish.htm came up. I click on the Install button, I get the connecting dialog window, then I get a message that says publisher is unknown do...
9
1239
by: bz | last post by:
the vb.upgrade group is dead. I think I will post this here instead. Hi, I ran the Upgrade Wizard to upgrade my VB6 project to VB2005 Express Edition. I got 140 errors and 170 warnings. One of the error was that it wouldn't load a VB6 control.
15
1974
by: Galen Somerville | last post by:
I have an app using a VB6 ActiveX.dll which I also have made as an exe. Both the dll and exe have exactly the same code and start in Sub Main. There is no form involved. I start this activex as a Process like so: Dim NewProcess As Process = New Process Then I use one of these:
4
5110
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I have to load 30,000 unique names into a combox. Filling a dataTable takes only a few milliseconds. But populating the combobox and displaying the list takes several seconds - way too long. A user selects a name from the combobox and runs a query. Originally, this combox was on a form in an MS Access ADP which was linked directly to our sql server. The combobox populated withins millisecnods. How can I achieve this...
92
3344
by: =?Utf-8?B?bW9iaWxlbW9iaWxl?= | last post by:
I'm trying to load this structure for a call to DeviceIoControl: typedef struct _NDISUIO_QUERY_OID { NDIS_OID Oid; PTCHAR ptcDeviceName; UCHAR Data; } NDISUIO_QUERY_OID, *PNDISUIO_QUERY_OID; I created the equivalent in VB:
1
4439
by: Jeffrey Christiansen | last post by:
I wanted to add a toggle button to a VB2005 form to be used for a simple Windows Application (i.e. compiled to a "*.exe"), so I added the ActiveX Microsoft Forms Object toggle button, however I can't get this button does work properly. The documentation I found in the FM20.CHM files says the button state can be determined from its "Value" property, but the property list shown in VB2005 does not have a "Value" property. How is the button...
2
3167
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, I have Visual Studio 2005 Professional. I have been deploying VB2005 apps using "Click Once" which works great and will add .Net 2.0 framework where needed and adds all prerequisite files, the Report viewer for printing, com references, ... Everything works great! on our intranet. But now I need to add an app to a machine (XP pro) that is not on our intranet. So I need to create a setup/deploy project. My VS2005 does not...
3
1885
by: John Dann | last post by:
We've got a VB2005 program written some time back that we're trying to do some maintenance on still from within VB2005 but now running on a Vista Business PC (which I think may be relevant to the problem). When we go to start up the project from within the VS environment there are several build errors relating to an inability to find the ADOX library. I can't remember without hours of reorientation and checking back whether this was a...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10047
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.