Jump to content

DiscMounter 0.1


Recommended Posts

  • Replies 125
  • Created
  • Last Reply

Top Posters In This Topic

Unfortunately the way I'm checking the drives, a USB drive and Floppy drive is classified as the same type of drive (removable) and therefore cannot be separated. I'll look into though and see if I missed something.

Sranshaft, You can try check full size of drive. I think 1,44Mb USB drive it's exotic ;)

does it make sense?

Link to comment
Sranshaft, You can try check full size of drive. I think 1,44Mb USB drive it's exotic ;)

does it make sense?

Sure does and thankyou very much for your suggestion. I've gone another route though with the user selecting the drive letter to the floppy drive in the preferences. This would bypass having to check the floppy drive at all - I think checking for the size would still cause the computer to access the floppy drive?

The way I've gone should work though. Granted if the computer has more than 1 floppy...but that shouldn't be a problem. Do computers even come standard with floppy drives anymore? :

New version should be up for testing shortly. I've been working on some new features which you all should find a great addition - remembering icon positioning anyone? :P

Link to comment

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

Version 0.5 : November 3, 2007

  • Added ability to ignore floppy drives in the preference window
  • Added 'Monitored Drives' menu to system tray.

    If a CD/DVD drive has no media inserted, when the menu item is clicked the corresponding drive will open. Otherwise, it will open Explorer to the designated place.

Link to comment

Version 0.5

I cant apply changes, always get an error message:

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

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

at DiscMounter.Preferences.apply_Button_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.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:///E:/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:///E:/DiscMounter/Interop.IWshRuntimeLibrary.DLL

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

Freedb

Assembly Version: 1.0.0.1

Win32 Version: 1.0.0.1

CodeBase: file:///E:/DiscMounter/Freedb.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

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

Link to comment

@apfel: Did you replace / overwrite all the files in the old folder with the files included in the new zip file? It looks to me like it's not able to write one of the settings. This probably being one of the new settings regarding the floppy drive.

Try downloading and overwriting the old files again making sure DiscMounter is not running in the background first. This should solve the problem.

Link to comment

I get death as well. Installed twice, both times without DM running - first time, overwrote all files in the original folder. Second time, deleted all files in the folder first, before copying in the new versions. Appears when I try and change preferences.

See the end of this message for details on invoking 

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



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

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

at DiscMounter.Preferences.apply_Button_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.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>

Link to comment

For those having trouble with the new version: Please open the DiscMounter.exe XML configuration file and make sure that it looks like this.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="DiscMounter.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<DiscMounter.Properties.Settings>
<setting name="CheckFixed" serializeAs="String">
<value>False</value>
</setting>
<setting name="CheckOptical" serializeAs="String">
<value>True</value>
</setting>
<setting name="CheckRemovable" serializeAs="String">
<value>False</value>
</setting>
<setting name="CheckRam" serializeAs="String">
<value>False</value>
</setting>
<setting name="CheckNetwork" serializeAs="String">
<value>False</value>
</setting>
<setting name="CleanUpShortcuts" serializeAs="String">
<value>False</value>
</setting>
<setting name="StartMinimized" serializeAs="String">
<value>False</value>
</setting>
<setting name="AutoStart" serializeAs="String">
<value>False</value>
</setting>
<setting name="IgnoreFloppy" serializeAs="String">
<value>False</value>
</setting>
<setting name="FloppyLetter" serializeAs="String">
<value>A:</value>
</setting>
</DiscMounter.Properties.Settings>
</userSettings>
</configuration>

Edit: On further investigation, you may need to delete a folder. Go to C:Documents and Settings~Account Name~Local SettingsApplication DataFour13_Designs and look for a folder that starts with DiscMounter and delete it. If there are multiple ones, just delete them all. Now restart DiscMounter. And reset your preferences. This should clear up the problem. It's a strange one though because it worked perfectly here...that's usually the way it goes though.

Link to comment

Ahh,...the joys of debugging in 3rd person. Other than what I've suggested before I don't know what to tell you. If you use a new folder does it do the same thing? What happens if you delete the whole Four13_Designs folder in the Local SettingsApplication Data folder?

Other than that, I'm at a loss as to why the new version isn't going as smoothly as the previous ones.

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. :)

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...