Jump to content

DiscMounter 0.1


Recommended Posts

  • Replies 125
  • Created
  • Last Reply

Top Posters In This Topic

Instead of just saying, "You need to look at your code again", why not tell me what the errors say? I know about the settings button and no, I do not know what is causing this. Everything here works fine so it's hard to test for errors on that part when no errors appear... As for the quitting error, it's the first I've heard of it and I haven't had any trouble with it. Also, include the particulars of your computer, things like your operating system, language and whether or not you have active desktop enabled / icons on the desktop.

Get back to me with error codes and I'll see what I can do. I'll also be releasing a debug version for those having trouble with errors popping up so can get a better look at what is breaking down and where at.

Link to comment

Works great for me. Nice job. :D

I'm not running the most recent updates to .Net but, .Net 2 is fully up-to-date.

Just one feature request but, not anything pressing. Is it possible to add an option for aligning the drives to the right like in Styler?

Think I've got some source code for this either in vbs or .net. Let me know if you want it.

Link to comment
@thelocaluk: DiscMounter should place a shortcut in the startup folder if you select the feature. I decided to go this route because I didn't want to play around with the registry - though that's always a possibility.

I'll add that in to the next update and see if it works for you. New update should be available shortly. I've just finished streamlining the code a little and putting in icon positioning. :)

Great to see plenty of updates :)

I manually placed a shortcut to the startup folder because its just not having it on my computer.

Link to comment

@SirSmiley: Great to hear everything is working on your end. It's a good day when things go right for a change. :P Sure thing on the request! If you have the code, send it on over. I should be able to modify my icon placing coding but if you have some already available it makes it just that easier. :D

@thelocaluk: Thanks, I try to fix things as soon as possible. Since the way I've got it adding itself to the startup isn't working, I'll go ahead and add in a registry option as well.

New version should be available tomorrow. I've got some movie watching to do with the wife tonight. ;)

Link to comment

New version is now available! Check the first page for the download.

Version 0.7 - November 7, 2007

  • Added option to use either shortcut in startup folder or the registry for auto-run when Windows starts
  • Added option to place newly mounted drives on the right side of desktop (requested by SirSmiley)
  • Added in some error logging with regards to saving preferences
  • Fixed a bug regarding save icon positions
  • Fixed a bug regarding renaming Audio CDs - it now should store the name of the audio CD thus stopping DiscMounter from polling CDDB every second

Link to comment

I get this error as well, both on saving icon position and quitting.

See the end of this message for details on invoking 

just-in-time (JIT) debugging instead of this dialog box.



************** Exception Text **************

System.Runtime.InteropServices.COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

at IWshRuntimeLibrary.IWshShell_ClassClass.CreateShortcut(String PathLink)

at DiscMounter.SaveDesktopIcons.GetDesktopIconPositions()

at DiscMounter.Form1.saveIconPositionsToolStripMenuItem_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ToolStrip.WndProc(Message& m)

at System.Windows.Forms.ToolStripDropDown.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.832 (QFE.050727-8300)

CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

DiscMounter

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Phoenix/XPSystem/DiscMounter/DiscMounter.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.832 (QFE.050727-8300)

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.832 (QFE.050727-8300)

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.832 (QFE.050727-8300)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Interop.IWshRuntimeLibrary

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Phoenix/XPSystem/DiscMounter/Interop.IWshRuntimeLibrary.DLL

----------------------------------------

Freedb

Assembly Version: 1.0.0.1

Win32 Version: 1.0.0.1

CodeBase: file:///C:/Phoenix/XPSystem/DiscMounter/Freedb.DLL

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.832 (QFE.050727-8300)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.832 (QFE.050727-8300)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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>

I've tried deleting the folder that it places in Local Settings/Application Data, but that doesn't fix anything.

Link to comment

Settings still causing a crash...

ErrorReport.txt

7:50 PM: System.NullReferenceException: Object reference not set to an instance of an object.

at DiscMounter.Preferences.apply_Button_Click(Object sender, EventArgs e)

... and closing causes a crash.

See the end of this message for details on invoking 

just-in-time (JIT) debugging instead of this dialog box.



************** Exception Text **************

System.Runtime.InteropServices.COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

at IWshRuntimeLibrary.IWshShell_ClassClass.CreateShortcut(String PathLink)

at DiscMounter.SaveDesktopIcons.GetDesktopIconPositions()

at DiscMounter.Form1.quitToolStripMenuItem_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ToolStrip.WndProc(Message& m)

at System.Windows.Forms.ToolStripDropDown.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.42 (RTM.050727-4200)

CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

DiscMounter

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Documents%20And%20Settings/Administrator/Desktop/DiscMounter/DiscMounter.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

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.42 (RTM.050727-4200)

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.42 (RTM.050727-4200)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Interop.IWshRuntimeLibrary

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Documents%20And%20Settings/Administrator/Desktop/DiscMounter/Interop.IWshRuntimeLibrary.DLL

----------------------------------------

Freedb

Assembly Version: 1.0.0.1

Win32 Version: 1.0.0.1

CodeBase: file:///C:/Documents%20And%20Settings/Administrator/Desktop/DiscMounter/Freedb.DLL

----------------------------------------

Accessibility

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.

Also, the about window still says v0.6

Link to comment

New version is now available! Check the first page for the download.

Version 0.7.1 November 7, 2007

  • Fixed the icon saving bug for good hopefully - you should no longer get the 'System.Runtime.InteropServices.COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))' error
  • Fixed the Preference bug - you should no longer get the 'Object reference not set to an instance of an object.' error

Link to comment

This is designed this way. It won't save the preferences if there was an error. I've just updated the newer version which should solve this - I ditched the old way of setting the 'Auto-start' method. If the user.config file in the Application Data folder doesn't match the DiscMounter.exe.xml file found in the program folder, close DiscMounter and delete the whole '...Application FolderFour13_DesignsDiscMounter' folder. It should then rewrite the new config file.

Link to comment

Get this error after trying to save settings. (v0.7.1 Post: Last edited by Sranshaft : at 04:50 AM)

12:08: System.NullReferenceException: Object reference not set to an instance of an object.

at DiscMounter.Preferences.apply_Button_Click(Object sender, EventArgs e)

Link to comment
Get this error after trying to save settings. (v0.7.1 Post: Last edited by Sranshaft : at 04:50 AM)

12:08: System.NullReferenceException: Object reference not set to an instance of an object.
at DiscMounter.Preferences.apply_Button_Click(Object sender, EventArgs e)

I'm experiencing the same problem. I'm running Vista Ultimate - could that be the reason?

Link to comment

Hi,Scranshaft,I love this apps,got the latest,with a lot of bugs on the previous ver.Now I got this warn every time I click the CDDB option,cause the CDDB won't work,you know this apps make much different it comes with CDDB,your previous ver worked all right (CDDB),please find out,thank's,appreciated,looking forward

Link to comment

Issue 1: When I plug in a removeable device (in this case is a card reader), it create a shortcut to desktop and a redundant file, "Drive G.ink" and a file called "Drive G" in 0 byte

Issue 2: When I plug in second removeable device, it will re-create shortcut of first device, and don't create second one.

Issue 3: Can't apply setting (System.NullReferenceException ==> apply_Button_Click)

Issue 4: SetIconsToRight option not only move icon, it align some (not all file) to right from my desktop

0.71 @ XP SP2

post-1383-1194574340_thumb.png

Link to comment

Thanks for the Program!! I am using windows vista business, cd icon aligns but not usb, can't find network drive, and also will not save configuration ( had to edit manually ) I tried running it as administrator also still same problems.

Thanks again for the program, just what i needed :)

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...