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
Parallels 5 Mouse Issue
How to implement Email Sender using .Net C# Windows services
How to move ost file to different MS Exchange 2003 server?
Entourage Client on Snow Leopard connecting to Exchange.
Is it possible to change a user's password from the VS 2008 website administration utility
Continue repeat region further down the page with php
Google Earth 5.2 Problem
Connect to SQL Server database dynamically with ASP.net
HTML Textarea align cursor at left
SQL Function Error - Cannot access temporary tables from within a function