Página 1 de 1

TRegistry.

Publicado: Mié May 03, 2006 1:52 pm
por pjmfelix
Hi.
In this class what is equal to RegQueryValue(Handle,"IExplore.Exe",@cValue).
Regards.

TRegistry.

Publicado: Mié May 03, 2006 5:32 pm
por ignacio
Paulo,
This class has nothing to deal with IE. Is for WINDOWS OS Registry
database.
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:44589997$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hi.
>
> In this class what is equal to
> RegQueryValue(Handle,"IExplore.Exe",@cValue).
>
> Regards.
>

TRegistry.

Publicado: Mié May 03, 2006 5:32 pm
por NoName
Paulo,
This class has nothing to deal with IE. Is for WINDOWS OS Registry
database.
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:44589997$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hi.
>
> In this class what is equal to
> RegQueryValue(Handle,"IExplore.Exe",@cValue).
>
> Regards.
>

TRegistry.

Publicado: Mié May 03, 2006 6:15 pm
por pjmfelix
Hi, Ignacio i want pass this function that i have in FW to Xailer, to
retreive the path of IExplorer.Exe.
FW Sample :
Local nHandle,cValue := ""
If
RegOpenKey(HKEY_LOCAL_MACHINE,"SOFTWAREMicrosoftWindowsCurrentVersionApp
Paths",@nHandle) == 0
RegQueryValue(nHandle,"IExplore.Exe",@cValue)
cValue := lfn2sfn(cValue)
RegCloseKey(nHandle)
EndIf
Xailer Sample:
Local oWinReg
WITH OBJECT oWinReg := TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
:OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp Paths")
:GetString("IExplore.Exe")
:CloseKey()
:End()
END WITH
Regards.
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4458cd1d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> This class has nothing to deal with IE. Is for WINDOWS OS Registry
> database.
>
> Regards,
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:44589997$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hi.
>>
>> In this class what is equal to
>> RegQueryValue(Handle,"IExplore.Exe",@cValue).
>>
>> Regards.
>>
>
>

TRegistry.

Publicado: Mié May 03, 2006 6:15 pm
por pjmfelix
Hi, Ignacio i want pass this function that i have in FW to Xailer, to
retreive the path of IExplorer.Exe.
FW Sample :
Local nHandle,cValue := ""
If
RegOpenKey(HKEY_LOCAL_MACHINE,"SOFTWAREMicrosoftWindowsCurrentVersionApp
Paths",@nHandle) == 0
RegQueryValue(nHandle,"IExplore.Exe",@cValue)
cValue := lfn2sfn(cValue)
RegCloseKey(nHandle)
EndIf
Xailer Sample:
Local oWinReg
WITH OBJECT oWinReg := TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
:OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp Paths")
:GetString("IExplore.Exe")
:CloseKey()
:End()
END WITH
Regards.
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4458cd1d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> This class has nothing to deal with IE. Is for WINDOWS OS Registry
> database.
>
> Regards,
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:44589997$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hi.
>>
>> In this class what is equal to
>> RegQueryValue(Handle,"IExplore.Exe",@cValue).
>>
>> Regards.
>>
>
>

TRegistry.

Publicado: Jue May 04, 2006 9:45 am
por ignacio
Paulo,
Try this:
#include "WinReg.api"
With Object TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
if :OpenKey( "SOFTWAREMicrosoftWindowsCurrentVersionApp
PathsIEXPLORE.EXE" ) == 0
cDir := :GetString( "" )
:CloseKey()
endif
End With
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:4458d721$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hi, Ignacio i want pass this function that i have in FW to Xailer, to
> retreive the path of IExplorer.Exe.
>
>
> FW Sample :
>
> Local nHandle,cValue := ""
>
> If
> RegOpenKey(HKEY_LOCAL_MACHINE,"SOFTWAREMicrosoftWindowsCurrentVersionApp
> Paths",@nHandle) == 0
> RegQueryValue(nHandle,"IExplore.Exe",@cValue)
> cValue := lfn2sfn(cValue)
> RegCloseKey(nHandle)
> EndIf
>
>
> Xailer Sample:
>
> Local oWinReg
>
> WITH OBJECT oWinReg := TRegistry():New()
> :Root := HKEY_LOCAL_MACHINE
> :OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp Paths")
> :GetString("IExplore.Exe")
> :CloseKey()
> :End()
> END WITH
>
> Regards.
>
>
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4458cd1d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Paulo,
>>
>> This class has nothing to deal with IE. Is for WINDOWS OS Registry
>> database.
>>
>> Regards,
>>
>> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
>> news:44589997$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hi.
>>>
>>> In this class what is equal to
>>> RegQueryValue(Handle,"IExplore.Exe",@cValue).
>>>
>>> Regards.
>>>
>>
>>
>
>

TRegistry.

Publicado: Jue May 04, 2006 9:45 am
por NoName
Paulo,
Try this:
#include "WinReg.api"
With Object TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
if :OpenKey( "SOFTWAREMicrosoftWindowsCurrentVersionApp
PathsIEXPLORE.EXE" ) == 0
cDir := :GetString( "" )
:CloseKey()
endif
End With
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:4458d721$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hi, Ignacio i want pass this function that i have in FW to Xailer, to
> retreive the path of IExplorer.Exe.
>
>
> FW Sample :
>
> Local nHandle,cValue := ""
>
> If
> RegOpenKey(HKEY_LOCAL_MACHINE,"SOFTWAREMicrosoftWindowsCurrentVersionApp
> Paths",@nHandle) == 0
> RegQueryValue(nHandle,"IExplore.Exe",@cValue)
> cValue := lfn2sfn(cValue)
> RegCloseKey(nHandle)
> EndIf
>
>
> Xailer Sample:
>
> Local oWinReg
>
> WITH OBJECT oWinReg := TRegistry():New()
> :Root := HKEY_LOCAL_MACHINE
> :OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp Paths")
> :GetString("IExplore.Exe")
> :CloseKey()
> :End()
> END WITH
>
> Regards.
>
>
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4458cd1d$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Paulo,
>>
>> This class has nothing to deal with IE. Is for WINDOWS OS Registry
>> database.
>>
>> Regards,
>>
>> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
>> news:44589997$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hi.
>>>
>>> In this class what is equal to
>>> RegQueryValue(Handle,"IExplore.Exe",@cValue).
>>>
>>> Regards.
>>>
>>
>>
>
>

TRegistry.

Publicado: Jue May 04, 2006 10:45 pm
por jlalin
Paulo,
this sample should work as expected:
WITH OBJECT oWinReg := TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
:OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp
PathsIExplore.exe")
cPath := :GetString( "Path" )
:CloseKey()
:End()
END WITH
Regards,
José Lalí­n

TRegistry.

Publicado: Jue May 04, 2006 10:45 pm
por jlalin
Paulo,
this sample should work as expected:
WITH OBJECT oWinReg := TRegistry():New()
:Root := HKEY_LOCAL_MACHINE
:OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp
PathsIExplore.exe")
cPath := :GetString( "Path" )
:CloseKey()
:End()
END WITH
Regards,
José Lalí­n

TRegistry.

Publicado: Vie May 05, 2006 10:39 am
por pjmfelix
Thank you Ignacio and José.
It works.
"José Lalín" <dezac@corevia.com> escreveu na mensagem
news:445a67e0$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Paulo,
>
> this sample should work as expected:
>
> WITH OBJECT oWinReg := TRegistry():New()
> :Root := HKEY_LOCAL_MACHINE
> :OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp
> PathsIExplore.exe")
> cPath := :GetString( "Path" )
> :CloseKey()
> :End()
> END WITH
>
> Regards,
> José Lalín

TRegistry.

Publicado: Vie May 05, 2006 10:39 am
por pjmfelix
Thank you Ignacio and José.
It works.
"José Lalín" <dezac@corevia.com> escreveu na mensagem
news:445a67e0$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Paulo,
>
> this sample should work as expected:
>
> WITH OBJECT oWinReg := TRegistry():New()
> :Root := HKEY_LOCAL_MACHINE
> :OpenKey("SOFTWAREMicrosoftWindowsCurrentVersionApp
> PathsIExplore.exe")
> cPath := :GetString( "Path" )
> :CloseKey()
> :End()
> END WITH
>
> Regards,
> José Lalín