I am using the DataGridViewExtension and find that the settings are being written to the program launch folder instead of the default folder.No matter what change I make to the folder setting, it continues to write to the launch folder.
Environment:
Vista and Windows 7
VB.NET (VS2008)
Code:
Imports CompletIT.Windows.Forms.Export.Excel
Imports CompletIT.Windows.Forms.Export.Pdf
Imports CompletIT.Windows.DataGridViewExtension
Imports CompletIT.Windows.DataGridViewExtension.Persistence
Imports CompletIT.Windows.DataGridViewExtension.Persistence.Xml
' Next line is optional. If omitted, path should default to DGVEXmlPersistenceManager.ExtensionSettingsPathDefaultValue
DGVEXmlPersistenceManager.ExtensionSettingsPath = "c:\\temp"
DataGridViewExtensionComponent.Extension.UpdateAllGridsWithPersistedSettings()
DGVEThemesManager.UpdateListWithSavedThemes()
Dim ExcelExportDescription As ExcelExportDescription = New ExcelExportDescription()
DGVEExportingManager.Export(Me.GeoCodingTargetDataGrid, ExcelExportDescription, True)
After export, settings are persisted in the folder that the program launched from. The persistence configure method:
DataGridViewExtensionComponent.Persistence.Configure()
displays the default path correctly.
I have looked through the documentation and through this forum and cannot find a solution.
Thanks