Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

application property

Status
Not open for further replies.

curiousvbnet

Programmer
Apr 6, 2007
40
FR
Hi,

I have succed to find some of the properties of the application i have created and to insert them on a textbox.
But i did't find way to recover this property : application's creator name

i work on vb.net 2003 and

[blue]My.Application.Info.CompanyName[/blue] is not available so i have tried
Dim strCompany As String = [blue]System.Diagnostics.FileVersionInfo.GetVersionInfo(Application.StartupPath ).CompanyName [/blue]and it returns me an error because the application.startuppath is the application path and \bin

Could you help me on this point

Thanks a lot for your help

Regards
Nathalie




 
Salut,

try this:

Code:
Dim strCompany As String = Application.CompanyName

Hope it helps.

---
If gray hair is a sign of wisdom, then talk like a pirate ninja monkey if you get the time to get funky once a week.
Wo bu zhi dao !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top