Results 1 to 9 of 9

Thread: Establish PC and calibration device via USB

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    5

    Establish PC and calibration device via USB

    Hi, I am using VB6 and I would like to know how I can establish PC and a calibration device via USB. Anyone how have any idea please message me. I would like to know the VB codes for it. Thank you.

    My email is Removed By Mod
    Last edited by Hack; Jan 25th, 2010 at 06:48 AM. Reason: Removed EMail Address

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Establish PC and calibration device via USB

    Split into its own thread

    Welcome to the forums.

    I have edited your post and removed your email address.

    You should never post your email address in an open post on an open forum. Mail spam bots can pick that up and before you know it, your mailbox is full of junk mail. If you wish to share your email address with other forum members, please do so via our PM system.

    But even more importantly than that, we prefer all answers to questions be publically posted rather than sent via EMail or PM. That way, everyone with a similar problem can benefit.

    Thanks.

    What do you mean by: establish PC and a calibration device via USB - what does "establish" mean?

  3. #3
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Establish PC and calibration device via USB

    vb6 can not communicate to usb device unless the usb device is already recognised by windows, or the manufacturer provides specific software to do so
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    5

    Re: Establish PC and calibration device via USB

    So what do you suggest so that I can resolved this problem? Thank you.

  5. #5
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: Establish PC and calibration device via USB

    Quote Originally Posted by Zhenguo View Post
    So what do you suggest so that I can resolved this problem? Thank you.
    Contact the manufacturer and inquire about a SDK. A SDK is a set of instructions for developers that want to write code for their product.
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  6. #6

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    5

    Re: Establish PC and calibration device via USB

    Quote Originally Posted by CDRIVE View Post
    Contact the manufacturer and inquire about a SDK. A SDK is a set of instructions for developers that want to write code for their product.
    CDRIVE thanks for your advice.

    If I would like to do a simple application to communicate with my external hard disk, how can I go about to write the code? Thks..

  7. #7
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Establish PC and calibration device via USB

    an external (usb) hard disk is just a disk drive to vb, you can read write any files, same as you can to the internal hard disk, just supply full path including drive letter
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  8. #8
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: Establish PC and calibration device via USB

    Quote Originally Posted by Zhenguo View Post
    CDRIVE thanks for your advice.

    If I would like to do a simple application to communicate with my external hard disk, how can I go about to write the code? Thks..
    As WC said you don't need anything special to communicate with a USB HD but that's not what your first post stated. Your first post stated that it's a USB Calibration device.
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  9. #9

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    5

    Re: Establish PC and calibration device via USB

    Thanks for all your inputs..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width