Save Project To Thumb Drive?

Feb 26, 2009

I routinely make backups of my VB 2008 projects, using Windows Explorer, copying the entire project file to a thumb drive. For some obscure reason, a couple of days ago it suddenly stopped working. Specifically, the project is fine on the harddrive, can be copied to a backup area of the harddrive, but when I copy it to the thumb drive, I get an error message indicating the file can't be found. This is not a new process--I have been backing up projects for several years and never encountered anything like this.

When I click on the project folder, it shows the typical files. When I doubleclick on the .sln file, nothing happens (meaning the file does not open as it does on the harddrive). Solution Explorer shows a .vb file. When I click that, I get the "Can't find the file" error. Other projects on the thumb drive open with no problem, but I am hesitant to overwrite those with "new" versions that may not work.

View 3 Replies


ADVERTISEMENT

Application Hang Whenever Plugs In A Thumb-drive

Oct 11, 2011

I have a client who is causing my software application to "hang" whenever he plugs in a thumb-drive and copies files. My software is using none of these files... can anyone hazard a guess at what's going on?

View 14 Replies

Rename Volume Label On A Thumb Drive?

Apr 27, 2010

We are trying to rename a volume label on a thumb drive using a visual basic program, but the operation doesn't work. We are not getting any error messages, it just doesn't work. The user account being used does not have any special privileges. I suspect the user may have to be an administrator, but that is not an option. Any ideas on how to accomplish without elevating the users privileges?

View 2 Replies

VB 2010 - Thumb Drive - Formatting, Partitioning, And Copying The Image

Oct 24, 2010

I have to create a program to manage a large number of USB Thumbdrives. In short, the drives will contain corporate images used by technicians to prep machines in the field. I do not have to create the images as they are already provided. Since I have to create 50 plus of these at one time, I am looking at writing a program to automate the process. As it stands now, formatting, partitioning, and copying the image to each key individually is, as you can understand, not efficient time wise. I have already purchased two industrial quality 7 port powered hubs.

The plan is to be able to: Fill all 14 slots in the hubs with USB ThumbdrivesUse the program to select the drives to prepareHave the program format and partition the drives (bootable)Copy the contents of the image folder provided to the USB keys. The idea is to do the above by filling all the slots and hitting one button, then walking away to do other work. When done, the drives would be ejected, and the next set of 14 installed.

I have already created the User Interface. It consists of: 5 buttons (Scan For Drives, Format Drives, Build Drives, Build And Format Drives, Exit).One "Select Source" entry field to select the source of the Image Files.One Checked Entry List. This is where all available drives will be listed, and the one's desired to be checked.

Now, it has been 20 years since I did any coding, and all of that was done in languages that are pretty much dead today (Turbo Pascal, Clarion Professional Developer and R:Base), so to say I'm behind the curve is an understatement. While I was never a real fan of Basic, I have some experience with it. But today's VB.Net ain't your daddy's basic, and there's no way I have time to learn C or C++. I have the Express version of Visual Studio 2010, which should be fine for this project.

View 2 Replies

Save Project To A Network Drive?

Nov 20, 2009

I want my high school students to be able to save their VB projects to their network drive folder on the school's fileserver. The students do not have access to the c: drive by Group Policy. VB does not even see the network drive each student has mapped. I have googled around and discovered it has to do with VB not trusting any network folders. There is a supposed solution by using the .net framework configuration tool but I had no success getting that to work. Right now I have them saving their project to their usb drives. They have a tendency to lose or forget those. Is there a simple way of getting those network folders accessable?

View 2 Replies

Webpage Can't Save To Different Drive?

May 24, 2010

I'm trying to create a web page so users can upload a file to it. If I use drive C: it works just fine. If I change it to another local drive, I get an error message saying "Could not find a part of the path and then it lists the path. All part of the path are there and works great if the drive letter is C.

Is there some concept I'm missing or is it just not possible for a web page to save someplace other than C:?

I'm using VS 2008.

Here's the code:

Dim fn
As
String = System.IO.Path.GetFileName(File2.PostedFile.FileName)

View 3 Replies

Images With Project And Be Able To View Them Immediatly On Ff Any Drive?

Apr 22, 2009

How can I package some images with my project and be able to view them immediatly on ff any drive, i mean to say rather than them pointing to say C: ... etc for them to look at a location within the project? i remember once some1 told me the bin folder can be used for this by I havnt made it work yet

View 1 Replies

Getting Error When Try To Save File To Drive C

Sep 21, 2011

The application i installed at pc is function. But just when i want to save data into drive c through the application. the access is denied.

View 10 Replies

Move A VB Project From School And Home On A Flash Drive?

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

Project Split Across Drive / Flash Device Error

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

VS 2008 - Project - Saved It On A Flash Drive - Use From The Laptop

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

File Transfer And Save On Local Drive

Feb 5, 2010

I'm sort of new to the vb 2008, and I would like to be able to send a file to another computer and save it on the local drive. Doesn't have to be in any certain folder, but just on the c drive. I know for the old visual basic you would use winsock for this, but in 2008, they have removed it. What and how will I do this. There will be no program on the user's computer. This is done all from one computer sending to another with no program listening on it. This computer is on my network with network sharing, so I can just do like a \computernameorIPaddress and open send the file that way.

View 2 Replies

Get Drive Letter On Form Load And Save That To A Variable

Jun 7, 2011

1.I want my program to get the drive letter (like c:,d:) on form load and save that to a variable.What should i do to get the drive letter? 2.I want my application to fire this command (shutdown -s -p) on button click. But if i use this path (process.start("F:WindowsSystem32shutdown.exe -s -p")) to do the work it doesn't work.
The path is correct. What to do?

View 1 Replies

Database Backend (.MDB) Copied To Project Directory - Connect To Network Drive

Apr 20, 2009

I'm a bit new to VB.NET and I have a database which I want to connect to an access backend stored on a network drive for multiple users. I can view the Database in the solution explorer and the directory defaults to the project folder. How can I specify the directory to pull from my network drive? VS has copied this datasource and imported it locally which is fine for testing, but i need the file accessible for multiple users. Is this something I do when publishing?

View 3 Replies

VB New Project Not Showing Location To Save Project?

Nov 22, 2011

When I go to create a new project in VB I only get Name in lower pane to enter a name. I do not get Location or the 1 under Location. How do I get those 2 to display

View 2 Replies

Create Thumb For Xxx Type File?

Jan 18, 2012

how can i create thumb for my xxx type file as jpeg files or psd files in windows because they have a separate thumb for ever a file

View 7 Replies

Use Thumb Scanner To Take Attendance Of Employees Using VB?

Oct 18, 2009

Dear members please guide me how thumb scanner use to take attendance of employees using vb.net and oracle 9i.

View 1 Replies

Thumb Recognition Code Required In .Net 2005?

Jun 8, 2009

making an application for thumb recognition in vb.net 2005 as soon as possible.

View 7 Replies

Make Auto-save To Pendrive From The Special Folder Hard Drive

Jul 27, 2009

[Code]....

now i have folder call help in("D:help1.jpg")in this folder files download fom another program and save. now i want that i have pen drive .i want to make such command that when click button it copy the files from ("D:heelp..") and copy to the pen drive.

View 6 Replies

VS 2010 Security Dongle - Save The Password (md5 Encrypted ) On A Flash Drive?

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

VS 2008 League Organizer Project - When I Save(Save Button) The Text File Saves All The Text Wrong

Oct 7, 2009

Its a League Organizer, basicly ive started it off with 16 teams and end up with 1(winner) 16 box's on the far left, then 8, then 4, then 2, then 1. the 16 box's have "Team 1" "Team 2" etc... ive put a new/clear/open/save button in that order.

BUT this is my problem..when i save(Save Button) the text file saves all the text wrong it ends up like this...Team 1Team 2Team 3Team 4 Etc...

But i want it to save like this

Team 1
Team 2
Team 3
Team 4
Etc...

The code is...

Dim Save As New SaveFileDialog
Save.Filter = "Text Files (*.txt)|*.txt|ALL FILES (*.*)|*.*"

[CODE]...

View 3 Replies

WMI To Get Drive Letter Association With Physical Drive Path Misses CDROMs?

Feb 19, 2012

I'm running the following WMI script to get the associations between drive letters and physical drives on the system, but for some reason it omits CDROMs/DVD-ROMs. Can someone tell me how to get those as well?

Code:
ComputerName = "."
Set wmiServices = GetObject _
("winmgmts:{impersonationLevel=Impersonate}!//" & ComputerName)
Set wmiDiskDrives = wmiServices.ExecQuery _
("SELECT DeviceID FROM Win32_DiskDrive")

[Code3]...

View 12 Replies

Finding Physical Drive Number Using Drive Letter?

Jun 16, 2009

I have a program that allows the user to enter a drive letter into a text box. The program then takes the letter and find the physical drive number (i.e. deviceharddisk3..). It then stripes out everything and leaves me with the number 3.

In VB6 I used mDrive.bas from vbAccelerator.com and it worked perfectly. I have been all over the internet and back and cannot find a solution written in VB.NET.

View 14 Replies

Make A Tool That Will Assign USB Pen Drive A Drive Letter?

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

Cannot Save A Project Under A New Name?

Dec 16, 2009

Im using VB 2010 and maybe im blind but it seems like i cannot save a project under a new name.. im missing the "Save project as" option..is there any way to do this.. I always save my project under a different name (or revision) to go back if i need to revert to an old version..

View 3 Replies

Save Project Name As New Name?

Feb 11, 2011

I dont see how to save the "Project" to a new name, I unfortunately clicked ok at initial save and now stuck with "WindowsApplication1".

View 2 Replies

Reading And Writing Files On External Hard Drive, Code To Ensure SQL Or Data Read/write Execution In Case Of Periodic Drive Reconnect?

Dec 18, 2010

The drive is connected via USB and the problem I'm having is that, periodically, while my code is executing, the usb drive seems to disconnect and reconnect. (Nothing to do with the program, but the drive itself).I want to find a way to prevent these temporary drive reconnects from interrupting my code. IE, i want to insure that whatever read or write that is requested is actually executed even in the case of a temporary drive interruption.

View 1 Replies

Determine If A Drive Is Local Or A Network Drive?

Dec 10, 2008

Does anyone know if there is a way to determine if a drive is local or a network drive?

View 1 Replies

Getting Physical Drive Number From Drive Letter?

Jun 17, 2009

I am trying to get the physical drive (device) number from the drive letter. If the user inputs the drive letter C the program will find the associated physical device number. For example if I input C then the result needs to be \Device\HardDrive1\... Some call it NT Device Name; I think. I have the code for VB6 from vbAccelerator, which works perfectly, but it does not work in VB.NET. My question is there a simple way of pulling the drive info that contains the drive letter and the physical device number. I have searched the internet and found nothing for VB.NET. I would post code but I have nothing for .NET.

View 1 Replies

How Can Read Data From USB Flash Drive Or Pen Drive

Sep 29, 2011

USB flash drive or pen drive in vb.net...

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved