Click here to Skip to main content
13,589,923 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
hey , i want to make bill of a product when it is scanned from a usb barcode scanner using windows form in .net C# ? i dont know how to do this .. plz guide me
can anyone help me out how to do this step by step or just guide me , its neither a project nor assignment.. i just want to do it for my own cosmetic store ??
Posted 14-Oct-13 2:45am
Updated 13-Dec-17 3:43am
Comments
Thanks7872 14-Oct-13 8:52am
   
No one here will guide you step by step. You have google for it. If you have specific error or issue in code that you are unable to solve after many efforts,post it here.
SaadZulfiqar 14-Oct-13 9:09am
   
Got it Sir .. i have no idea about the rules here .. apologises!!

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

For barcode scanner you don't have to write any code. It is an inbuilt functionality of the barcode scanner that when you scan the item, it will write scanned code on the cursor's position.

For example : On your page load, if default focus has been set to the some particular textbox and when you scan the code, it will write scanned code on that text box and based on scanned code you can retrieve price and all those information of the scanned item.

Regards,
CodeBlack
  Permalink  
v2
Comments
SaadZulfiqar 14-Oct-13 9:08am
   
hmm thanks .. if u plz help me more ... for this purpose do i have to maintain data bases of the products i have been dealing with in my store ,, and when i m done with data in my windows form textbox ... than its all about searching in data base and making bill .. means if two products price of that product realted to that particuar barcode in text box * 2 ??
CodeBlack 14-Oct-13 9:11am
   
can you please explain more with example ?
SaadZulfiqar 14-Oct-13 9:17am
   
Simple , see i want to computerise all purchases and sales for my store.. for example i am buying a shampoo bottle , what i want is to make its bill using barcode scanner .., do i have to store the details of shampoo in my data base say SQL i.e, its price per unit , vendor name , total quantity ... and now when i m to sale it ... now what ??
CodeBlack 14-Oct-13 9:25am
   
for generating bills you don't have to store it in database. Just write the code which can retrieve the price of scanned item, vendor name and accept quantity from user (this can be manual process by user. so user has to enter quantity manually) and generate report and print that report.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web04-2016 | 2.8.180618.1 | Last Updated 13 Dec 2017
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100