a simple answer is it cannot be done. the reason is that vb doesnot give hardware level access to a computer. if u can get hold of some kind of api to do it or create a dll file from other language to do it then it is another matter but thru pure vb, it cannot be done.
to others: prove me wrong, i am more than willing to learn how to do that.
sure my friend because the programe which vb6 make it cant run on MSDOS because if you want to partition a HDD , you should run on MSDOS ok man If you want to make programe can partition a HDD you should make it on lange C++ it can make programe which can run under Dos okkkkk man ............