Linking childform to Main Form in VB6

C

Comteck

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
 
C

Cor Ligthert [MVP]

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
 
C

Comteck

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
 
C

Cor Ligthert [MVP]

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/library/b4z62wxz(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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top