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
Insert into error
nested tables in jquery
split rows in a table into groups based on a criteria
Adding a bpay service to a website
Do SEOs give greater weight to website pages with different names?
Interactive FLV
SBS 2003 Persistant Virus
Help using SQL IN statement as an "AND"
Anyone know of a good way to get discount airline tickets overseas?
need color help