visual-studio-2010

microsoft synchronization data server version 2.0.0.0 to be installed in Global Assembly cache

我只是一个虾纸丫 提交于 2020-01-06 03:15:06
问题 I'm trying to deploy my published project in a client's computer but the setup keeps giving me this error "microsoft synchronization data server version 2.0.0.0 to be installed in Global Assembly cache" first Any help with that would be appreciated! I worked on C# Visual stuido 2010 and my PC is 64bit, and my clients pc is also 64bit Thanks 回答1: You have to install Sync Framework on your clients PC. Maybe some other Sql frameworks as well. This page says: On an x86 platform, the x86

Program cannot open file, but the file is already there

ぃ、小莉子 提交于 2020-01-06 02:59:06
问题 I am writing a program that will open an image file, but strange thing happened. This is the output from cmd: C:\Users\Karl\Pictures>testcvconsole mypic.jpg argv[0]==testcvconsole argv[1]==mypic.jpg fopen is null strerror(errno)==No such file or directory Are there something I should consider when fopen simply failed to open my file when the file is right there along side with the executable file in the same directory? This is on Windows 7, Visual Studios Express 2010. C++. EDIT : code below

Tools for c++ multiplatform projects

霸气de小男生 提交于 2020-01-06 02:58:18
问题 I am working with a c++ multi-platform project using visual studio 2010, there is a shared portion of code among all platforms, but there is a big portion that is dedicated to each one, I separate them using #if def, but it turns out that code maintenance become very though and the code is cluttered, in addition to problems like code does not compile with some defines turned on or off. Is there any plugin or tool for visual studio that helps in developing multi-platform projects, for example

Team City build fails after upgrade to VS 2010

£可爱£侵袭症+ 提交于 2020-01-06 02:53:06
问题 I have a project that currently compiles happily on my dev machine using VS 2010 (presumably using MSBUILD v4.0), but it fails under MSBUILD v3.5 in Team City (running on a VM based on Win 2003 server w/ .NET 2, 3.5 and 4 installed). This project is newly upgraded to 2010, and is now failing on the CI build. I've Googled this and tried everything obvious (plus a few things that didn't make sense) and nothing affects the outcome. The project fails with a sequence of errors like this: error

Checking db for null values

那年仲夏 提交于 2020-01-06 01:33:31
问题 I am trying to find a way to insert a message into a textbox if the entry in a table is null or blank. I have tried the following code, but the textbox is not displaying the message. I know I have coded wrong but cannot see it. Can someone please point out my error. Thanks Private Sub UserDataGridView_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) _ Handles UserDataGridView.CellContentClick Dim value As Object = UserDataGridView.Rows

Page EventValidation is True error?

让人想犯罪 __ 提交于 2020-01-05 21:27:10
问题 i did two listbox and value swap by using Input sumbit type(Html tag) onclick event of Jquery..values are easy to swap from 1 listbox to another but when i go for store selected value from listbox so selected value given me.. First i got error Page Eventvalidation=true so i searched on google and solve this problem by using protected override void Render(System.Web.UI.HtmlTextWriter writer) { Page.ClientScript.RegisterForEventValidation(lsttolimo.UniqueID,this.ToString()); base.Render(writer)

how to use lessmsi to install TypeScript for VS 2010

Deadly 提交于 2020-01-05 18:05:40
问题 I am trying to use lessmsi to Uncompress/Extract an msi file to a temporary location , which is number (4) on the list of things to do while installing TypeScript with VS 2010 I tried performing an extraction as admin via the following command prompt in the directory where the msi file exists, using: C:\Users\John\Downloads>lessmsi x TypeScriptSetup.0.9.1.exe C:\Users\John\Downloads\newWork but it is telling me: 'lessmsi' is not recognized as an internal or external command operable program

Cannot determine the location of the VS Common Tools folder

给你一囗甜甜゛ 提交于 2020-01-05 10:09:45
问题 I have a batch file that calls MSBuild and builds three Visual Studio solutions: call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" MSBuild solution0.sln /property:Configuration=Release MSBuild solution1.sln /property:Configuration=Release MSBuild solution2.sln /property:Configuration=Release This works fine. However, I want to prompt the user to select a version of the program to build. Depending on the user input we build a particular set of solutions. My problem is

How do I add checked item(s) in my checkedlistbox to a DataGridView?

末鹿安然 提交于 2020-01-05 09:32:36
问题 I have a dropdownlist that selects category list from Database and display the product name onto the checkedlistbox. But how do I grabs the checked items from the checkedlistbox to the DataGridView? This is how my design looks like: Also, how do I make every medication that has been added to the Gridview has a default value of 1 Quantity? 回答1: Add this code to your Add button click event: private void button1_Click(object sender, EventArgs e) { for (int i = 0; i < checkedListBox1.Items.Count;

How do I add checked item(s) in my checkedlistbox to a DataGridView?

♀尐吖头ヾ 提交于 2020-01-05 09:31:23
问题 I have a dropdownlist that selects category list from Database and display the product name onto the checkedlistbox. But how do I grabs the checked items from the checkedlistbox to the DataGridView? This is how my design looks like: Also, how do I make every medication that has been added to the Gridview has a default value of 1 Quantity? 回答1: Add this code to your Add button click event: private void button1_Click(object sender, EventArgs e) { for (int i = 0; i < checkedListBox1.Items.Count;