Xypher_mybb_import11505 Member Joined Mar 19, 2011 Posts 111 Reacts 0 Reputation 0 Credits 0 Oct 6, 2010 #1 Code: /// <summary> /// Gets the current wallpaper path. /// </summary> /// <returns>the wallpaper path</returns> private static string GetCurrentWallpaperPath() { RegistryKey wallPaper = Registry.CurrentUser.OpenSubKey("Control Panel\\Desktop", false); string WallpaperPath = wallPaper.GetValue("WallPaper").ToString(); wallPaper.Close(); return WallpaperPath; } Like my past few threads, idk who wrote these, I had them saved to text docs.
Code: /// <summary> /// Gets the current wallpaper path. /// </summary> /// <returns>the wallpaper path</returns> private static string GetCurrentWallpaperPath() { RegistryKey wallPaper = Registry.CurrentUser.OpenSubKey("Control Panel\\Desktop", false); string WallpaperPath = wallPaper.GetValue("WallPaper").ToString(); wallPaper.Close(); return WallpaperPath; } Like my past few threads, idk who wrote these, I had them saved to text docs.
Reality User is banned. Joined Mar 19, 2011 Posts 2,556 Reacts 0 Reputation 0 Credits 0 Oct 6, 2010 #2 Thing about VB is that it looks like each line of code is like 3 sentences.
RAF Onyx user! Joined Mar 19, 2011 Posts 5,010 Reacts 0 Reputation 0 Credits 0 Nov 18, 2010 #3 Trashed: [C#]Get current wallpaper directory[snipper] This thread has been trashed, it will be moderated by the Administrators for a further opinion.
Trashed: [C#]Get current wallpaper directory[snipper] This thread has been trashed, it will be moderated by the Administrators for a further opinion.
RAF Onyx user! Joined Mar 19, 2011 Posts 5,010 Reacts 0 Reputation 0 Credits 0 Dec 13, 2010 #4 Trashed: [C#]Get current wallpaper directory[snipper] This thread has been verified to be a quality thread and has been moved back into the rightful forum section. Please contact Management if this was wrongfully done.
Trashed: [C#]Get current wallpaper directory[snipper] This thread has been verified to be a quality thread and has been moved back into the rightful forum section. Please contact Management if this was wrongfully done.