SQL ExcelSQL Excel

Freeware Excel Add-In - Simplify data retrieval from SQL Server, Oracle, Sybase, MySQL, DB2, Firebird and any other ODBC compliant database

SQL Excel Support
Welcome, Guest
Please Login or Register.    Lost Password?
Re:modifying / storing addin settings (1 viewing) (1) Guest
Please let us know how we can improve the add-in.
Go to bottom Post Reply Favoured: 0
TOPIC: Re:modifying / storing addin settings
#186
admin (Admin)
Admin
Posts: 159
graph
User Online Now Click here to see the profile of this user
modifying / storing addin settings 5 Months ago Karma: 1  
Hi all

Please post up if you have any suggestions on the what addin settings we should be able to store.

Blitzoff brought this up a good while ago - thanks for that. Sorry it took so long to start looking into this.

Here is what is currently being setup in the development version of the addin. Basically, there will be 4 setting which can be stored - default formatting, default paste location, default use of headers and default use of auto filter.

Thats all I can think of but maybe there is something else we should add. If anyone has any ideas of what anything else we should add in the next release please post it up. thanks and have a nice weekend.
al


<application_settings>

<PatsteOptions>

<name>DefaultExcelFormatting</name>
<value>NoFormatting</value>

<name>DefaultExcelPasteLocation</name>
<value>ActiveWorksheet</value>

<name>ExcelHeaders</name>
<value>True</value>

<name>ExcelAutoFilter</name>
<value>True</value>

</PatsteOptions>

</application_settings>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#187
admin (Admin)
Admin
Posts: 159
graph
User Online Now Click here to see the profile of this user
Re:modifying / storing addin settings 5 Months ago Karma: 1  
Forgot to mention,

the way the storeage of the settings will be implemented will be via a new form that will be accessible from the SQL Excel Toolbar.

So, if you want to change your default settings you will load do this within Excel from the new form. This form will be used to change your default settings and store them in the applciation_settings.xml file. Then when you load the main SQL Excel form - the default setting will be loaded from the application_settings.xml file.

Please post up if you can think of any issues with this or have suggestions on this.
thanks very much and see you,
al
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#205
admin (Admin)
Admin
Posts: 159
graph
User Online Now Click here to see the profile of this user
Re:modifying / storing addin settings 4 Months, 3 Weeks ago Karma: 1  
Forgot to add the path to the location of hte sql queries folder.. This will be one more setting we can store.. Please let me know if anyone thinks of any others.
Thanks, Al
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#207
admin (Admin)
Admin
Posts: 159
graph
User Online Now Click here to see the profile of this user
Re:modifying / storing addin settings 4 Months, 3 Weeks ago Karma: 1  
hi all !

Fyi, the basic functionality of retrieving the stored setting from the settings xml file was implemented. Have to add in a form for maintaining the settings but the first part is done and seems to work very good.
If anyone has any suggestions plse chime in.
The xml for settings is below as currently setup.. Thanks, Al

<?xml version="1.0" encoding="UTF-8"?>

<application_settings>

<PasteOptions>
<ExcelPasteFormatting>
<value>Green and Black</value>
</ExcelPasteFormatting>

<ExcelPasteDestination>
<value>Activecell</value>
</ExcelPasteDestination>

<ExcelPasteHeaders>
<value>1</value>
</ExcelPasteHeaders>

<ExcelPasteAutoFilter>
<value>0</value>
</ExcelPasteAutoFilter>

</PasteOptions>

<FileSettings>
<QueryFilesPath>
<value>C:\Documents and Settings\</value>
</QueryFilesPath>
</FileSettings>


</application_settings>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Thanks for using the forum SQL Excel Freeware Add-inget the latest posts directly to your desktop

Google Translate

Copyright SQL Excel, 2007-2008 | valid xhtml? | valid CSS? |Microsoft ® and Microsoft Excel ® are registered trademarks of Microsoft Corporation