visual-studio-2012

Windows Phone 8: Reading XML from Web

淺唱寂寞╮ 提交于 2019-12-23 03:46:17
问题 As part of a project i am working on i am trying to load this XML page (http://weather.yahooapis.com/forecastrss?w=2459115) into my Windows Phone 8 application and save the a number of the values as variables. I am using Visual Studio 2012 professional and VB.net. So far i have searched and tried a number of ways just trying to save one variable to start with but i am unable to get it to read. this is what i have so far Partial Public Class MainPage Inherits PhoneApplicationPage Private

VS2012 Error on setup on Windows 8 - Visual C++ 2012 x86 Minimum Runtime cannot be found

旧城冷巷雨未停 提交于 2019-12-23 03:44:06
问题 I am getting a few errors trying to download the new VS2012. Its a fresh install of windows 8 (did the windows update). I have tried not selecting all (no C++, lightswitch, blend, office tools) I tried different mounting tools for the .ISO but no luck. VS2010 is still working. Running x86. Log file Errors: Critical: Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.507 Cannot find the requested object. Microsoft Visual Studio 2012 Pre-Clean Tool Cannot find the requested object Microsoft

set as start page in vs2012

五迷三道 提交于 2019-12-23 03:43:09
问题 back on vs2010 I had the option to choose a web project set it as start project and in it, set a specific aspx page as start page so when I click wrun this page opens in my default browser How can I set start page in vs2012? 回答1: Project Properties > Web > Specific Page Property Pages Settings for Web Projects 回答2: That has nothing to do with VS2010 or VS2012. Your problem is related to the fact that you use ASP.NET MVC. You don't have a start page because you don't have pages any more. You

ILMerge strange behaviour

℡╲_俬逩灬. 提交于 2019-12-23 03:34:13
问题 I have an issue using the latest version of ILMerge and I would like if someone can explain me if this is normal. During my search on the web I realized I was not using the latest version of ILMerge so I updated my projects and this is where everything got wrong… First let me explain quickly my project dependencies: The dll project A references and uses ILMerge. The dll project B references and uses the dll A but it do not reference ILMerge. The application project C reference the dll B but

Can't define variables after a function call

这一生的挚爱 提交于 2019-12-23 03:11:04
问题 I have a great experience of C++, and now I'm trying to do some things in pure C. But I noticed a really strange fact. The following code: #include <stdio.h> int main() { double a; scanf_s("%lf", &a); double b; b = a + 1; printf("%lf", b); return 0; } compiles OK in sourceLair (with gcc compiler, as well as I know), but generates following errors in Microsoft Visual Studio (with Visual C++): 1>Task 1.c(8): error C2143: syntax error : missing ';' before 'type' 1>Task 1.c(9): error C2065: b:

Can I change the default naming of Components in Visual Studio 2012

蓝咒 提交于 2019-12-23 03:03:33
问题 When I drop a textbox on a form, VS2012 will create a default name. Is there anyway to change these defaults so they are closer to our coding standards? I know I can change the name, but if I can automate that so much the better. 来源: https://stackoverflow.com/questions/14734816/can-i-change-the-default-naming-of-components-in-visual-studio-2012

c1xx : fatal error C1083: Cannot open source file - with some Chinese or Javanese

微笑、不失礼 提交于 2019-12-23 02:36:42
问题 I am getting the following compilation errors:** 4>c1xx : fatal error C1083: Cannot open source file: '䀀∀䤀渀挀氀甀搀攀倀愀琀栀猀䘀漀爀䴀甀氀琀椀刀愀挀欀䌀漀爀攀䰀椀戀⸀琀砀琀∀': No such file or directory 4> ∀䐀㨀尀瀀㐀挀氀椀攀渀琀尀倀爀漀䄀甀搀椀漀尀搀攀瘀开瘀猀㄀㈀尀倀爀漀䄀甀搀椀漀尀堀倀氀愀琀昀漀爀洀尀䄀瀀瀀猀ⴀ䌀漀洀洀漀渀尀䌀漀搀攀尀吀栀爀攀愀搀猀尀圀䌀䔀爀爀愀渀搀䴀愀渀愀最攀爀⸀挀瀀瀀∀ 4>c1xx : fatal error C1083: Cannot open source file: '∀䐀㨀尀瀀㐀挀氀椀攀渀琀尀倀爀漀䄀甀搀椀漀尀搀攀瘀开瘀猀㄀㈀尀倀爀漀䄀甀搀椀漀尀堀倀氀愀琀昀漀爀洀尀䄀瀀瀀猀ⴀ䌀漀洀洀漀渀尀䌀漀搀攀尀吀栀爀攀愀搀猀尀圀䌀䔀爀爀愀渀搀䴀愀渀愀最攀爀⸀挀瀀瀀∀': No such file or directory 4> 匀漀甀爀挀攀猀尀圀䌀䰀漀最最攀爀⸀挀瀀瀀 4>c1xx : fatal error C1083

NodeJS - Cannot open include file: 'unistd.h':

笑着哭i 提交于 2019-12-23 02:36:19
问题 I am using VisualStudio 2012 and run on a windows 7 machine. I want to execute the command make all under my windows machine. For this I installed Make for Windows. Furthermore, I want to compile node library talib. I opened the make file to execute the commands by nodeJS itself. That`s the command I want to run: cd ./src/lib && node build.js && cd ../../ && node-gyp configure && node-gyp build The first part, runs well: cd ./src/lib && node build.js However, running the second part cd ../../

OpenCV: contourArea assertion failed

不羁岁月 提交于 2019-12-23 02:18:23
问题 when I try to start my application it crashes unexpectedly while executing contourArea. Here is the error: OpenCV Error: Assertion Failed (contour.checkVector(2) >= 0 && (contour.depth() ==CV_32F || contour.depth() == CV_32S)) in unknown function, file ..\..\..\src\opencv\modules\imgproc\src\contours.cpp, line 1904 My program is simple: 1.catch frame from camera, 2. gaussian and median filtering, 3. morphological opening, 4. threshold, 5. findContours, 6. draw the contourn with bigger area

Skype4Com on Windows 8

别等时光非礼了梦想. 提交于 2019-12-23 01:43:23
问题 I'm trying to use Skype4COM api C# on a Windows8 machine using Visual Studio 2012 RC ide. I'm not even able to create the Skype object because of this error: Creating an instance of the COM component with CLSID {830690FC-BF2F-47A6-AC2D-330BCB402664}using CoCreateInstanceFromApp failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). Please make sure your COM object is in the allowed list of CoCreateInstanceFromApp. I also