Guest WatchTheRoad Posted February 10, 2004 Posted February 10, 2004 hi, im new here and to VB.net. I am trying to make a phone book program that calls in names and numbers from an access(.mdb) file. if you could just give me the piece of code(if there is a way) that lets you get data from a seperate file instead of hard coding phone numbers. thanks
mossoi Posted February 10, 2004 Posted February 10, 2004 You need to set up an ODBC on your system code a connection string into your VB page to reference the mdb. It's not something that is easily copied and pasted from one app to the next. Try a quick google search there are hundreds of sites explaining how to do this. Although if it's just for phone numbers it might be worth looking into XML rather than using a db - this makes your data useable by many different applications and devices including some mobile phones.
Guest WatchTheRoad Posted February 10, 2004 Posted February 10, 2004 thanks for the info, thats really what i needed just a basis of what to search for on google. I think ill try xml, thanks again.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now