i want to know how do i get a scanner to save the items into a database for an online shopping site
i sort of have an idea but i dont know how it will be integrated into the shopping site\
This is the idea
get items from supplier, scan them into a database (with software or what i dont know) then put them on shopping site then the customers can search for item and it would show up
Separate the two problems. First find out how to scan barcodes, and what the result type is (String, int, byte, ?). Focus on inserting after that. After all, you can scan barcodes and just display the results, and you can insert almost anything into a database. They really are two separate problems that come together in your application.
I've never done it myself, but I know that you can buy barcode scanners which plug into your computer and which work just like a keyboard. So, if you scan a barcode, it enters the digits of the barcode into the computer as if you were typing those digits on a regular keyboard.
So, what you'd have to make is a simple program that reads the digits from the keyboard, and then process the data. You don't need anything special to handle the barcode scanner.
Joined: May 20, 2011
I have seen the barcode scanners that works like a keyboard all we need is the software for it.
So you dont know if there is any program we can buy to use for that because we dont really have the time to make one.
If the scanner acts as if it is a keyboard, you probably don't need any driver or other software for it.
I think Martin is looking for a program to insert the scanned codes into his database. When you have such a scanner, it will work exactly the same as when you would type in the digits of the barcode manually on a normal keyboard. You wouldn't need any special software other than what you're already using to enter the item numbers.
Do you already have software for your online shopping site? If yes, then it most likely has a module to enter product details. There, you'd just scan the barcode instead of manually typing in the product code digits. Or do you want to do more than just enter the barcode digits?
Joined: May 20, 2011
Basically what we want to do with the barcodes thing is we want to check the stock levels of the products
Just to add items whenever they are low so we dont have to type in everything into a database
So if you buy a scanner you will get software for it with the scanner and you can just add it from there into a database