473,387 Members | 1,542 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,387 software developers and data experts.

Linking childform to Main Form in VB6

I am quite proficient at programming Visual Basic for Microsoft Access. I
am currently learning Visual Basic 6, and would like to be able to take my
database files from Access, and re-write them in VB 6.

One database program that I wrote had a subform in one of the forms. I was
able to link the subform to the form simply by going into the properties
and setting the subform as a child form of the main parent form.

In VB 6, I can't seem to get this to work. Is there a way to create a
subform, or a grid in VB 6 that can be linked to the main form? Any help
would be appreciated.

If you are responding via e-mail, please remove the "xx" from comteckxx.

thanks in advance.

Comteck
Jun 13 '06 #1
3 3858
Comteck,

Five things,

First
Please don't solicit for email in a newsgroup. We are trying to learn from
each other, this is not a helpdesk for that you can go to the regular
Microsoft Support centre.

Secondly why are you trying to upgrade to a Visual Basic version which is
already the 4th version in past.

Third be aware that you can not get *easy* the same results using Visual
Basic as with MS-Access. MS-Access is a tool inside pre defined
possibilities. Therefore some things are very easy to do with it, others
just cannot be done.

Fourth
In a little bit other way is what you ask easily to do (if you know how)
with VBNet 2005, you even don't have write one line of code for that
(assuming that the relations are set in the database).

Five
The best thing you can do is in my idea go to MSDN and get from this the
tools
VBNet Express
SQLServer Express

http://msdn.microsoft.com/vstudio/express/

They are still free to get.

I hope this helps,

Cor
"Comteck" <co*******@telus.net> schreef in bericht
news:Xn*********************************@198.80.55 .250...
I am quite proficient at programming Visual Basic for Microsoft Access. I
am currently learning Visual Basic 6, and would like to be able to take my
database files from Access, and re-write them in VB 6.

One database program that I wrote had a subform in one of the forms. I
was
able to link the subform to the form simply by going into the properties
and setting the subform as a child form of the main parent form.

In VB 6, I can't seem to get this to work. Is there a way to create a
subform, or a grid in VB 6 that can be linked to the main form? Any help
would be appreciated.

If you are responding via e-mail, please remove the "xx" from comteckxx.

thanks in advance.

Comteck

Jun 13 '06 #2
Thanks for your help. I already have Visual Basic 2005 Express Edition.
Am I correct in saying that is the same thing as VBNET Express?

As well, what is the difference between "VB 2005 Express Edition" and
"VB 2005 Pro Edition"? I know there are probably some major differences
due to the price you pay for the pro edition. But, am I able to create
full fledge programs/databases with the express edition?

One last question... where can I find a good tutorial for VB 2005
Express edition?

Thanks again.

Comteck
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in
news:uC**************@TK2MSFTNGP05.phx.gbl:
Comteck,

Five things,

First
Please don't solicit for email in a newsgroup. We are trying to learn
from each other, this is not a helpdesk for that you can go to the
regular Microsoft Support centre.

Secondly why are you trying to upgrade to a Visual Basic version which
is already the 4th version in past.

Third be aware that you can not get *easy* the same results using
Visual Basic as with MS-Access. MS-Access is a tool inside pre defined
possibilities. Therefore some things are very easy to do with it,
others just cannot be done.

Fourth
In a little bit other way is what you ask easily to do (if you know
how) with VBNet 2005, you even don't have write one line of code for
that (assuming that the relations are set in the database).

Five
The best thing you can do is in my idea go to MSDN and get from this
the tools
VBNet Express
SQLServer Express

http://msdn.microsoft.com/vstudio/express/

They are still free to get.

I hope this helps,

Cor

Jun 14 '06 #3
Comteck,

These questions are all to find on MSDN and/of MSDN2, I don't know if you
know those pages.
(Searching is troubleful so if you don't find it, than feel free to ask
here)

http://msdn2.microsoft.com/en-us/lib...xz(VS.80).aspx

Free Book - Introducing Visual Basic 2005 for Developers

I won't say it is the best, I do not read tutorials for this.

I hope this helps,

Cor

"Comteck" <co*******@telusxx.net> schreef in bericht
news:Xn********************************@199.185.22 3.74...
Thanks for your help. I already have Visual Basic 2005 Express Edition.
Am I correct in saying that is the same thing as VBNET Express?

As well, what is the difference between "VB 2005 Express Edition" and
"VB 2005 Pro Edition"? I know there are probably some major differences
due to the price you pay for the pro edition. But, am I able to create
full fledge programs/databases with the express edition?

One last question... where can I find a good tutorial for VB 2005
Express edition?

Thanks again.

Comteck
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in
news:uC**************@TK2MSFTNGP05.phx.gbl:
Comteck,

Five things,

First
Please don't solicit for email in a newsgroup. We are trying to learn
from each other, this is not a helpdesk for that you can go to the
regular Microsoft Support centre.

Secondly why are you trying to upgrade to a Visual Basic version which
is already the 4th version in past.

Third be aware that you can not get *easy* the same results using
Visual Basic as with MS-Access. MS-Access is a tool inside pre defined
possibilities. Therefore some things are very easy to do with it,
others just cannot be done.

Fourth
In a little bit other way is what you ask easily to do (if you know
how) with VBNet 2005, you even don't have write one line of code for
that (assuming that the relations are set in the database).

Five
The best thing you can do is in my idea go to MSDN and get from this
the tools
VBNet Express
SQLServer Express

http://msdn.microsoft.com/vstudio/express/

They are still free to get.

I hope this helps,

Cor

Jun 14 '06 #4

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

Similar topics

7
by: Steven T. Hatton | last post by:
Is there anything that gives a good description of how source code is converted into a translation unit, then object code, and then linked. I'm particularly interested in understanding why putting...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
6
by: andreas | last post by:
I can open several childforms with the following sub in de mdi form after clicking a button Private Sub NewWindow() Dim ch As New ChildForm() ch.MdiParent = Me ch.Text = "Textwindow nr " &...
2
by: andreas | last post by:
I have a program with a mdiform and same childforms (with a textbox) that i open. All works fine. In the childform i open another form (for finding and replacing). In a sub in that form i try to...
1
by: Rich | last post by:
Hello, I have a child form in a parent MDI form. The childform is being shrunk and cannot be resized when screen resolution is 800x600. The end user who uses my app cannot see stuff on the...
3
by: TonyJH226 | last post by:
I’m using Access 2003 and am a novice to Access. I am creating a form to facilitate data entry to seven tables. The main table (A) has four sub-tables that are related to the main table by...
3
by: Robert McEuen | last post by:
Using A2K3, Windows XP I'm handling a many-to-many relationship with a linking table structure as follows (irrelevant fields omitted): tblIssue PK_IssueID (autonumber, primary key) IssueName...
2
by: rlamber | last post by:
Hello, I have 2 subforms in a Main form, one links fine, the other doesn't. I am trying to link them both to a "tracking ID" on the main form. The Tracking ID is a text field that is a combination...
0
by: thesti | last post by:
hello, i have some labels in my MDIParent form, they are greeting labels for the logged in user. when i open a childform, the labels cover the opened childform, while actually i expect that the...
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: 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:
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...

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.