Ok Julio.
 
Vou verificar a fun��o...

-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome
de Julio Cesar Dalla Rosa - AlmapBBDO
Enviada em: quinta-feira, 29 de abril de 2004 15:11
Para: [EMAIL PROTECTED]
Cc: Antonio Cesar Cardoso da Rocha
Assunto: RES: [sqlwin] Registro do Windows
Prioridade: Alta


Antonio:
 
N�o tenho exemplo mas acredito que o que voc� precisa seja a Vis Function
abaixo:
==============================================================
nBytes = SalGetProfileString ( strSection, strEntry, strDefault, strValue,
strFileName )
 
Retrieves the string value of an entry in the specified section of an
initialization file or registry.
 
Parameters
 
strSection  String. The section heading.
strEntry   String. The entry whose associated value is being retrieved.
strDefault   String. Specify the default value to return if the function
cannot find the entry.
strValue   Receive String. The value of strEntry. Maximum 1024 bytes.
 
strFileName  String. The name of the initialization file or company name
depending on the settings made using the SalUseRegistry function. If you are
searching for an INI file and do not specify the full path, Gupta searches
for the file in the Windows subdirectory.
 
Note: Specify the strFileName parameter as a NULL string when a company name
is not necessary. 
 
Return Value
 
nBytes is the number of bytes copied to strValue, not including the
terminating null character.
 
No Example
==============================================================
 
abra�o, Julio.
 
 
Julio Cesar Dalla Rosa
Analista de Sistemas
AlmapBBDO Comunica��es Ltda.
55 11 2161-5600
[EMAIL PROTECTED]

-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome
de Antonio Cesar Cardoso da Rocha
Enviada em: quinta-feira, 29 de abril de 2004 14:51
Para: [EMAIL PROTECTED]
Assunto: [sqlwin] Registro do Windows


Ol� Lairton e demais membros da lista.
 
Estou precisando analisar o registro do windows e verificar qual o path de
um software.
 
A chave "InstallPath" cont�m exatamente o que preciso fornecendo como busca
o nome do software.
 
Algu�m possui algum exemplo com esta finalidade ?
 
Grato,
 

Antonio Cesar C. da Rocha 

 

 

<<attachment: winmail.dat>>

Responder a