Make A Console App. Boot Off Of A Flash Drive On Startup?
Feb 10, 2010
I recently wrote a program to copy files off of a hard drive with a corrupted copy of windows. I'm not sure how to make it run off of my flash drive in dos. I set boot priority to only boot off of the flash drive yet it will not run. I tried writing an autorun.ini file, which did nothing. I think i need to make a boot.ini file.
View 3 Replies
ADVERTISEMENT
May 2, 2011
I'm wondering if you it is possible to make your usb flash drive to be like a key for your vb.net program I can't really put it into word the description of it so I will site an example here's my scenario my program has a textbox where you put the password on it to make the program usable but i want instead of typing on it you insert your flash drive and it will automatically insert the password in the textbox and make the program usable.
[Code]...
View 1 Replies
Jan 30, 2010
share vb.net to read boot sector of drive ? I want to check from boot sector of drive if grldr, ntldr or other named loader exist.
View 4 Replies
Feb 28, 2009
I have an application that should run every time when boot windows(xp/vista). I currently added this app to all programs and startup. How can I do in code. Is the best way to use registry and put the key in HKEY_CURRENT_USERSoftwareMicrosoft Windows CurrentVersion Run. It is very important to start every time when windows start.
View 1 Replies
Feb 23, 2012
How can I import all files within the boot c:\ drive, in listview? it has to be something like a openfiledialog window but then evrything in a list view. I have alredy this in a console aplication but this only load the systemfiles.
[Code]...
View 1 Replies
Sep 29, 2011
USB flash drive or pen drive in vb.net...
View 14 Replies
Nov 15, 2011
how to code an administrator and non-administrator account in VB.net to authenticate a specific user account when mounting his removable device? what will we use, to provide a special key on a specific flash drive?
View 1 Replies
Feb 27, 2007
I am making a program that will allow a user to use any USB flash drive as a key, that when inserted, will automatically (upon validation, of course) enter login and password data into web forms, applications, and maybe even Windows Logon. But first things first: how to I detect when a USB key is inserted into the drive, for instance, perhaps just detect the last/latest inserted drive?
In addition, does anyone know if there is a way to directly identify a flash drive, maybe based on a serial number?, rather than validating it from a file on the device?
View 15 Replies
Dec 10, 2008
My school has this stupid virus and it infects flash drives. I build a program that locates this files and what not and removes it... I guess you can say it's some sort of anti virus.[code]...
View 10 Replies
Feb 4, 2009
Now i want to write code of vb.net to connect with Flash drive and views all files in flash drive
View 3 Replies
Jan 10, 2012
I have a program that I want to copy itself onto a USB flash drive or any other type of drive connected to the computer. Is it as simple as using the File.Copy method? Can I copy my own running exe?Basically I want them to copy it to a memory or external hard drive and then run it there on another computer. I'm not using any special controls and I know the framework will need to be on the computers it is run on.
View 1 Replies
Apr 6, 2010
i wanted to make a software that changes boot screen of vista so i wanted to ask you how can we take ownership of a file in vb.net
with all permissions.the file i am using is winload.exe.mui in vista you should no this file as it contains boot data.
View 7 Replies
Feb 8, 2010
lately, ive had a lot of free time and have been trying to password protect my flash drive in VB 2008. and ive figured out almost everything i want with it, but ive come to a bit of a roadblock. as of right now, ive got 2 accounts, but thats all ive done so far, because every account has like 3 if statements, and it would start to accumulate a bit of i made anymore. so, ive been looking into using a database, and having it retrieve the password and username from there. ive searched for hours, and have found a lot of little bits and pieces of code, but nothing that would work for my situation. Will somebody tell me how i would:
1: make sure that the password and username match in the database when i click the confirm button
2: add a new username and password to a database when they want to make their own account
3: save changes to the database when i log out and move to another computer
also, is there a simple way to log the date, time, IP address, and Username, put it in a text file, and email it to me? i would also like to know how to open a flash drive using its name, and not its letter, cause its a different drive letter on different computers.
View 15 Replies
Mar 18, 2004
I am trying to write an application which will have different functions depending on someone's security level, but my bosses have ruled out holding a users name and password information in a database due to risk of the database being hacked.So I have decided to use USB flash drives, which will have encrypted datafiles on them, and each staff member will be given one with their details pre-programmed onto them.However I am now stuck with detecting whether the device is present or not, I have thought I can continually scan the available drives and have each flash drive with a set volume label and when it arrives act upon it, but I don't want to keep continually scanning the drives, there has to be a better way than this, .
View 7 Replies
Jan 23, 2010
I have an App where I update data on a USB Flash Drive and I'd like to add a button that would make it "safe to remove the drive." Is there vb code to execute or emulate the "Safely Remove Hardware" icon on the taskbar?
View 1 Replies
Aug 15, 2009
I am using VB from Visual Studio.net 2008. I need to understand how to build a VBScript or Application that will detect when a flash drive is inserted into a Windows XP SP2 system. Once the drive is detected, the VBScript/App must then automatically search for any available .ppt file (power point) located in the root directory of that flash drive. If the .ppt file is found, pptview.exe will launched opening the file in question.
This script will be located in the startup folder and will run until a flash drive is entered and then it should pause until the flash drive is removed and then start searching again. This is for a kiosk to be used at trade shows for a company I am working with. The company wants this to be simple and automated and only requiring that the user setup the kiosk, which has no keyboard or mouse, plug in a flash drive with a .ppt file on it. The system will then automatically load the slideshow and play until the system is shut down or the flash drive is removed.
I am pursuing this option because an autorun.inf file on the flash drive only adds another line item to the autoplay dialog. Although it may be possible to write a small script that will select that item, there is no guarantee that the user will have that autorun.inf installed on the flash drive in question.
Also it may be better to copy the .ppt file into a temp directory on the kiosk machine, so that in the event that the flash drive needs to be removed there is not data transfer taking place, minimizing the possibility of data corruption.
Most of the file handling I may be able to handle on my own, but it is the detection of the flash drive insertion and removal that is a problem. I am looking for some clarity on this point first. I may ask other questions later, but for now that is the biggest hurdle I have to cross. [URL]..
View 20 Replies
Dec 13, 2009
I move a VB project from school and home on a flash drive. At school drive mounts on E: at home it mounts on F:. I have 4 forms, Form1, Form2, Form3. Form4. Form1 and Form3 have incorrect file paths, it has the E:, but Form 2 and Form4 path change just fine when I move it from school and home.
View 1 Replies
Mar 28, 2012
I have a small project that contains three forms. The problem is that one of the forms is on a USB flash memory device(by accident)...the project works with USB flash memory device connected. I want to move the form from flash into the project on c: drive. However i think the project file (?) may keep the original path to the form and it still looks for it. The form in question has an icon which contains an arrow (is this indicating its else where?)
View 1 Replies
May 12, 2011
I have a project I wrote a while ago and saved it on a flash drive. I now have a laptop and wish to save it, and use from the laptop. How do I do that ?
View 1 Replies
Sep 12, 2009
I have a USB flash drive I want to be able to plug into another computer and automatically start the program as soon as it is plugged in and started up, is there a way to do this?
View 8 Replies
Mar 4, 2010
How to make an Application to startup at the system startup? and How to enable and disable?
View 6 Replies
Nov 27, 2010
I want to be able to create a VB application that is on a flash drive and will run as soon as I insert the flash drive into a computer.
View 7 Replies
Apr 25, 2010
i have a question concering USB flash drives. I am building a Record Book with an Access 2007 database. When a user changes some information in the database i have built a procedure to create a backup of the database on a second hard drive. I was wondering if there is a way to find my USB flash drive serial number (either through coding or alternative ways) and specify that USB with that serial number as the location of the backup. As my program is at the moment, the backup is created from C to D. This can be a problem if on other computers there is no D drive or it's not a hard disk. By specifying the serial number to save the backup database to, should work on all pcs (theoretically). I am just not sure if this is possible in any way.
View 4 Replies
May 9, 2010
Im trying to get the startup path in a console project I have this
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly.Location())
but that only includes the folder, i need to add that application to that.
How would i get the applications startup/project name?
View 3 Replies
Aug 26, 2010
I am starting a large project here at the office. This project will be an asset tracking software. If time permits I would like to be able to develop the system so that I could put a file on a flash drive and then insert that drive into a pc, run the file and then have all the information pulled automatically but this is where I have no clue as to where to start, how to pull this information automatically. I am also planning to have the ability within the program to generate and print barcodes and maintain the database internally, would I be able to do this with ado.net ? I maintain 4 locations, all together 15 servers and 400 plus nodes.
View 4 Replies
Mar 5, 2009
I was able to get some code working to create a dummy file to fill the remaining space of a flash drive. However, I have added a progress bar and can't figure out why it's not working. I declare a variable for the current value, min, & max properities of the progressbar and then increment it by 1 during each step of my FOR loop. However, I never see anything on the progress bar.
Dim CurVal As Integer
Dim RandomNumber As Byte
'Create the dummyfile to take up the remaining space on the drive
[Code].....
View 5 Replies
Sep 15, 2011
i am having a mysql database that is having a password. so i am using it to login to the program. Is there a way to save the password (md5 encrypted i can do this) on a flash drive so i can access it from the program but the user can't access it.
View 17 Replies
Oct 13, 2009
I want to make a tool that will assign a USB pen drive a drive letter, I am using WMI to acknowledge the device being plugged in, I can pull the deviceID, name, etc now I just need to work out how to assign the device to a drive and I just cant figure it out
View 4 Replies
Aug 29, 2009
can we make code which can make copying a file in a particular drive invalid/access denied?
View 3 Replies
Jul 12, 2011
I design photo viewer app using this code
[Code]...
now how to make my photo viewer open when user open drive C and get all photo in the drive to be shown in it ?
View 14 Replies