visual-studio-2012

How to enable 'Insert Activex Control' in Visual Studio 2012 for a Win32 Dialog based application?

无人久伴 提交于 2019-12-12 15:23:53
问题 I am new to ActiveX Controls , though I have some basic background in COM/ATL programming. Steps The project is a simple Win32 project created using the Visual Studio 2012 wizard. I have selected all the default options. The dialog box is created using the resource editor dialog and then selecting new dialog option. Problem In my application I want to host the Internet Explorer (or some other) activex control in a dialog box. But the problem is that when I right click (as suggested by many

TFS: Show really all changes

蓝咒 提交于 2019-12-12 15:22:54
问题 From time to time, when I want to check in with Visual Studio (2012) my pending changes to Team Explorer, I get a strange abstract "Included Changes (x of y) " Where x is smaller than y . Even when I check in from the root directory of the solution and when I select "Show all" I can't see really all changes. In the case below: When I set "Show Solution Changes" I see 96 of 452, when I select "Show all" I see 178 of 452. The missing files are part of the solution and common source files as the

How to Embed Video using HTML5 with local file

十年热恋 提交于 2019-12-12 14:29:25
问题 I'm trying to embed a video using html5 with a local mp4 file. file on my local machine. when i debug i keep getting invalid file path or unsupported video type. What am i missing? I can get this to work if i plug in a http link to a mp4. But when i plug in a local file it doesn't <link href="http://vjs.zencdn.net/4.1/video-js.css" rel="stylesheet" /> <script src="http://vjs.zencdn.net/4.1/video.js"> videojs("example_video_1", {}, function(){ }); </script> <video id="example_video_1" class=

Visual Studio 2012/C# breaks code execution, no breakpoint set

好久不见. 提交于 2019-12-12 14:11:54
问题 I'm having a problem in Visual Studio 2012/C# which is driving me crazy. I have a particular line of code in a C# file with NO breakpoint set. Every time this line should be executed the debugger interrupts the execution of my code like a breakpoint was set. The only difference i noticed is the arrow on the left hand side, indicating the current step. Usually this arrow is yellow (when a breakpoint is set). In my case it is grey. I have been searching for a solution but did not find anything

Unable to load DLL 'VSPerf110.dll'

霸气de小男生 提交于 2019-12-12 14:11:32
问题 When I publish my web application and have Precompile during publishing checked I get this error on my webserver: Unable to load DLL 'VSPerf110.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) The application works if I don't Precompile. How can I fix this? Here's my settings for publishing: 回答1: OK it sounds like this application is trying to make use of the Profiler API on the production server. There may be some performance tracking Profile code in this

Why is XNA not supported in vs2012? [duplicate]

纵然是瞬间 提交于 2019-12-12 13:56:16
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to install XNA game studio on Visual Studio 2012? I would like to make an game application in xna. But after purchasing vs2012 (bought it for almost 800 dollar!!) i can't use the xna game studio environment! That's crazy from MS. They are 2 products of the same company aren't? Does anybody know when vs2012 is supporting xna of monogame? I've tried several options and search the internet already but i can't

Show file type icons on tabs on visual studio 2012

谁都会走 提交于 2019-12-12 13:43:45
问题 I wass looking for quite some time now how I could see the file type icon of each file I have opened in visual studio 2012 tab well, like it was shown on previous versions of visual studio. This was completely removed from vs 12, couldn't find any option enabling this. This is something extemely usefull when having many open files. 回答1: I found that this option exists on the registry! So you go here: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\DialogPage\Microsoft.CustomDocWell

Error viewing Build definitions in VS 2012 / TFS 2012

折月煮酒 提交于 2019-12-12 13:38:40
问题 I recently installed VS 2012 update 2 and now I get an error when I click on "Builds" under Team Explorer. I've tried a repair of update 2. I'd rather not do a complete reinstall unless I have to, so I'm hoping someone has run into this before. Any help is appreciated. System.Exception: The component 'Microsoft.TeamFoundation.Build.Controls.BuildsPageView' does not have a resource identified by the URI '/Microsoft.TeamFoundation.Build.Controls;component/buildspage/buildspageview.xaml'. at

Cannot convert parameter 2 from 'const char [14]' to 'LPCWSTR'

对着背影说爱祢 提交于 2019-12-12 12:36:04
问题 I am getting this error: cannot convert parameter 2 from 'const char [14]' to 'LPCWSTR' With the code below. It is supposed to be C but at best visual studio 2012 offers an empty c++ project: #include "windows.h" int WINAPI WinMain (HINSTANCE hinst, HINSTANCE hprevinst, LPSTR cmdline, int showcmd) { MessageBox(NULL, "Merhaba Dunya", "Merhaba", MB_OK); return 0; } What is incorrect? 回答1: It seems your current settings are set up so that WinAPI functions expect wide strings: MessageBox(NULL, L

Visual Studio publishing to app store with Xamarin

情到浓时终转凉″ 提交于 2019-12-12 12:19:58
问题 I can't find any documentation on how to publish your app to the app store from Visual Studio? Is this a case of having to use Xamarin Studio once you are ready to submit your app? It seems a bit odd that xamarin gives you the opportunity to use Visual Studio but then has absolutely no instructions on how to create a bundle to submit your app to the app store.. Any tips on how to do this with Visual Studio would be great. 回答1: As far as I know, there's no way of submitting to AppStore (or