Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- Profile Names
Message
From
29/11/1999 11:11:06
 
 
To
29/11/1999 10:16:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00296360
Message ID:
00296375
Views:
23
>Does anybody in here know what API function should I use to find the Default Profile Name? I am trying to add email capabilities to an application and I need to be able to find the Profile Name so I can do this.
>

Can you clarify what exactly you're looking for - if this is something in a particular email product, it's doubtful that the Win32 API will be of much use; you'll need to access things through either a product-specific API or automation object.

If you're looking for user-dependent "Special folders" information used and maintained by Windows through the logged-in user's profile, you may be able to use either the Windows Scripting Host's Wscript.Shell SpecialFolders collection to retrieve the value you need, or you may need to use the registry's HKEY_CURRENT_USER hive to hunt up the detail that you need.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform