@apfel: Well that's certainly a strange bug. I'll take a look at it and see what's going on. Does it do the same thing with other USB drives?
DiscMounter 0.1
I actually saw a one-off where DiscMounter placed a shortcut to C: in my C: drive. I deleted the shortcut and it seems have gone for good.
you could separate the floppy drive form usb drives whach,
i what to use it on usb drives but not on my floppy, it makes a check every second ...
in rest all it`s good for me
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.
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?
Sranshaft, You can try check full size of drive. I think 1,44Mb USB drive it's exoticdoes 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? ![]()
Really, I think it will access to floppy drive. Option for floppy drive is a great idea.
Especially as the most floppy drives will be A: by default and USB drive letter will be after C: (floppy can be A or B, isn't it?).
I wish You successes in development! ![]()
Yes, as far as I know default floppy drives will either be A: or B:. The new way seems to be working fine enough. We'll see what real world use has to say about that though. ![]()
Thankyou very much for your well-wishes. ![]()
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.
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
----------------------------------------
@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.
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>
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.
I did a fresh installation by replacing all files.
Did you solve the problem with Links, which DiscMounter creates in HDD´s/removable drives/ ...?
Edit: Your xml example does not fix the problem, with apply bug.
@apfel: Did you try the edited instructions? As for the problem with links...I believe they should be fixed now. It was a problem when DiscMounter encountered a drive without a volume name. It should now come up as "Drive ~letter~ ~type of drive~".
Agh, tried with updated and edited instructions. The program still dies when I try and apply preference changes.
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.
It was failing because I had disabled my floppy drive (A:). Re-enabling the drive seems to fix it.
Strange that. I was sure the problem was with the actual saving of the preferences. Everything appears to work correctly here so I'm not sure where the problem is now. I'll throw together a new version which will spit out a error log for me to pin point the problem.
I have had no troubles installing version 0.5 over 0.3. Great program Sranshaft, I look forward to any future updates ![]()
It was failing because I had disabled my floppy drive (A:). Re-enabling the drive seems to fix it.
My floppy drive is also disabled, because I dont own one.... and dont want one.
@Sranshaft
Could you fix this?
Any intention of supporting USB connections?
@Dania: USB drives are already supported. I added the feature in on version 0.4. Go into preferences and make sure "Removable" is selected under the Drives tab.
I have had no troubles installing version 0.5 over 0.3. Great program Sranshaft, I look forward to any future updates![]()
I'll take that back, I found a problem. The application doesn't start on windows start up even though I have it selected in the preferences to do so.
@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. ![]()
Aqua-Soft Forums