Re: [DUG]: Getting the current user

2001-08-15 Thread Mark Howard
: [DUG]: Getting the current user function NetworkID: string;var buffer : string; buffSize : DWORD; bRet: boolean;begin buffSize:=128; SetLength(buffer,BuffSize); bRet := GetUserName(PChar(buffer), buffSize); if bRet then result := strpas(PChar(buffer)) else Result := '';end

RE: [DUG]: Getting the current user

2001-08-15 Thread Stephen Barker
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 16 August 2001 09:37To: Multiple recipients of list delphiSubject: Re: [DUG]: Getting the current user Stephen VERY cool! Thanks very much. I had searched for 'username' and didn't come up with this. Where is it documented? Mark

Re: [DUG]: Getting the current user

2001-08-15 Thread Neven MacEwan
Mark I'm going to have to have another go at getting D5's Open Help working When you get the definative answer pls post it :-) Neven --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Getting the current user

2001-08-15 Thread Mark Howard
- Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 11:25 AM Subject: Re: [DUG]: Getting the current user Mark I'm going to have to have another go at getting D5's Open Help working When you get

RE: [DUG]: Getting the current user

2001-08-15 Thread James Sugrue
not *.toc) Save the file and from now on the WinAPI calls help file should be available. -Original Message- From: Mark Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, 16 August 2001 12:07 To: Multiple recipients of list delphi Subject: Re: [DUG]: Getting the current user UhOh - Doesn't

RE: [DUG]: Getting the current user

2001-08-15 Thread Stephen Barker
Mark - just F1 on GetUserName in the editor works for me (D5 pro) Steve -Original Message- From: Mark Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, 16 August 2001 12:07 To: Multiple recipients of list delphi Subject: Re: [DUG]: Getting the current user UhOh - Doesn't sound

Re: [DUG]: Getting the current user

2001-08-15 Thread Mark Howard
for me (D5 pro) Steve -Original Message- From: Mark Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, 16 August 2001 12:07 To: Multiple recipients of list delphi Subject: Re: [DUG]: Getting the current user UhOh - Doesn't sound good. I assumed it was just me! So how have

Re: [DUG]: Getting the current user

2001-08-15 Thread Mark Howard
function)? Mark - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 11:25 AM Subject: Re: [DUG]: Getting the current user Mark I'm going to have to have another go at getting D5's Open

RE: [DUG]: Getting the current user

2001-08-14 Thread Stephen Barker
function NetworkID: string;var buffer : string; buffSize : DWORD; bRet: boolean;begin buffSize:=128; SetLength(buffer,BuffSize); bRet := GetUserName(PChar(buffer), buffSize); if bRet then result := strpas(PChar(buffer)) else Result := '';end; -Original Message-From: Mark Howard