>Hi All!
>
>Can anybody tell me, how to make a program group (and items to it) programatically, that is visible for all user?
>
Program groups in Win95/98/NT are nothing more than folders in the context of a user profile. You can get the current user's profile information from the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
there are several registry values of interest; Desktp, the user's Desktop, Programs, the root of the Start Menu\Programs, Start menu, the root of the Start Menu.
On an NT system, (possibly on a Win95/98 system; I don't run here at home with Profiles enabled under 98), the folder environment can be found under \WinNT\Profiles; there will be a folder per user, a folder called All Users, containing Start Menu and Desktop entries common to all profiles, and one called Default User, which serves as a template whenever a new User entry is created. You'll find a Desktop and Start Menu hierarchy under all of them; users will also have a number of other folders specific to that user for things like Favorites, Cookies, SendTO and a number of others.
Creating shortcuts requires accessing the IShellLink API family, which requires a wrapper to accomplish in VFP. George Tasker has released a wrapper .DLL that uses the IShellLink interface here on UT.