C # application class

Source: Internet
Author: User
Product Information

 CompanyName
: Get and the ApplicationProgramThe name of the associated company.
 Productname
: Get the name of the product associated with the application.
 Productversion
: Obtain the product version associated with the application.

 

 Currentculture
: Gets or sets the Regional Information of the current thread.

 Path information
 Localuserappdatapath
: The Path for obtaining application data of local and non-roaming users.
 Userappdatapath
: Obtain the path of the user's application data.
 Userappdataregistry
Obtain the registry key of your application data.

 Commonappdatapath
: Obtain the path of the application data shared by all users.
 Commonappdataregistry
: Obtain the registry key for the application data shared by all users. 

Note: When these attributes are obtained for the first time, if the corresponding file path or registry path does not exist, these paths will be automatically created. 1.0.0 indicates the program version.

Localuserappdatapath: C: \ Documents ents and
Settings \ Administrator \ Local Settings \ Application
Data \ company name \ program name \ 1.0.0
Userappdatapath: C: \ Documents ents and Settings \ Administrator \ Application
Data \ company name \ program name \ 1.0.0
Userappdataregistry: HKEY_CURRENT_USER \ Software \ company name \ program name \ 1.0.0
Commonappdatapath: C: \ Documents ents and Settings \ All Users \ Application
Data \ company name \ program name \ 1.0.0
Commonappdataregistry: HKEY_LOCAL_MACHINE \ SOFTWARE \ company name \ program name \ 1.0.0

 Startup Information
 Startuppath
: Obtain the path of the executable file that started the application, excluding the name of the executable file.
 Executablepath
: Obtain the path of the executable file that started the application, including the name of the executable file.

 Other information

openforms
: obtain the set of open forms of the application. Openforms only stores opened or hidden forms.
usewaitcursor
: obtain or set whether to wait for the cursor to be used for all open forms of the application. You do not need to set this attribute for each form.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.