To obtain the path of where the vb.net windows form is loaded:
string path = System.Windows.Forms.Application.StartupPath;
path = path.Replace(@"\bin\Debug", "");
This Blog contains code snippets which I came across when programming in C#.These short code snippets will facilitate easy programming in C#.Any code snippets you wish to perceive will also be uploaded on request.
No comments:
Post a Comment