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
How to choose better iSCSI server software for cluster
Why doesn't this very simple C program not work all the way through?
comments in code
Unique Records with Excel
Forms and Unicode (utf-8) Characters
forcing a delay on a function in vb.net
publishing Terminal Server in ISA 2006
Logon script : gpupdate /force
Add content to a DIV area using AJAX
Wifi network not able to print from the network printer