得知程式是否第一次執行 ApplicationDeployment.IsFirstRun

以前在VB6 都是自己寫到registry,這個方法我用了好久XD

沒想到 .Net 2.0之後有內建這個功能

http://msdn.microsoft.com/en-us/library/system.deployment.application.applicationdeployment.isfirstrun.aspx

PS: 這是上一篇 FAQ 裡面看到的,雖然說不像再追新技術了,但還是看下去了,這就是傳說中的口嫌體正直啊~
This entry was posted in 電腦和網際網路. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s