The Microsoft SQL Server Management Studio 2008 user interface only allows you to create a backup of a database to one of the local drives of the database server. To create a backup of a Microsoft SQL Server database to a location outside of the database server execute the following SQL script: BACKUP DATABASE MyDatabase TO …
Author Archives: Laszlo Pinter
How to add sample programming code to a post or page in WordPress
Double quotes When you write a post or create a page you may want to add sample program snippets to it. If your code contains double quotes (“) the WordPress page will display different characters for the opening and closing quotes, like in this “example”. Unfortunately these characters differ from the quotes you use …
Continue reading “How to add sample programming code to a post or page in WordPress”
Save the list of folders in a text file
If you receive a portable drive and want to see the list of folders, you can output it to a text file. To save the list of folders in a text file execute the following command in the command window: dir P: /AD /B >> “C:\folderlist.txt” where P: is the drive letter of the portable …
How to remove Windows 8 and install Windows 7 on a Lenovo ideapad z580 laptop
My friend just bought a new Lenovo ideapad z580 laptop with Windows 8 on it. She was not sure if her special statistical programs will run on Windows 8, so she asked me to remove Windows 8 and install her copy of Windows 7 64 bit on it. As it turned out the Lenovo laptop …
Continue reading “How to remove Windows 8 and install Windows 7 on a Lenovo ideapad z580 laptop”
How to enable jQuery intellisense in Microsoft Visual Studio
To enable jQuery intellisense in Microsoft Visual Studio Open the _references.js file in the editor by double clicking it Drag the jquery-x.x.x.intellisense.js file into the _references.js file in the editor. The name of the file will be added to the _references.js file
Conditional compilation symbols in Microsoft Visual Studio
If you need to make breaking changes in your source code that will be deployed later to production, but first have to be tested in the development environment you can include conditional compilation symbols to specify which lines will be included in the application for certain environments. This way you can maintain environment specific versions …
Continue reading “Conditional compilation symbols in Microsoft Visual Studio”
Microsoft Visual Studio editor settings
There are some settings that can make your work easier in Visual Studio. Start Microsoft Visual Studio, and in the “Tools” menu select “Options” – To insert new tabs to the right of existing tabs and keep the already opened tabs in place and – Show pinned tabs in a separate row On the left …
Unable to open a setup project in Microsoft Visual Studio 2010 on Windows 7 64 bit
I work on multiple computers using different operating systems. When I tried to open a web service solution in Microsoft Visual Studio 2010 on my Windows 7 64 bit workstation I got the following error message: “The project file … has been moved, renamed or is not on your computer.” I could verify that the …
How to modify a WordPress theme
There are two ways to modify a WordPress theme: the fast way and the smart way. The fastest way is to edit the files of the theme by selecting the files with the “Appearance”, “Editor” menu option. The drawback is that when the theme is updated your customizations will be wiped out. The update process …
How to set the application pool automatically during Microsoft Visual Studio 2010 web application and web service deployment
During the Visual Studio 2010 Web Application and Web Service deployment the prior setting of the application pool name is lost. The installer does not assign the correct application pool to the virtual directory, it will be assigned to the Default Application Pool. If different .NET versions are assigned to the same application pool, the older .NET applications stop …