Re: Not Sure Where to Ask...



Phillip Flores explained on 05/02/2008 :
yannis wrote:
Phillip Flores formulated the question :
Hi,

I do not know which newsgroup to ask this question so I am asking it here...

How can I find out the user name of the currently logged in MS Windows user? Thanks.

for future reference this kind of questions belong to B.P.D.Nativeapi.Win32.

Now regarding your question it has been asked and answered multiple times in the past a quick google search with the key words "delphi current user name" returned in the first result page the following two links which answer your question.

http://www.chami.com/tips/delphi/011197D.html
http://www.delphitricks.com/source-code/systeminfo/get_the_current_username.html


Regards
Yannis.

Thanks. I did search google but maybe did not use the correct search words.

I have observed that changing the order of the key words changes the results as well. It has something to do with the position of each word in the sentence (if I could call it a sentence) so I always use the word Delphi as the first key word when I am searching for code snips in google. This produces the most relevant results as early as possible.

regards
Yannis.

--
You talk a great deal about building a better world for your children, but when you are young you can no more envision a world inherited by your children than you can conceive of dying. The society you mold, you mold for yourself.
----Russell Baker-------


.



Relevant Pages

  • Re: can anyone help me find a post of mine?
    ... Try this group at Google: ... Type in key words and or phrases to the left of the Search This Group button. ... If you feel the need to use your web browser for news groups, ...
    (microsoft.public.windowsxp.general)
  • Re: newbie: How to use the vb5 object browser
    ... Actually I found the answer myself on Google after reading your ... so I typed an appropriate search phrase in Google. ... and then just add a few relevant key words to that. ... msdn common dialog licence ...
    (comp.lang.basic.visual.misc)
  • Re: netsh
    ... search of the key words from my original post. ... Google, so you don't offer anything knew by posting a Google URL. ... >> Give a man a fish and you feed him for a day. ... >> promoting your website without actually offering any real help. ...
    (microsoft.public.windowsxp.general)
  • Re: RFD: Remove comp.os.cpm.amethyst
    ... is hard to sumarise into one key words. ... ask Google to summarize "The ... It is not possible to get a right understanding quickly, ...
    (comp.os.cpm)
  • Re: Google Attitude was RE: Unclassified Disk "Sanitizers"
    ... On Thu, 28 Feb 2002, Greg Horne wrote: ... > to search for on google. ... the very search string used is the key words in ...
    (Security-Basics)