473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 4949
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_newsgroups" <ro********@yahoo.comwrote in message
news:11**********************@19g2000hsx.googlegro ups.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**************@TK2MSFTNGP06.phx.gbl...
>I still dont get it

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:11**********************@19g2000hsx.googlegro ups.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_newsgroups" <rowe_em...@yahoo.comwrote in message

news:11**********************@19g2000hsx.googlegro ups.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_newsgroups" <ro********@yahoo.comwrote in message
news:11**********************@r29g2000hsg.googlegr oups.com...
On Oct 9, 9:45 pm, "Edwin Martinez" <edwin.marti...@gmail.comwrote:
>I still dont get it

"rowe_newsgroups" <rowe_em...@yahoo.comwrote in message

news:11**********************@19g2000hsx.googlegr oups.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_newsgroups" <rowe_em...@yahoo.comwrote in message

news:11**********************@r29g2000hsg.googlegr oups.com...
On Oct 9, 9:45 pm, "Edwin Martinez" <edwin.marti...@gmail.comwrote:
I still dont get it
"rowe_newsgroups" <rowe_em...@yahoo.comwrote in message
>news:11**********************@19g2000hsx.googlegr oups.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
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...
8
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...
8
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...
2
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...
2
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...
2
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...
38
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...
27
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...
8
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.