visual-studio-2010

How to reference system.drawing in Visual Studio 2010 Express?

时光毁灭记忆、已成空白 提交于 2020-01-03 19:16:18
问题 I'm somewhat new to this and I am under the impression that to draw a rectangle that I've created, I need to use system.drawing.graphics. Thing is, I get the error "The type or namespace name 'drawing' does not exist in the namespace 'System' (are you missing an assembly reference?)" and when I right click the References folder in the solution explorer, system.drawing is nowhere to be found. So I'm not exactly sure how to move forward in drawing a rectangle. 回答1: Namespace should be available

can I use SSDT/BIDS/SSIS using SQL Server 2012 express?

陌路散爱 提交于 2020-01-03 19:05:45
问题 Ideally, I want to make SSDT/SSIS packages on my desktop PC that I can test and deploy to a production server environment. On my PC I have: Windows 7 Visual Studio 2008 Visual Studio 2010 (shell) SQL Server Express 2012 (local dev copy of prod) [supposedly] BIDS (Business Intelligence Development Studio) and SSDT (SQL SErver Data Tools) etc. On my production server I have: Windows Server 2008 SQL Server 2012 Visual Studio 2010 (shell) I cannot load/run SSIS (SQL Server Integration Services)

can I use SSDT/BIDS/SSIS using SQL Server 2012 express?

北城余情 提交于 2020-01-03 19:04:26
问题 Ideally, I want to make SSDT/SSIS packages on my desktop PC that I can test and deploy to a production server environment. On my PC I have: Windows 7 Visual Studio 2008 Visual Studio 2010 (shell) SQL Server Express 2012 (local dev copy of prod) [supposedly] BIDS (Business Intelligence Development Studio) and SSDT (SQL SErver Data Tools) etc. On my production server I have: Windows Server 2008 SQL Server 2012 Visual Studio 2010 (shell) I cannot load/run SSIS (SQL Server Integration Services)

How can I embed Perl Interpreter inside a C++ application making DLL?

孤者浪人 提交于 2020-01-03 18:35:11
问题 I need a DLL built in C++ having Perl interpreter inside it and a Perl library exiftool by Phil Harvey being called by C++ functions. I want to do it on Windows 7 with Visual Studio 2010 VC++ installed. Which Perl distribution is best for this task: Strawberry or ActiveState Perl? Also, which Perl compilation command: nmake or dmake? In the end the final deliverable should be a DLL. This can be imported into any program C etc and the DLL functions will be called which will internally be

setting up OpenCV 2.4.2 with Qt Creator

こ雲淡風輕ζ 提交于 2020-01-03 18:01:31
问题 I tried two methods to use opencv with qt creator first one using Mingw where the dlls and .dll.a files are already downloaded with the opencv library and I just add reference to the .dll.a files in the .pro file as follow INCLUDEPATH += D:\\OpenCV\\opencv\\build\\include LIBS += D:\\OpenCV\\opencv\\build\\x64\\mingw\\lib\\libopencv_calib3d242.dll.a LIBS += D:\\OpenCV\\opencv\\build\\x64\\mingw\\lib\\libopencv_contrib242.dll.a LIBS += D:\\OpenCV\\opencv\\build\\x64\\mingw\\lib\\libopencv

__asm__ in c++ error

霸气de小男生 提交于 2020-01-03 18:00:49
问题 I'm trying to read the cpuid information with the following cod but it doesn't work. I'm using Visual Studio 2010: #include "stdafx.h" #include <stdio.h> int main() { int a, b; for (a = 0; a < 5; a++) { __asm__("cpuid" :"=a"(b) // EAX into b (output) :"0"(a) // a into EAX (input) :"%ebx","%ecx","%edx"); // clobbered registers printf("The code %i gives %i\n", a, b); } return 0; } This is what it say: 'project_scs.exe': Loaded 'C:\Users\rares992\Documents\Visual Studio 2010\Projects\project_scs

C# created Excel graph - Should be ScatterLine but it is Line type on other computers

喜你入骨 提交于 2020-01-03 17:52:41
问题 I am having a problem making the Excel graph-type appear as a ScatterLine. Oddly, after compiled, on my computer it appears as ScatterLine, but on everyone else's it appears as a Line type that has no X axis! private void showExcelXY_Open(ArrayList al) { ArrayList alX = new ArrayList(); ArrayList alY = new ArrayList(); alX.Clear(); alY.Clear(); for (int i = 0; i < al.Count; i++) { string[] val = al[i].ToString().Split('^'); alX.Add(val[0]); alY.Add(val[1]); } xla = new Microsoft.Office

How can I add C# language support to Visual Studio 2010 shell?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-03 17:42:08
问题 Greetings, I'm using Visual Web Developer Express 2010 to do some development; I have also the Visual Studio 2010 Shell installed, which I use to debug server and client code, using the Debug>Attach to process command. My problem is that C# (.cs) files open in the shell as if they're plain text files; there's no syntax colouring nor value evaluation on mouse hover over properties or values. Sometimes when I open ASP.Net pages in the shell I get an error message saying "The Visual Studio

VS10 Additional library directories fails when using a relative path

浪子不回头ぞ 提交于 2020-01-03 17:34:26
问题 When I set up my project with relative paths, it fails. // Does not work properties-linker-general-additional library directories ..\..\libraries // works fine C:\Users\NAME\Desktop\project\libraries How do I get the relative paths to work? 回答1: Try making it relative to your project directory or solution directory (as appropriate). I avoid playing guessing games with my current directory. Use the convenient variables defined by Visual Studio to avoid hard coding a path. $(ProjectDir)\..\..

VS10 Additional library directories fails when using a relative path

早过忘川 提交于 2020-01-03 17:34:12
问题 When I set up my project with relative paths, it fails. // Does not work properties-linker-general-additional library directories ..\..\libraries // works fine C:\Users\NAME\Desktop\project\libraries How do I get the relative paths to work? 回答1: Try making it relative to your project directory or solution directory (as appropriate). I avoid playing guessing games with my current directory. Use the convenient variables defined by Visual Studio to avoid hard coding a path. $(ProjectDir)\..\..