Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. USB mass production each with their own serial number

USB mass production each with their own serial number

Scheduled Pinned Locked Moved Hardware & Devices
databasehardwarehelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hypermommy
    wrote on last edited by
    #1

    We're getting close to being finished with this program I've been writing. Now it's almost time to go to production. For production we need to copy my program and database to a USB stick, pull the next available serial number from an Excel spreadsheet (or another database), open the database on the USB stick and record the serial number there and in the Excel spreadsheet. Simple, simple code, right? Yeah... until we think about the fact that we're going to be mass producing these USB sticks several at a time. I know the first order is for like several hundred so there's definitely not time for someone to sit there and do this one stick at a time. However, I can't imagine that this is something new. There has to be some combination of hardware/software out there that will not only copy the files to the USB stick (we've found several of those) but also allow us to put a unique identifier on each stick. Ideally I'd like to be able to put the serial number in the database but if it's a text file or some other file format that would probably work too as long as I can figure out how to access the number because it has to be something that my program can show the user. Help? Ideas? Thanks!!!

    Denise "Hypermommy" Duggan

    L H 2 Replies Last reply
    0
    • H Hypermommy

      We're getting close to being finished with this program I've been writing. Now it's almost time to go to production. For production we need to copy my program and database to a USB stick, pull the next available serial number from an Excel spreadsheet (or another database), open the database on the USB stick and record the serial number there and in the Excel spreadsheet. Simple, simple code, right? Yeah... until we think about the fact that we're going to be mass producing these USB sticks several at a time. I know the first order is for like several hundred so there's definitely not time for someone to sit there and do this one stick at a time. However, I can't imagine that this is something new. There has to be some combination of hardware/software out there that will not only copy the files to the USB stick (we've found several of those) but also allow us to put a unique identifier on each stick. Ideally I'd like to be able to put the serial number in the database but if it's a text file or some other file format that would probably work too as long as I can figure out how to access the number because it has to be something that my program can show the user. Help? Ideas? Thanks!!!

      Denise "Hypermommy" Duggan

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, two remarks for you: 1. when manufacturing USB sticks with code on them, I gather you buy the USB sticks and somehow put your code on them, so you have to insert them in a PC at some time (unless you are ordering really large quantities and can have the stick manufacturer do this for you). So that is also the time you do your specialization stuff. 2. You should be aware that most, if not all, USB sticks contain a unique ID that is (a) easily accessible from code (WMI), without requiring admin rights, and (b) is unique within each vendor, and very likely to be globally unique. So maybe a better idea is to keep the content of all the sticks identical, and tell them apart by the ID number they already have. :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


      1 Reply Last reply
      0
      • H Hypermommy

        We're getting close to being finished with this program I've been writing. Now it's almost time to go to production. For production we need to copy my program and database to a USB stick, pull the next available serial number from an Excel spreadsheet (or another database), open the database on the USB stick and record the serial number there and in the Excel spreadsheet. Simple, simple code, right? Yeah... until we think about the fact that we're going to be mass producing these USB sticks several at a time. I know the first order is for like several hundred so there's definitely not time for someone to sit there and do this one stick at a time. However, I can't imagine that this is something new. There has to be some combination of hardware/software out there that will not only copy the files to the USB stick (we've found several of those) but also allow us to put a unique identifier on each stick. Ideally I'd like to be able to put the serial number in the database but if it's a text file or some other file format that would probably work too as long as I can figure out how to access the number because it has to be something that my program can show the user. Help? Ideas? Thanks!!!

        Denise "Hypermommy" Duggan

        H Offline
        H Offline
        Hypermommy
        wrote on last edited by
        #3

        We ended up finding a company called NexCopy and according to their salesman they can do what we need to do. They copy stuff over in two stages, apparently. The first stage is the same for every stick that's plugged into the unit and that's when we'd copy over our program. Then they pull information from separate staging files for separate sticks. So stick number 1 would pull additional data from folder #1, stick #2 from folder #2, etc. That's where we'll put our serial number. Thanks all!

        Denise "Hypermommy" Duggan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups