Microsoft
Software
Hardware
Network
Question : How to find CD Burning folder path in c# and operating system as a XP?
I am using a SHGetFolderPath() function to get CD Burning staging area folder. but it is doing nothing.The code is running but I didnot get anything. the code is follow:
[DllImport("shell32.dll")]
static extern int SHGetFolderPath(IntPtr hwndOwner, int nFolder, IntPtr hToken,uint dwFlags, out string pszPath);
SHGetFolderPath(IntPtr.Zer
o, 0x003b, IntPtr.Zero, 0x0000, out _cdBurnPath);
Is there any other way to find path of CD Burning folder? Or I am missing in above code?
Answer : How to find CD Burning folder path in c# and operating system as a XP?
other way;
try it on Environment.....you might explore a way for it.
1:
string special1 = System.Environment.GetFolderPath(Environment.SpecialFolder.InternetCache);
Random Solutions
regedit for MatLab Subversion interface
Browser not able to find web sites but computer can ping sites
How to compile project into a DLL
Exchange files with WCF?
upgrading to vCenter 4.1 without migrating the vCenter SQL database
excel 2003 crashes in Windows 7 64 bit
window 2000 program menu
Validation Messages
How to get the href attribute from an ATOM feed being parsed
Help Reqd. for AutoIt Script