|
-
Jan 9th, 2006, 10:04 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] CF Application version
Hi!
I'm at my beginning on a CF development for a Pocket PC. And I’m searching for a couple of thing, like a way to get the application version, and the current PC Username. Does anyone can help on this??
Thanks!
Zak
-
Jan 9th, 2006, 03:53 PM
#2
Thread Starter
Frenzied Member
Re: CF Application version
Echo Echo Echo Echo Echo
-
Jan 10th, 2006, 01:20 PM
#3
Frenzied Member
Re: CF Application version
Version...
With System.Reflection.Assembly.GetExecutingAssembly.GetName().Version
lblVersion.Text += .Major.ToString() & "."
lblVersion.Text += .Minor.ToString() & "."
lblVersion.Text += .Build.ToString()
End With
For the PC name, it is in the Registry, HKLM\Ident\Name
You can get registry class (plus lots of other good stuff) from www.opennetcf.org
Pete
-
Jan 10th, 2006, 01:33 PM
#4
Thread Starter
Frenzied Member
Re: CF Application version
Thanks !
I'll look at the link as soon as he will be availabe, can't open it for now it is too slow
I've also find this for the PPc Name
VB Code:
System.Net.Dns.GetHostName()
Have you anything for the username?
-
Jan 11th, 2006, 02:23 AM
#5
Frenzied Member
Re: CF Application version
Hi,
\HKEY_CURRENT_USER\ControlPanel\Owner
Pete
-
Jan 11th, 2006, 08:18 AM
#6
Thread Starter
Frenzied Member
Re: CF Application version
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|