visual-studio-2010

_AMD64_ not defined in VS2010

纵饮孤独 提交于 2020-01-24 06:44:28
问题 I created a new c++ project in VS2010. I added x64 as a new solution platform. I tried setting "copy settings from" to both "Win32" and "empty", but neither worked. _AMD64_ is not defined when I select x64 as the platform. Shouldn't it be? Is there another step I am unaware of for compiling for 64 bit? In anticipation to questions: I am using VS2010 Ultimate, Windows 7 64bit, x64 compilers were selected during VS installation. 回答1: You've got all the steps right. An _AMD64_ symbol is not

Uninstalling Sync Framework without breaking Visual Studio

て烟熏妆下的殇ゞ 提交于 2020-01-24 05:15:06
问题 Not strictly programming-related, but I do not know where else to post this question: Is Sync Framework a truly indispensable component of Visual Studio 2010? From what I read about the Sync Framework, it is a tool that helps developers "synchronize data across multiple data stores," (Quoted text literally taken from Wikipedia's article on Sync Framework) a task that does not seem to be central to Windows, .NET Framework or Visual Studio. Since none of my programming activities involves

CUDA 5 and Visual Studio 2010 intellisense error

梦想与她 提交于 2020-01-24 04:37:31
问题 I have installed CUDA 5 toolkit (32 and 64 bit as that seemed to work) and have made a CUDA runtime project in VS 2010, it compiles fine and runs but I get a red line under the call to the CUDA function. It isn't a massive deal but it is a little annoying, is there any way to remove this? I'm guessing it is some project setting or some such but I have no idea and neither does Google. I have attached a screenshot so you know what I am talking about. Thanks for reading this, I appreciate it.

Sharepoint Development in Visual Studio 2010

旧巷老猫 提交于 2020-01-24 04:22:08
问题 Is it possible to develop for Sharepoint using Visual Studio 2010 pointing to the Sharepoint installed on a seperate server? When I try to add a sharepoint connection in VS2010 it gives my error that there is no sharepoint server installed on my machine. Do I really have to install it on my machine? Can't I just connect to a sharepoint server for developing application? Cheers. 回答1: Unfortunately, you cannot develop against a remote SharePoint installation. You must have a running SharePoint

Crystal Reports and VS2010

a 夏天 提交于 2020-01-23 22:20:19
问题 We have Crystal Reports running and it is tied into our VS2010 installation. I have not looked at the instance in a long time because we had a devoted Crystal developer on board, however he is gone now and I need to make a few changes. When I try to open up the .rpt file in VS2010 all I get is garbage, not the Crystal Report with the GUI. What do I need to configure/install to get to see this inside VS2010? EDIT: When I go to my .rpt file to edit it with Crystal Reports, I get a white screen

VS2010 RDLC C#. How can I set a LocalReport object to a ReportViewer?

无人久伴 提交于 2020-01-23 21:37:29
问题 I have a LocalReport object that I fill with all the apropriate information. I use this same report object to export to different formats. My users can select Image, Excel, Word, Pdf, etc. and I use the same report object to facilitate those request. My issue is sometimes they may want to view it. I know I can open the exported type but that is not what I want to happen. I want to view it in a ReportViewer . I know I can set ReportViewer.LocalReports properties and get what I'm looking for ,

VS2010 RDLC C#. How can I set a LocalReport object to a ReportViewer?

ε祈祈猫儿з 提交于 2020-01-23 21:37:28
问题 I have a LocalReport object that I fill with all the apropriate information. I use this same report object to export to different formats. My users can select Image, Excel, Word, Pdf, etc. and I use the same report object to facilitate those request. My issue is sometimes they may want to view it. I know I can open the exported type but that is not what I want to happen. I want to view it in a ReportViewer . I know I can set ReportViewer.LocalReports properties and get what I'm looking for ,

Exporting datasets into multiple excel sheets of one excel file

对着背影说爱祢 提交于 2020-01-23 12:35:46
问题 I need to export two dataset's values in two excel sheets of the same workbook. My Query is like: //Dataset One: DataSet ds1 = new DataSet(); SqlCommand commandOpen = new SqlCommand("storedproc1", conSql); commandOpen.CommandType = CommandType.StoredProcedure; var adaptOpen = new SqlDataAdapter(); adaptOpen.SelectCommand = commandOpen; adaptOpen.Fill(ds1, "table"); //Dataset Two: DataSet ds2 = new DataSet(); SqlCommand commandOpen = new SqlCommand("storedproc2", conSql); commandOpen

Loading numpy into IronPython

我怕爱的太早我们不能终老 提交于 2020-01-23 12:22:13
问题 I've recently installed Ironpython + tools and having trouble loading external modules (numpy). this is my test code: import numpy numpy.test() when writing my simple test, intellisense can find numpy, however when it's run from vs2010, I get: ImportException was unhandled by user code: No module named numpy IronPython Console output (shortened): numpy\__init__.py line 141 numpy\add_newdocs.py line 9 numpy\lib\__init__.py line 4 numpy\lib\type_check.py line 8 numpy\core\__init__.py line 5

Loading numpy into IronPython

南楼画角 提交于 2020-01-23 12:19:56
问题 I've recently installed Ironpython + tools and having trouble loading external modules (numpy). this is my test code: import numpy numpy.test() when writing my simple test, intellisense can find numpy, however when it's run from vs2010, I get: ImportException was unhandled by user code: No module named numpy IronPython Console output (shortened): numpy\__init__.py line 141 numpy\add_newdocs.py line 9 numpy\lib\__init__.py line 4 numpy\lib\type_check.py line 8 numpy\core\__init__.py line 5