« MSDE, database distribution, osql command line tool. | Main | volatile can only be applied to static members »

Application properties sample values

When coding against properties that return path information, its rarely clear from the documentation just what path their talking about.

 

A typical sample value works great for me to relate the semantic description to what I know about the Windows environment.

 

Typical values of the Windows Forms Application properties:

StartupPath

"C:\Tone\kzDev\VSP\Job Blaster\Job Blaster\bin\Debug"

CommonAppDataPath

"C:\Documents and Settings\All Users\Application Data\Kizmet\JobBlaster\1.11.1013.35494"

CommonAppDataRegistry

{Microsoft.Win32.RegistryKey}    Name: "HKEY_LOCAL_MACHINE\Software\Kizmet\JobBlaster\1.11.1013.35494"

CompanyName

"Kizmet"

CurrentCulture

{System.Globalization.CultureInfo}

CurrentInputLanguage

{System.Windows.Forms.InputLanguage}

ExecutablePath

"C:\Tone\kzDev\VSP\Job Blaster\Job Blaster\bin\Debug\Job Blaster.exe"

LocalUserAppDataPath

"C:\Documents and Settings\tone\Local Settings\Application Data\Kizmet\JobBlaster\1.11.1013.35494"

MessageLoop

true

ProductName

"JobBlaster"

ProductVersion

"1.11.1013.35494"

SafeTopLevelCaptionFormat

"{1} - {0} - {2}"

StartupPath

"C:\Tone\kzDev\VSP\Job Blaster\Job Blaster\bin\Debug"

UserAppDataPath

"C:\Documents and Settings\tone\Application Data\Kizmet\JobBlaster\1.11.1013.35494"

UserAppDataRegistry

{Microsoft.Win32.RegistryKey}    Name: "HKEY_CURRENT_USER\Software\Kizmet\JobBlaster\1.11.1013.35494"

 

 

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)