954,558 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Hi all... may sum 1 help me with VB6

Hi there...

may sum1 help me... i need to know how to open Access data base from VB6???

THANKS

GENERAL GUEVARA
Newbie Poster
3 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

do you mean just open access and load the database?

or do you mean load the database into your vb application?

what do you want to do with it?

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

I'm assuming you mean one the database in your VB app and do something with it. Check this out: Visual Basic Database Guide . That should get you started in your database development.

mjwest10
Light Poster
27 posts since Feb 2007
Reputation Points: 10
Solved Threads: 3
 

First thank u for asking...

... i have an VB
Application which I just start doing it… so I just did the FORMS and sum commands, but I need to make my application to load the DATA from access (which I had never do it before) all I know is how to make application by VB6 … as a fact I don’t have any idea how to load or connect access with VB6.
so please if you can tell me the code to connect from access and if there's other codes to load from access!

I know it looks bad but I hope if I can do it!!
Thank you again

GENERAL GUEVARA
Newbie Poster
3 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

you drag on the data control from the toolbox and set its connect property to Access and its DatabaseName property to the path of your database - set its Record Source to the table in question.

this laods the database and gives yousome navigation buttons


to see the data draw on a flexgrid and set its DataSource to the name of the data control you just made

have included example project (zipped)

Attachments Form1.zip (1.58KB)
jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

Hi there..

i need some help please...on VB6

I'm on a project on VB6 but theirs something not right in my coding…

Here is what am trying to do…on my app

I need to set a PW which can be upgraded (change PW)

So I makes 3 texts and a button in the form

[Coding]:

I set (Dim x, y, g As String) values

Txt1:"Old PASSWORD"
Txt2:"New PASSWORD"
Txt3:"REPET NEW PW"
{{The old PW "123"}}

……………………… how can I do it and the user can change his PW daily

GENERAL GUEVARA
Newbie Poster
3 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

You should check out the sticky post at the top of this forum: http://www.daniweb.com/techtalkforums/thread41057.html , that will give you a good foot hold on dealing with databases from within VB

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You