{"id":3993,"date":"2010-03-18T10:13:00","date_gmt":"2010-03-18T10:13:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2010\/03\/18\/activex-test-container-application-is-still-available\/"},"modified":"2019-02-18T18:45:36","modified_gmt":"2019-02-18T18:45:36","slug":"activex-test-container-application-is-still-available","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/activex-test-container-application-is-still-available\/","title":{"rendered":"ActiveX Test Container Application is Still Available"},"content":{"rendered":"<p class=\"MsoNormal\"><font face=\"Calibri\" size=\"3\">Hello, I\u2019m Pat Brenner, a developer on the Visual C++ Libraries team.&nbsp; I\u2019ve noticed some posts on various forums lamenting the loss of the ActiveX Test Container application and I wanted to address those concerns.<\/font><\/p>\n<p class=\"MsoNormal\"><font face=\"Calibri\" size=\"3\">The ActiveX Text Container tool is still available as a sample in Visual Studio 2008 and Visual Studio 2010.&nbsp; It is included in the Visual C++ samples ZIP file included with Visual Studio:<\/font><\/p>\n<p class=\"MsoListParagraph\"><span><span><font size=\"3\">\u00b7<\/font><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><font face=\"Calibri\" size=\"3\">For VS2008, it\u2019s in [Program Files]\\Microsoft Visual Studio 9.0\\Samples\\1033\\AllVCLanguageSamples.zip<\/font><\/p>\n<p class=\"MsoListParagraph\"><span><span><font size=\"3\">\u00b7<\/font><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><font face=\"Calibri\" size=\"3\">For VS2010, it\u2019s in [Program Files]\\Microsoft Visual Studio 10.0\\Samples\\1033\\VC2010Samples.zip<\/font><\/p>\n<p class=\"MsoNormal\"><font face=\"Calibri\" size=\"3\">The sample is named TSTCON and is in the C++\\MFC\\OLE\\TstCon folder in the ZIP file.&nbsp; You can build this sample and run it to test the functionality of your ActiveX controls.<\/font><\/p>\n<p class=\"MsoNormal\"><font face=\"Calibri\" size=\"3\">Note that there is a problem with the sample in Visual Studio 2008.&nbsp; After building the application, running it will give an error message because \u201cthe application configuration is incorrect\u201d.&nbsp; To fix this, change the \u201cEnable User Account Control\u201d property on the Linker \/ Manifest File property page for the TCProps project to <b>No<\/b> (as in the screen shot below) and rebuild the solution.&nbsp; You will need to do this for all configurations and platforms that you want to run.&nbsp; Once you do so, the tool will run (in both Win32 and x64 configurations) without issue.<\/font><\/p>\n<p class=\"MsoNormal\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/ActiveX%20Container%20App.png\"><\/p>\n<p><font face=\"Calibri\" size=\"3\"><\/p>\n<p class=\"MsoNormal\">For Visual Studio 2010, the sample was converted to the new Visual C++ build system (based on MSBuild) and the problematic setting was removed during the conversion.&nbsp; So for Visual Studio 2010, the sample builds and runs (in both Win32 and x64 configurations) without issue.<\/p>\n<p class=\"MsoNormal\">This tool was removed from the set of tools shipped with Visual Studio 2008 for a couple of reasons:<\/p>\n<p class=\"MsoListParagraph\"><span><span>\u00b7<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>The code base is fairly old, and had not been maintained on a consistent basis, so there were some bugs in the tool but no resources available to fix them.<\/p>\n<p class=\"MsoListParagraph\"><span><span>\u00b7<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>The perception was that the tool wa<a class=\"\" name=\"_GoBack\"><\/a>s no longer widely used by our customers, so shipping it as a sample was thought to be sufficient.<\/p>\n<p class=\"MsoNormal\">More information about the sample can be found <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/f9adb5t5(VS.100).aspx\"><font color=\"#0000ff\">here<\/font><\/a>.<\/p>\n<p class=\"MsoNormal\">I hope you find this information helpful.&nbsp; Feel free to ask any questions you have and I\u2019ll do my best to answer them.<\/p>\n<p class=\"MsoNormal\">Pat Brenner<\/p>\n<p class=\"MsoNormal\">Visual C++ Libraries Development<\/p>\n<p><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, I\u2019m Pat Brenner, a developer on the Visual C++ Libraries team.&nbsp; I\u2019ve noticed some posts on various forums lamenting the loss of the ActiveX Test Container application and I wanted to address those concerns. The ActiveX Text Container tool is still available as a sample in Visual Studio 2008 and Visual Studio 2010.&nbsp; It [&hellip;]<\/p>\n","protected":false},"author":289,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[37,23,38,10,11,39],"class_list":["post-3993","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","tag-activex","tag-atl","tag-container","tag-mfc","tag-test","tag-tstcon"],"acf":[],"blog_post_summary":"<p>Hello, I\u2019m Pat Brenner, a developer on the Visual C++ Libraries team.&nbsp; I\u2019ve noticed some posts on various forums lamenting the loss of the ActiveX Test Container application and I wanted to address those concerns. The ActiveX Text Container tool is still available as a sample in Visual Studio 2008 and Visual Studio 2010.&nbsp; It [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/3993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/289"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=3993"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/3993\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=3993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=3993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=3993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}