Jump to content

Recommended Posts

Posted

Hi all, here's the scenario. I'm creating a simple program for formatting USB flash drives and I've decided to integrate format.com in my program to format the usb flash drives. On my form I have a combo box that lets the user select what USB drive to format, a button to start formatting, and finally a progress bar to show the percentage of the formatting process. I've succeeded in integrating format.com in my program but the progress bar won't update because I don't know how to get the % of the formatting process of format.com programatically.

By the way, I'm using Visual Basic .NET 2005 but any solution from any other language is welcome. I'm also using Windows 7 as my operating system. Thanks.


Posted

I'm creating a simple program for formatting USB flash drives and I've decided to integrate format.com in my program to format the usb flash drives. On my form I have a combo box that lets the user select what USB drive to format, a button to start formatting, and finally a progress bar to show the percentage of the formatting process. I've succeeded in integrating format.com in my program but the progress bar won't update because I don't know how to get the % of the formatting process of format.com programatically.

Well, format.com is NOT redistributable, so what is the point in "integrating" it? (it will make your app UNredistributable and breaking the MS EULA).

OT, but not much, and with all due respect to your program and effort, are you really sure that your app is *needed*? :unsure:

I mean we have now a number of well tested USB stick partitioning/formatting utilities:

http://www.boot-land.net/forums/index.php?showtopic=9460

jaclaz

Posted (edited)

@jaclaz

Thanks for the reply sir. I'm sorry for incorrect term usage ("integrating") because it got you confused. What I meant was that my app can call the local format.com from Windows and run it to format a usb drive. I'm not trying to distribute it or anything. I am also aware of the various USB Formatting Tools like HP Formatting Tool but our programming instructor told us not to use those tools. We are told to run a formatting process using the local format.com from Windows. I was successful in doing a format operation on my usb flash drive but I still can't show the process % of the formatting process on my GUI.

Edited by vmaglente
Posted

but our programming instructor

Read the forum rules already: no homework.

You were already warned about this, so consider this your final warning.

Not that I would expect someone finishing their BCompSc (like your other topic seems to suggest) needing help for such simple stuff... despite the extensive documentation on MSDN and sample code all over the place.

Closed.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...