Click here to Skip to main content
15,889,852 members
Home / Discussions / C#
   

C#

 
GeneralRe: TableAdapter.Update will not save my data Pin
Jpuckett25-Sep-07 10:44
Jpuckett25-Sep-07 10:44 
GeneralRe: TableAdapter.Update will not save my data Pin
Christopher Thornburg25-Sep-07 10:51
Christopher Thornburg25-Sep-07 10:51 
Questionhow to find image on the screen Pin
doktorno25-Sep-07 9:17
doktorno25-Sep-07 9:17 
AnswerRe: how to find image on the screen Pin
Christian Graus25-Sep-07 11:03
protectorChristian Graus25-Sep-07 11:03 
GeneralRe: how to find image on the screen Pin
Dan Neely25-Sep-07 11:15
Dan Neely25-Sep-07 11:15 
GeneralRe: how to find image on the screen Pin
Christian Graus25-Sep-07 11:22
protectorChristian Graus25-Sep-07 11:22 
QuestionHow to cause volume fragmentation? Pin
MammPo25-Sep-07 8:02
MammPo25-Sep-07 8:02 
AnswerRe: How to cause volume fragmentation? Pin
Dave Kreskowiak25-Sep-07 10:07
mveDave Kreskowiak25-Sep-07 10:07 
I doubt anyone has ever written a tool to make your volume fragmented.

There's API support to DEFRAG a volume, but not fragment it.

There are two approaches to this. Make a sector-by-sector image of a disk that is already fragmented and reload your stuff on it to test. When your test is complete you can restore the image and put everything back where it was.

Randomly create and delete thousands of files of various sizes on the volume to fragment the writing of those files. Leave some in place and delete others.

You cannot "cause fragmentation" of existing files on the volume without rewriting those files and moving individual blocks of data in those files to other locations on the disk. This would require "blackbelt" level knowledge of the NTFS file system and it's API's to accomplish.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Thank you! -- How to cause volume fragmentation? Pin
MammPo26-Sep-07 9:43
MammPo26-Sep-07 9:43 
AnswerRe: How to cause volume fragmentation? [modified] Pin
Luc Pattyn25-Sep-07 15:59
sitebuilderLuc Pattyn25-Sep-07 15:59 
GeneralRe: Thank you! -- How to cause volume fragmentation? Pin
MammPo26-Sep-07 9:45
MammPo26-Sep-07 9:45 
Questioni need some help Pin
matched25-Sep-07 7:54
matched25-Sep-07 7:54 
AnswerRe: i need some help Pin
Guffa25-Sep-07 8:37
Guffa25-Sep-07 8:37 
AnswerRe: i need some help Pin
InvalidTypecast25-Sep-07 8:55
InvalidTypecast25-Sep-07 8:55 
QuestionInvoke a Property's Method using Reflection Pin
maxJared25-Sep-07 6:36
maxJared25-Sep-07 6:36 
AnswerRe: Invoke a Property's Method using Reflection Pin
MidwestLimey25-Sep-07 9:23
professionalMidwestLimey25-Sep-07 9:23 
GeneralRe: Invoke a Property's Method using Reflection Pin
maxJared25-Sep-07 9:50
maxJared25-Sep-07 9:50 
QuestionSave copy of XSD Pin
Bonsta25-Sep-07 5:14
Bonsta25-Sep-07 5:14 
QuestionHow to customize strings with Format method? Pin
Diego F.25-Sep-07 5:10
Diego F.25-Sep-07 5:10 
AnswerRe: How to customize strings with Format method? Pin
Diego F.25-Sep-07 5:14
Diego F.25-Sep-07 5:14 
AnswerRe: How to customize strings with Format method? Pin
PIEBALDconsult25-Sep-07 5:57
mvePIEBALDconsult25-Sep-07 5:57 
GeneralRe: How to customize strings with Format method? Pin
Luc Pattyn25-Sep-07 6:37
sitebuilderLuc Pattyn25-Sep-07 6:37 
GeneralRe: How to customize strings with Format method? Pin
Diego F.25-Sep-07 7:03
Diego F.25-Sep-07 7:03 
Questionremoving data souces from projects Pin
shwaguy25-Sep-07 5:08
shwaguy25-Sep-07 5:08 
AnswerRe: removing data souces from projects Pin
Dave Kreskowiak25-Sep-07 6:59
mveDave Kreskowiak25-Sep-07 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.