What is .sln.docstates file created by Visual Studio Productivity Power Tools?

Here is what Microsoft have to say about it: The .docstates file new in this release of the Pro Power Tools. It is used by the Document Tab Well extension to persist and hydrate the state of the floating tab wells. This information was being stored in the hidden .suo file but we had to … Read more

How can I use PowerShell with the Visual Studio Command Prompt?

Stealing liberally from blog post Replace Visual Studio Command Prompt with PowerShell, I was able to get this to work. I added the following to my profile.ps1 file and all is well with the world. pushd ‘c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC’ cmd /c “vcvarsall.bat&set” | foreach { if ($_ -match “=”) { $v = … Read more

How to build Qt for Visual Studio 2010

First of all, it’s very important to understand that for using Qt with Visual Studio 2010, it’s not possible to use the pre-built binaries which were made for Visual Studio 2008, but you have to compile it from source. Downloading Qt On https://www.qt.io/download/ Update 2017: the latest Qt 4.x branch (Qt 4.8.6) has 2 pre-built … Read more

What is going wrong when Visual Studio tells me “xcopy exited with code 4”

Xcopy exit code 4 means “Initialization error occurred. There is not enough memory or disk space, or you entered an invalid drive name or invalid syntax on the command line.“ It looks like Visual Studio is supplying invalid arguments to xcopy. Check your post-build event command via Project > Right Click > Properties > Build … Read more

VB.NET IntelliSense : Disable newline on ENTER autocomplete

UPDATE VISUAL STUDIO 2017: Now with Visual Studio 2017 you can change it. Tools -> Options -> Text Editor -> Basic -> IntelliSense. In Enter key behavior select Never add new line on enter ANSWER FOR VISUAL STUDIO 2015 AND PREVIOUS: If you want to avoid inserting new line on enter with autocomplete suggestion, just … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)