Hello,
I am not sure what you are asking for but the way I
pass share settings across my other applications is to use the registry.
As far as I am aware you do not need Administrator permissions to do this.
The code to save a variable to the registry is:
SaveSetting("MyApp", "Startup", "Top", "75")
In this case the variable's name is "Top" And the value is "75"
It is stored in the following registry location:
[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\MyApp\Startup]
And the code to read the variable in your other application is:
Messagebox.show("Your variable is: " & GetSetting("MyApp", "Startup", "Top", "")
The added bones is that this will save your variable and is still usable even after the User restarts there computer.
Additional notes:
You may want to conceder using some kind of encryption when storing raw text on a User's computer.
For more information please visit:
http://msdn.microsoft.com/en-us/library/13zyfez5(v=vs.90).aspx?appId=Dev10IDEF1&l=EN-US&k=k(MICROSOFT.VISUALBASIC.INTERACTION.GETSETTING)%3bk(TargetFrameworkMoniker-".NETFRAMEWORK,VERSION%3dV3.5")%3bk(DevLang-VB)&rd=true&cs-save-lang=1&cs-lang=vb#code-snippet-1[
^]