473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Complex disk programming problems

I need to know it this is possible:

At my job we take aerial digital photographs. Our rigs have swappy
cages with 2 laptop hard drives in them (not standard-designed for
only 1). We have a system that makes them hot swappable; we do this by
hooking the swappy cage up to an IDE card, and while the computer is
on, running a vb script that runs devcon.exe to disable the ide card.
We then put the drive in, and then use devcon again to re-enable the
card. The drives are found. (sometimes in wrong order...for example
the swappy drives show up as drive 0 and 1 and the C: drive as drive
2- a problem as will be explained).

When we recycle the drives, we need to wipe the mbr and format them.
This is difficult to do programmatically all the time because
sometimes the C: drive is replaced by the swappy drive. That is, if we
write a program to format and wipe the mbr on drives 1 and 2 (assuming
they are the swappy drives), the C: drive (which was drive 0) may show
up as drive 2 and would get erased.

In short, I want to make an interface using vb.net that will do these
steps separatly, and if possible, programatically without using dos
commands and programs. What parts of this procedure can be done using
vb code and com objects, references etc. instead of relying upon dos
based programs like devcon, gdisk32, fdisk, format.exe, etc.? I have
not been able to find much...

Thanks,

MikeyBe
Nov 21 '05 #1
0 846

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: zyqnews | last post by:
hello all, I now have a simple project. It is to test the change of use disk, when a new usb disk is plugged into the usb socket, the program will copy a file to the usb disk, then disabled the...
0
by: Marc te Vruchte | last post by:
Over the past years i've been in contact with the same problem a number of times, creating a graphical user interface on complex XML documents. Personally these solutions have never been...
34
by: Pmb | last post by:
I've been working on creating a Complex class for my own learning purpose (learn through doing etc.). I'm once again puzzled about something. I can't figure out how to overload the assignment...
14
by: David W. Fenton | last post by:
I'm no stranger to this error message, but I have a client who is experiencing it, but, fortunately, without any actual data corruption, and it's driving them made. Their inability to grasp that...
1
by: Frank Fulton | last post by:
I ran a search through the last 52,549 msg's in this forum and found nothing and was unable to find anything in the .net help system or MSDN online. I know there used to be a way to monitor disk...
9
by: Robert W. | last post by:
I have built several kinds of complex classes that I work with in my program. Storing them to disk is no problem because I just pass the instantiated object to a SaveData method, accepting it as a...
5
by: Colleyville Alan | last post by:
I have an Access app which uses Office Automation to manipulate and then save PowerPoint files to disk. It works fine, but I need to update the code and I am having problems with the syntax. ...
22
by: pbd22 | last post by:
hi. I am having probelms with an update statement. every time i run it, "every" row updates, not just the one(s) intended. so, here is what i have. i have tried this with both AND and OR and...
23
by: Sacred Heart | last post by:
Hi, I'm new to Python and have come across a problem I don't know how to solve, enter com.lang.python :) I'm writing some small apps to learn the language, and I like it a lot so far. My...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.