473,569 Members | 2,762 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3869
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*******@telu s.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******** ******@TK2MSFTN GP05.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*******@telu sxx.net> schreef in bericht
news:Xn******** *************** *********@199.1 85.223.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******** ******@TK2MSFTN GP05.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
5087
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 normal functions in header files results in multiple definition errors even when include guards are used. -- STH Hatton's Law: "There is only...
11
4508
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 database,just help in getting me pointed in the right direction. I have a database with 8 tables, which from what I have read, cannot be linked...
6
1591
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 " & Me.MdiChildren.Length.ToString ch.Show()
2
1910
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 write there mdiform.activechildform.textbox.text but that fails because activechildform should not be a member of mdiform. I don't see why. The...
1
2705
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 screen too well if the resolution is smaller than 800x600 (why did it have to be my app?) Yes, I know, get a bigger screen - $$. Management is on it...
3
3170
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 one-to-one relationships. A fifth sub-table (B) has a one-to-many relationship to Table A and serves as a bridge to another table (C) also with a...
3
2234
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 (text) tblArea
2
6940
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 of an auto-number and an Alpha expression. The subform that links fine is a comments form (continuous form with just date field and memo box) and the...
0
1220
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 labels will be covered by the childform. can i bring the childform to front, or is there any way to get the labels covered by the childform? ...
0
7609
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...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
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...
0
7964
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...
1
5504
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...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
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
0
936
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...

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.