| | |
USB(flash drive) to COMPUTER
![]() |
u mean the program can be run when your usb connect to computer?
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
specify more friend..
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Nov 2007
Posts: 140
Reputation:
Solved Threads: 15
I've just done some testing on the laptop (running Vista) and have found that an autorun.inf kind of works in that it pops up the "AutoPlay" dialog (which usually gives you options to choose from - whether to load music into WMP, pictures into the picture viewer or just to go to explorer and view the contents) except after lumping in an autorun.inf (I'll enter this file's contents below), I only have 2 options... one to open the exe referenced in the autorun.inf and the other to go to windows explorer and view the drive contents.
for info, I have a folder named "apps" on my usb flash key with test_app.exe inside of it but you'd just need to change the items to your own settings.
I have had problems getting it to work on an old PC of mine at home, so I suppose its a case of trial and error...
•
•
•
•
[autorun]
icon=icon.ico
open=apps\test_app.exe
I have had problems getting it to work on an old PC of mine at home, so I suppose its a case of trial and error...
Last edited by jonifen; Jan 28th, 2008 at 7:59 am.
•
•
•
•
what is test_app.exe>?
if you want the program copied their self to new pc, you must added function to copy their self in your program...
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Nov 2007
Posts: 140
Reputation:
Solved Threads: 15
•
•
•
•
what is test_app.exe>?
it's like a virus behavior that will the usb from computer and autorun the file i want and save to computer and run
As Jx_Man said, you could add the functionality to your application which will make it copy itself to the computer. Alternatively, you could possibly call a batch file or a small VB project which copies a file from the USB key onto the computer using FSO and then run it that way...
![]() |
Similar Threads
- Can't double-click on drive C in My Computer (Windows NT / 2000 / XP)
- "Insert Disk" message received when accessing USB flash drive (Viruses, Spyware and other Nasties)
- Please Help. USB Flash drive problem. (USB Devices and other Peripherals)
- can i recover cutted files in flash drive? (Windows NT / 2000 / XP)
- USB Flash Drive not Recognized. (USB Devices and other Peripherals)
- Preventing Execution of standalone EXEs from Flash Drive (Network Security)
- How do I get drivers into a computer that has no floppy drive or cdrom drive? (Windows 95 / 98 / Me)
- The Biometric Computer the size of Your Finger (Cellphones, PDAs and Handheld Devices)
- Viewing flash drive contents in RedHat 9 (*nix Hardware Configuration)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: inputting only characters in a text box
- Next Thread: Visual Basic Application installable
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






