I have this written to get the current Windows username and add stuff before and after:
It returns the first string and the username however it doesn't return anything added after that, in this case "\Favorites".Code:Username = Space(40) GetUserName Username, Len(Username) strSource = "C:\Documents and Settings\" & Username & "\Favorties" lblPath.Caption = strSource
I am very green when it comes to programming, I know enough for small things but I can't figure this out. Anything would be helpful.
Thanks!!!




Reply With Quote