http://www.pokersharkz.net/Downloads/PlayerRegistration.zip
rjones33 wrote:Ok guys, I have finished up with version 1.0 of the Player Registration Utility. I put a few more features in and created some documentation with step by step instructions to get you started. I am excited to hear your feedback.
rjones33 wrote:Ok guys, I have finished up with version 1.0 of the Player Registration Utility.
Kent Briggs wrote:rjones33 wrote:Ok guys, I have finished up with version 1.0 of the Player Registration Utility.
I'm seeing an error on my Vista 64 system. After entering my site data and restarting the utility, if I select Tools|Settings on your menu it brings up the original form again but all the fields are empty. There's no cancel button so the only way to close it is to fill in all the info again and hit the save button. However when I do that, I get a "PlayReg has stopped working" message and the program aborts. It seems to have saved it though because I can restart and make it work.
Kent Briggs wrote:Nice work. You could automate the folder selection step by fetching the Data Folder out of the registry and appending "CrashProtect" to it. It's located under:
Path: \HKEY_CURRENT_USER\Software\Briggs Softworks\Poker Mavens 2\
Key: DataFolder
rjones33 wrote:Kent Briggs wrote:Path: \HKEY_CURRENT_USER\Software\Briggs Softworks\Poker Mavens 2\
Key: DataFolder
Kent,
I don't seem to have a DataFolder Key...is that normal? I even did a search of the entire registry and came up with nothing...
rjones33 wrote:I see where all the data is stored in the poker mavens 2 folder in the registry, but I still don't see a value for the DataFolder in there.
Question...Can I just use the logical %appdata% and append poker mavens\CrashProtect to it? Is that logical common to all machines? It works on my server and on my XP laptop so I am assuming that might work. Thanks.
** Update ** - I figured out a way in .net to get the users application data folder so I can just append \poker mavens\CrashProtect to it.
function GetShellpath(csidl: Integer): string;
var
pidl: PItemIDList;
buf: array[0..MAX_PATH] of char;
begin
Result:='';
if ShGetSpecialFolderLocation(0,csidl,pidl)=0 then
begin
if ShGetPathfromIDList(pidl,buf) then Result:=StrPas(buf);
CoTaskMemFree(pidl);
end;
end;const
CSIDL_APPDATA = $001A;Users browsing this forum: No registered users and 2 guests