Thread: How to open a file with string through USB?

  1. #1
    Registered User
    Join Date
    Jun 2011

    How to open a file with string through USB?

    I am trying to open a file ( like a picture) by sending a null terminated string from a micro-controller through a USB to my computer. The only command that I have available to send to the PC is: "_SendString232" or

    uchar _SendString232 (long ptr)

    Is there a program that can get the info from the USB and then open the desired file? Can I write a program ( e.x. in Microsoft Visual Studio or other environment) that gets info from the USB then have that program open a file? Is it possible to send a ShellExecute() command through the USB making windows open a file?


    My computer specs:
    64-bit Dell with Windows 7 OS.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to open a file with string through USB?
    By K.Flynn in forum C Programming
    Replies: 12
    Last Post: 06-29-2011, 07:34 AM
  2. Replies: 3
    Last Post: 03-08-2010, 02:43 PM
  3. trouble using string to open file
    By dougwilliams in forum C Programming
    Replies: 3
    Last Post: 11-25-2007, 06:05 PM
  4. Using a string to open a file..
    By neoragexxx in forum C++ Programming
    Replies: 7
    Last Post: 04-27-2006, 09:41 AM
  5. Replies: 12
    Last Post: 03-10-2005, 07:48 PM

Tags for this Thread