?
Solved

Create a partition

Posted on 2003-11-11
8
Medium Priority
?
1,113 Views
Last Modified: 2013-11-13
I have a SCSI disk of 40 Gb. In this HD there is one partition of 10 Gb. I want to create a partition of 30 Gb. How is possible to do this with API and VB6?
0
Comment
Question by:macchitella
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Expert Comment

by:saienlyh
ID: 9721669
hard
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9721759
LOL @ saienlyh
macchitella ::
any special reasons why you wish to use VB for disk partitioning ?
I would suggest using something more "conventional" such as fdisk or partition magic to partition drives
0
 

Author Comment

by:macchitella
ID: 9721913
I must create a partition with a script during windows 2000 installation. I have thinking to do a tool with VB.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 45

Expert Comment

by:sunnycoder
ID: 9722072
>during windows 2000 installation
Do you think APIs and VB will be available before the system is installed? You will have to depend on a tool... Moreover, IMHO, it is not a good idea to automate partitioning in such a way ... the user may have something else in mind ... how do you know that user would be having a 40 Gb disk each time and would like to have a 10-30 partitioning ?
0
 

Author Comment

by:macchitella
ID: 9722486
The situation is this:
1) Installation of SO Windows 2000 Server;
2) After installation run the script that create a new partition D: and format the new partition.
0
 
LVL 2

Expert Comment

by:mingz
ID: 9728733
You can do it with windows scripting..
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9728739
If you are sure that this is what you want indeed, then why insist on VB ? use some other tool .. I dont believe there is an API like
format(whole_hard_disk);
0
 
LVL 2

Accepted Solution

by:
mingz earned 1000 total points
ID: 9728749
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question