Disk Analyzer Tool

[quote1200971910=Signe]
[quote1200970829=VoiDeD]
That's interesting, I didn't know this actually, and I'm not sure how I'd be able to avoid it since the program runs through all folders and files regardless of name and the like.

If you could give me more information on the type of exception thrown I'd be able to come up with a fix for it.

Also I noticed that the program is targeting .NET 3.5, when it should be .NET 2... I'll change this and re-upload.
[/quote1200970829]

From the exception, it looks like another permission error, so your first fix may solve this one, too. In reality, the directory just doesn't exist. The API returns it so that old apps can still find their data, but the real dir is \Users, now.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

*** wall of exception text ***


[/quote1200971910]

Cool thanks alot, I'll look into this more if the previous fix hasn't fixed it.
But I gotta head out for the night so the next update, if any, will be tomorrow. :P
 
That looks very impressive. There was a tool I used to use, called [link=http://www.sixty-five.cc/sm/v1x.php]SpaceMonger[/link] that accomplished much the same thing, but the developer seemed to have gone off the deep end. This might just fill that void.
 
[quote1201133707=Fippy Squirrel]
That looks very impressive. There was a tool I used to use, called [link=http://www.sixty-five.cc/sm/v1x.php]SpaceMonger[/link] that accomplished much the same thing, but the developer seemed to have gone off the deep end. This might just fill that void.
[/quote1201133707]

Glad I could help. :)
 
i keep getting this error


Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately Access to the path 'C:\Config.Msi' is denied


This is the details




See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Config.Msi' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
at Disk_Analyzer.MainForm.Analyze()
at Disk_Analyzer.MainForm.button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Disk Analyzer
Assembly Version: 0.1.2942.36925
Win32 Version: 0.1.2942.36925
CodeBase: file:///C:/Users/Austin/Desktop/Disk_Analyzer_2/Disk%20Analyzer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
wow that looks pretty cool, after all i have some huge files on my comp, half of em i dunno what they are lol (my mom >_>)
i'll try it out when its released
 
Im gonna try this out on my old computer which only has like 2GB left out of 250GB.
 
Ghost.. you really need to switch that avatar photo. Try something in the 150x150 range.
 
[quote1201217070=Sir Leeroy]
i keep getting this error


Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately Access to the path 'C:\Config.Msi' is denied


This is the details




See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

****** exception text *******
[/quote1201217070]
Hmm that's interesting.. That shouldn't be happening. I'll look into it, thanks for pointing it out!

[quote1201217082=Cpt0bvi0u5]
voided what did u use to code this? BASIC? C++?
[/quote1201217082]

C#
http://msdn2.microsoft.com/en-us/vcsharp/default.aspx
 
Sorry for the lack of updates guys, but I finally finished up on version 3, this should fix the most recent exceptions, and more importantly... I found and fixed some stupid code which was making the scans run slow. It should now run up to twice as fast!

Edit:
Another update, settings now save. Grab it here: http://pcbin.net/voided/Stuff/Disk_Analyzer_4.zip
 
I have a program like this but I really like the 'find bigger than x size' option. I'll definitely add it to my list of useful programs.


Hmm well version 3 wont let me open it. It is saying I have encountered an error.
 
thx voided, this updat cleared up my error. Keep up the work man, and thx for making this tool.
 
[quote1201999286=Woodsyx]
Hmm well version 3 wont let me open it. It is saying I have encountered an error.
[/quote1201999286]
Could you post what error you're having in more detail?


[quote1201999284=Sir Leeroy]
thx voided, this updat cleared up my error. Keep up the work man, and thx for making this tool.
[/quote1201999284]
Glad I could help.

I'm really bored when it comes down to making tools, I normally make stuff based on what I personally need. But if you or anyone else need some tool to do something, just post about it and I'll see what I can do. :)
 
Voided thats the actual error message. Does this program need a version of .net installed because .net doesn't really like my computer for some reason.
 
You may have noticed, since your screenshot exhibits the same behavior... the progress bar never reaches 100%.

You may just want to add a final "= 100" at the end of the scan, even if the other math didn't get there.

A nice addition would be to save the 'larger than' settings to the registry or an INI file, so that you don't have to retype them on every load.
 
[quote1202243236=Signe]
You may have noticed, since your screenshot exhibits the same behavior... the progress bar never reaches 100%.

You may just want to add a final "= 100" at the end of the scan, even if the other math didn't get there.
[/quote1202243236]

Yeah I just cleared the progress bar when the scan finished, I suppose I can change that to reflect completion. :P

[quote1202243236=Signe]
A nice addition would be to save the 'larger than' settings to the registry or an INI file, so that you don't have to retype them on every load.
[/quote1202243236]

It shall be done. :)
 
Back
Top