Last post Sep 18, 2012 07:34 AM by ChamindaC
Sep 18, 2012 05:56 AM|TiaanStassen|LINK
Can you please help me
I want to reference a file in my working directory(bin).
public SoundPlayer player = new SoundPlayer(@"\bin\buzzerburn.wav");
Sep 18, 2012 07:34 AM|ChamindaC|LINK
Uri assemblyUri = new Uri(Assembly.GetExecutingAssembly().CodeBase);
string path = Path.GetDirectoryName(assemblyUri.LocalPath);
You need reference to
and refer this article and comments...