InfoTech |
The following code will restore a database from a backup file in MS SQL Server. Normally you would use Management Studio to do this, but this might fail if the database needs to be in single user mode to restore. The code below will restore the database as a single...
Developer |
If you change the value of a control on Windows .NET form during runtime, it may not be updated with the changes. The following code should change the Text property of ToolStripStatusLabel, but it doesn’t work while its processing in the middle of its function....
Developer |
The HttpUtility class is a part of System.Web in Visual Studio and should be available in .NET 4.0. If you include this library in your application and an error is being generated, check the properties of the project. In the Application tab, the Target framework...
InfoTech |
When you browse to a folder shared on a Windows machine on a network, you may need permissions to access it. A dialog box appears and request a username and password. If you enter one that doesn’t work, you won’t get the chance to change it the next time you try...
InfoTech |
I use the Remote System Explorer in Eclipse for editing PHP web sites on other networks, and I occasionally run into the problem when an old page gets loaded instead of the actual, current page on the site. The problem is that the old file is being cached somewhere on...