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
Problem debugging ASP.net applications in Visual Studio 2010
Microsoft Office Outlook Credential Loop
flash spininning indicator
XP Professional freezes
Clearing free space in windows vista
MySQL JOIN gives empty column
Can I use a NAS to Backup my VM's
Group on a Report "like"
Exporting variables from module on windows
ssis package issue