You could save the double as a string with Convert.toString (double) and store it in the registry. When you pull the string back out from the registry use Convert.toDbouble (string) to turn the string back into a double.
You could try this:
using System.Runtime.InteropServices;
[DllImport("winmm.dll")]
private static extern bool PlaySound( string lpszName, int hModule, int dwFlags );
When you make a call to the method it will look something like:
PlaySound ("MyFile.wav", null, 1);
Here is a url with...
Here is some code that I stumbled across in the msdn that could be modified to actually view the cache instead of deleting the cache.
http://support.microsoft.com/kb/q326201/
It is somewhat crude, but works. Here is what I did.
private void cleanFolder (string path)
{
try
{
// delete directory
Directory.Delete (path, true);
// recreate the directory if it actually gets deleted all the way.
if ( !Directory.Exists(path) )...
Hello,
I am having trouble figuring out a weird issue. I am trying to get all files in the special folder InternetCache. The problem is only two items show up when I get all files and folders in the directory. The two items I get are desktop.ini and Content.IE5. I check the directory on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.