borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (AI Project)Next Topic (VB and .NET) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : implementing an access database into VB without access :D Solved Topic
Poster Message
fraggle
Level: Trainee

Registered: 30-12-2005
Posts: 2

icon implementing an access database into VB without access :D

hello ill try to explain as easily as i can, me and a couple of friends are making a game in VB.net now its a hacking simulation abit like darksigns and UPLINK. and unlike darksigns we dont want to store information in text documents, [things like ips and such] we want to put them all into an access database and implement this into the VB program when its compiled, so when playing the game, it grabs the data from the database without opening access, and we just wondered if this was possable?

thanks for any help ~*fraggle  

____________________________
<::*FRaGGLE*::>

30-12-2005 at 11:10 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
xtramac
Level: Professor


Registered: 28-08-2005
Posts: 89
icon Re: implementing an access database into VB without access :D

hello..

a methaphor... can you take whats inside a bottle when the bottle is closed?

i am not sure if there's a way since you have to establish a valid connection to a database before you can get anything from it. and you have to open that connection.

good luck...!!!

andrew

02-01-2006 at 07:13 AM
View Profile Send Email to User Show All Posts | Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 536
icon Re: implementing an access database into VB without access :D

Hi fraggle,
If I understand your question correctly your aim is to get to data that is saved in a MS Access database, but you do not want to open "Access" to get at it. It is important to realise that there is a distinction between an Access "Database" and the actual Access program. An Access Database is just a file with "Tables" in it that store the data. The Access "Program" is an application that you can use to retrieve the data from those tables, and then design user Forms and Reports in which to manipulate and display the data. However, you do not have to use the Access Program to do that, you can use any programming application you want, such as VB6, ASP, C++, or in your case - VB.NET. To use these applications you need a "Data Provider" which acts as a sort of bridge between your application and the database. For VB.NET you use ADO.NET (ActiveX Data Objects)
To find out about Data Access in .NET take a look at
http://www.msdn.microsoft.com/vbasic/learning/data/
Hope that helps.


____________________________
multi-tasking - the ability to hang more than one app. at the same time.

05-01-2006 at 08:30 AM
View Profile Send Email to User Show All Posts | Quote Reply
fraggle
Level: Trainee

Registered: 30-12-2005
Posts: 2
icon Re: implementing an access database into VB without access :D

ello thanks for u help guys been a big help for us *Frags

____________________________
<::*FRaGGLE*::>

05-01-2006 at 10:08 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB.Net : implementing an access database into VB without access :D Solved Topic
Previous Topic (AI Project)Next Topic (VB and .NET) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder