Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding About to applicatoin
Message
De
28/02/2002 10:20:24
 
 
À
28/02/2002 08:45:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00626364
Message ID:
00626420
Vues:
10
Jeff,

Here is something that may help you generalize your about form for all applications. This looks information in the .exe, which you can put into the .exe when you build it by clicking on the Version button from the build form.

This code assumes that you add a readonly edit box to the form called edit1. Hopefully this is a good starting point for you...
* init() method of your about form
local laVersion, ;
		crlf
		
crlf = chr(13) + chr(10)

dimension laVersion[1]
agetfileversion(laVersion,sys(16,1))	

with this.edit1
	.value = ''
	.value = .value + "   Company: " + laVersion[2] + crlf
	.value = .value + "Executable:  " + laVersion[8] + crlf
	.value = .value + "   Version:  " + laVersion[4]
endwith
>Can anyone tell how I can add an About Appx feature to a client's application in vfp 6.0?
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform