Java in Visual Studio 2010?

I’m a little late to the party, but it looks like someone has started adding support. From the description, right now it only does syntax highlighting and basic navigation within a single file. However, in the Q&A section the author mentions plans to add compilation and debugging support later in the year.

fatal error LNK1104: cannot open file ‘kernel32.lib’

Check the VC++ directories, in VS 2010 these can be found in your project properties. Check whether $(WindowsSdkDir)\lib is included in the directories list, if not, manually add it. If you’re building for X64 platform, you should select X64 from the “Platform” ComboBox, and make sure that $(WindowsSdkDir)\lib\x64 is included in the directories list.

error LNK2019: unresolved external symbol opencv

Like others mentioned, you need to make sure you’re linking to the OpenCV libs correctly. Check that your Project -> Properties -> VC++ Directories -> Library Directories, includes the path where the OpenCV libraries are, the default would be ‘C:\opencv\build\x86\vc11\lib’ (on a 32-bit machine running VS2012, it will vary on other setups). Next, check that … Read more

Visual Studio Version Selector Doesn’t open

If you are running Vista or Windows 7 with the UAC enabled and have “Run this program as an Administrator” checked on the Compatibility tab for the Visual Studio exe (devenv.exe), you will get this behavior when you try to open a sln file directly from Windows Explorer. One solution is to go to “%ProgramFiles%\Common … Read more

WPF, ‘Object reference not set to an instance of an object’ in Designer

What Alex says is the way to go. But I think its a little confusing to understand what he is saying. Assuming you have your project open in Visual Studio, open another Visual Studio instance and select Debug->Attach To Process. In the dialog which opens select XDesProc.exe (which is the XAML UI Designer) for VS2012 … Read more

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