Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getregkey()
Message
From
25/01/2000 10:22:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/01/2000 09:49:23
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00322097
Message ID:
00322183
Views:
24
>>>oreg.GetRegKey("ResWidth",@cValue,;
>>> "SOFTWARE\Microsoft\VisualFoxPro\4.0\Options",;
>>> -2147483647)
>>>
>>
>>Initialize the variable cValue to a character string before making the method call - the result will be returned as a chacter string for this particular registry key value. If you're using the FFC, it only works with strings.
>
>Excuse me Ed.
>I dont know what do you mean with "Caracter string"
>Can you give me an example.
>Thanks.


Folks switching to Turkish, sorry.
Cemal,
Ed'in söylemek istedigi registry fonksiyonlarinin hemen hemen hepsi WinAPI kullaniyor. WinAPI de genellikle geri göderilecek deger senin önceden hazirlayip adresini belirttigin yere yaziliyor. "Character string" herhangi bir alfanumerik dizi, tipki foxta herhangi bir character alana yazabildiklerin gibi. Genelde sadece geri istedigin degerler icin yeterli miktarda bosluk ayirip onun adresini, referansini WinAPI fonsiyonuna göderiyorsun :
lcRetValue = space(10)
? oreg.GetRegKey("ResWidth",@lcRetValue,;
		"SOFTWARE\Microsoft\VisualFoxPro\4.0\Options",;
		-2147483647) && Burada 0 gelmesi lazim.
* 0 disindaki degerler Error kodu
? lcRetValue && WinAPI sonucu buraya yerlestiriyor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform