Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-2007, 06:38 AM
martybell martybell is offline
Newbie
 
Join Date: Oct 2007
Posts: 12
Rep Power: 0
martybell is on a distinguished road
Default implementing a simple database

hey i'm looking to create a really simple database in vb to hold an 3 different strings (or maybe some sort of array would be better?)

i just want the user to put a string into an inputbox, then it will send it to the database/array and then i can take the variable from the database easily later

can anyone help? please keep it simple!

marty
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 11-06-2007, 08:12 AM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,348
Rep Power: 66
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

Well you can use a text file too.. if you want. I never experemented with VB and Databases so I don't think I will be able to help you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-06-2007, 08:14 AM
martybell martybell is offline
Newbie
 
Join Date: Oct 2007
Posts: 12
Rep Power: 0
martybell is on a distinguished road
Default

ahh yeah text file would work too, but hard to call a particular item from the text document maybe? rather than taking a string from a certain cell in a database?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-06-2007, 04:25 PM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,348
Rep Power: 66
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

Well will you save multiple strings? you can always make an enter between them and the load the text file into a listbox and lets say if you want the string 'car' and you know that car was stored into the 3rd line, then from the listbox you get the 3rd line and read it. But it is a little bit difficult, although maybe DB is even harder? I don't know.

But here is a very simple way to use databases, I found this on my forum.. I think it may help?

Help Needed !!

The code is attached.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieving Access Database tigger Visual Basic Programming 0 07-06-2007 12:27 AM
Best program for SQL database manipulation Rhadamanthys Database & Database Programming 3 07-02-2007 02:32 PM
Simple MySQL Database Search Jaan PHP Tutorials 1 01-01-2007 10:15 AM
Database backup, with a twist. Chrisms Database & Database Programming 5 09-05-2006 01:17 PM
Database and Database Users DevilsCharm Database & Database Programming 2 08-27-2006 10:22 AM


All times are GMT -5. The time now is 11:24 PM.

Contest Stats

GoogleKeyw ........ 20.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads