Nice program but I have some issues and comments.
When closing the application, it crashes. If I debug, the error is:
------------------------
System.NullReferenceException was unhandled
Message: Object reference not set to an instance of an object.
------------------------
Stack trace:
at TextCrawler.PortableSettingsProvider.SetValue(SettingsPropertyValue propVal)
at TextCrawler.PortableSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection propvals)
at System.Configuration.SettingsBase.SaveCore()
at System.Configuration.SettingsBase.Save()
at System.Configuration.ApplicationSettingsBase.Save()
at TextCrawler.My.MySettings.AutoSaveSettings(Object sender, EventArgs e)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnShutdown()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at TextCrawler.My.MyApplication.Main(String[] Args)
-----------
If you need me to log activity from filemon or procmon, you can e-mail me at danp[ONE][TWO][NINE] at yahoo dotcom.
Comments:
Drop down items should be able to be removed one at a time by hitting down/up arrows and pressing delete to remove the highlighted item while the drop down list is displayed.
Crash when closing and comments
Good idea about removing the drop down items - will get that in the next version if possible.
Sounds like it having trouble writing the settings file - where are you running the program from? Installed location in program files or portably from somewhere else? Which Windows? Is it 64 bit?
The settings behaviour changes depending where the exe is located - could be the cause of the problem if there is a permissions issue.
Sounds like it having trouble writing the settings file - where are you running the program from? Installed location in program files or portably from somewhere else? Which Windows? Is it 64 bit?
The settings behaviour changes depending where the exe is located - could be the cause of the problem if there is a permissions issue.
I think I found the problem.
When I open "%userprofile%\Local Settings\Application Data\TextCrawler\TextCrawler.settings" file in Visual Studio, it gives a warning saying "Name cannot begin with the '0' character, hexadecimal value 0x30." for the line that is a tag that uses my computer name. My computer name is 051-nnn, which begins with a zero.
I would recommend prefixing any tags generated from machine/user specific information with a letter to avoid this problem.
When I open "%userprofile%\Local Settings\Application Data\TextCrawler\TextCrawler.settings" file in Visual Studio, it gives a warning saying "Name cannot begin with the '0' character, hexadecimal value 0x30." for the line that is a tag that uses my computer name. My computer name is 051-nnn, which begins with a zero.
I would recommend prefixing any tags generated from machine/user specific information with a letter to avoid this problem.