473,804 Members | 2,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Create Access Like Subforms vb2005 express

Hello I have a parent form but I want to create 4 forms that will be shown
in a area inside the parent form when I click to buttons.

+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+
Visual Basic 2005 Express
Thanks,
Edwin
Oct 9 '07 #1
7 4985
On Oct 8, 8:43 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
Hello I have a parent form but I want to create 4 forms that will be shown
in a area inside the parent form when I click to buttons.

+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+

Visual Basic 2005 Express

Thanks,

Edwin
Well, you could use the WPF Expander control....

--
Tom Shelton

Oct 9 '07 #2
On Oct 8, 10:43 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
Hello I have a parent form but I want to create 4 forms that will be shown
in a area inside the parent form when I click to buttons.

+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+

Visual Basic 2005 Express

Thanks,

Edwin
Look up UserControls.

Thanks,

Seth Rowe

Oct 9 '07 #3
I still dont get it

"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:11******** **************@ 19g2000hsx.goog legroups.com...
On Oct 8, 10:43 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
>Hello I have a parent form but I want to create 4 forms that will be
shown
in a area inside the parent form when I click to buttons.

+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+

Visual Basic 2005 Express

Thanks,

Edwin

Look up UserControls.

Thanks,

Seth Rowe

Oct 10 '07 #4
In HELP, search for "Child Forms" and you will find several examples,
including this one:

http://msdn2.microsoft.com/en-us/lib...29(VS.71).aspx

There are several other examples there as well.
Hope it helps.
james

"Edwin Martinez" <ed************ @gmail.comwrote in message
news:eN******** ******@TK2MSFTN GP06.phx.gbl...
>I still dont get it

"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:11******** **************@ 19g2000hsx.goog legroups.com...
>On Oct 8, 10:43 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
>>Hello I have a parent form but I want to create 4 forms that will be
shown
in a area inside the parent form when I click to buttons.

+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+

Visual Basic 2005 Express

Thanks,

Edwin

Look up UserControls.

Thanks,

Seth Rowe


Oct 10 '07 #5
On Oct 9, 9:45 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
I still dont get it

"rowe_newsgroup s" <rowe_em...@yah oo.comwrote in message

news:11******** **************@ 19g2000hsx.goog legroups.com...
On Oct 8, 10:43 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
Hello I have a parent form but I want to create 4 forms that will be
shown
in a area inside the parent form when I click to buttons.
+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+
Visual Basic 2005 Express
Thanks,
Edwin
Look up UserControls.
Thanks,
Seth Rowe
Maybe I've misunderstood you. Are you trying to simulate the embedded
subforms that are available in Access, or are you simply trying to
create an MDI application (such as Word, Excel, Access)? There are two
very different answers for these two very different scenarios.

Thanks,

Seth Rowe

Oct 10 '07 #6
Yes what I am trying to do its to simulate the embedded subforms that are
available in Access.

"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:11******** **************@ r29g2000hsg.goo glegroups.com.. .
On Oct 9, 9:45 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
>I still dont get it

"rowe_newsgrou ps" <rowe_em...@yah oo.comwrote in message

news:11******* *************** @19g2000hsx.goo glegroups.com.. .
On Oct 8, 10:43 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
Hello I have a parent form but I want to create 4 forms that will be
shown
in a area inside the parent form when I click to buttons.
>+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+
>Visual Basic 2005 Express
>Thanks,
>Edwin
Look up UserControls.
Thanks,
Seth Rowe

Maybe I've misunderstood you. Are you trying to simulate the embedded
subforms that are available in Access, or are you simply trying to
create an MDI application (such as Word, Excel, Access)? There are two
very different answers for these two very different scenarios.

Thanks,

Seth Rowe

Oct 10 '07 #7
On Oct 10, 7:04 am, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
Yes what I am trying to do its to simulate the embedded subforms that are
available in Access.

"rowe_newsgroup s" <rowe_em...@yah oo.comwrote in message

news:11******** **************@ r29g2000hsg.goo glegroups.com.. .
On Oct 9, 9:45 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
I still dont get it
"rowe_newsgroup s" <rowe_em...@yah oo.comwrote in message
>news:11******* *************** @19g2000hsx.goo glegroups.com.. .
On Oct 8, 10:43 pm, "Edwin Martinez" <edwin.marti... @gmail.comwrote :
Hello I have a parent form but I want to create 4 forms that will be
shown
in a area inside the parent form when I click to buttons.
+----------------------------+
| Parent Form |
| |
| -------------------- |
| | subform | |
| | | |
| | | |
| -------------------- |
+----------------------------+
Visual Basic 2005 Express
Thanks,
Edwin
Look up UserControls.
Thanks,
Seth Rowe
Maybe I've misunderstood you. Are you trying to simulate the embedded
subforms that are available in Access, or are you simply trying to
create an MDI application (such as Word, Excel, Access)? There are two
very different answers for these two very different scenarios.
Thanks,
Seth Rowe
Alright, UserControls are basically used to drop related controls into
a container for encapsulation and reuse. For a simple example, suppose
you had multiple parts of a program (or multiple programs) that
required the use to list the path of a text file. For this you would
need a Label, a TextBox, a Button, and an OpenFileDialog. Instead of
dropping all the parts multiple times into each form, you could put
all of them into a UserControl and code in all the necessary behavior
(such as the Button opening the OpenFileDialog and putting the
filepath in the TextBox). Then you would just need to drop the
UserControl into each form. In essence, UserControls act like mini-
forms. They act the same in the designer and (mostly) at runtime, with
the only major difference being that UserControls are not self
sustaining in that they must be placed in a parent object (such as a
form).

Does that explain UserControls a bit better?

Thanks,

Seth Rowe

Oct 10 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3711
by: Chris Devol | last post by:
My dial-up connection sometimes hangs up and has to re-connect. The VB2005 installer/downloader apparently doesn't know how to resume when the connection is re-established. It just aborts! I've wasted many hours on this. Can the whole package be obtained at once with a "smart" download manager instead of having to use the VB2005 installer????? --
8
1327
by: Noozer | last post by:
Just visited the Visual Studio 2005 page on MS's MSDN site. I didn't see a mention of a release date. Any idea when we can expect to have a "for production" version available? Also, about VB2005 Express... Can this be used to build and distribute stand alone applications? I really like the idea of having the stand alone development packages (VB, SQL, WebDev) instead of one monothilic development package. Of course I remember when...
8
7949
by: J.S. | last post by:
I was under the impression that frames could be used in Windows forms in earlier version of VB. However, in VB 2005 Express I don't see any such tool/control. Is SplitContainer used for this purpose in VB 2005? I want to create a frame in a Windows form because I'd like button clicks on the left side of the form to change the form elements shown in the right side of the form. Would each of the buttons on the left require a...
2
1320
by: Jerry Spence1 | last post by:
1. Is there a more suitable, dedicated newsfeed for VB2005 yet? 2. I'm confused as to which version to get. I work for a small company and we will just need VB2005 on my PC. Therefore that tends to suggest the express version, but I write some pretty complicated stuff (including SQLServer transactions, network programming etc) and I am wondering what is missing from the Express version in terms of components, functionality etc. I don't...
2
1524
by: saroxonline76 | last post by:
Dear all, I installed Visual Basic 2005 Express and SqlServer Express. I tried some features of both of them but I'm not able to connect a databse through a network. To explain, I have two computer in the same work group. In one of them I have installed SqlServer Express and the other one works as client, i mean, i want to develop a software able to connect to the first one and make operation with the database. Using the "DataSource...
2
1611
by: Omar Abid | last post by:
Hi, This the best site where you can find Hi members, We are happy to tell that if you search for : jobs with high wage or to debug a program or to find a good source code and to make a good design 4 your apps our group is the best to help u just subscribe to :VB2005 EXPRESS at http://groups.google.com/group/vb2005 OMAR ABID GROUP MANAGER
38
1966
by: kavsak | last post by:
Hi. Not sure that this is the right place to ask but here goes. I have an application based on access97 and VB6 which I need to upgrade. It has to handle up to 20 concurrent users on a Win2k network ( to be upgraded to XP next year) which has no connection to the outside world, but normally there are no more than 2. It has approximately 150 tables with complicated validation rules and a large amount of calculation. I want to rewrite it...
27
3802
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB updates the same data in all other four tables in the right places. I know it would be possible by using the ForeignKeyConstraint object. I have created the tables using the DataSet Visual Tool and I know it doesn't create any ForeignKeyConstraint obj....
8
1513
by: vbDavidC | last post by:
I am wondering if I should use MS Access or SQL server as my database. I have a little experience programming an Access DB with VB6 (DAO/ADO). I am now starting over with VB2005 and will be doing some DB development. I assumed that I would stay with Access but noticed that there is some type of SQL server that comes with Visual Studio 2005 and also in the Express editions as well. I am using this in a single user environment on a PC...
0
9594
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,...
1
10347
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
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
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
7635
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
6863
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
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.