How do you read a CSV file and display the results in a grid in Visual Basic 2010? This sounds so simple but I still can't find the answer to it after googling for a while. I have DataGridView on a form and it's called DataGridView1. I have a csv with just 3 columsn of data and I want to be able to display them.
...
When debugging a C++ Boost.Test application inside VS2010 (VS2008), how to make the debugger stop at Boost.Test assertion failure points?
...
Hi,
This is the connection string that gets generated with the "New ASP.Net Website" template in vs 2010
<connectionStrings>
<add name="ApplicationServices"
connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
providerName="System.Data.SqlClient"...
Hello, I'm trying to run an httphandler (ashx) in a asp.net 4 website.
When I call it from Visual Studio integrated server, it returns a 404 error.
It works if I call it on the site configured into the local IIS.
Someone could help?
...
I have a macro which runs fine within the Macro Editor but not if run from Visual Studio - either from Macro Explorer or when bound to a key. In either of the last two cases, the Wait cursor appears briefly but the macro has no effect. Since it's the first one I've ever written, I don't know what's wrong. Anyone seen this behaviour befor...
Hello,
I am trying to bulk isnert XML Data into SQL Server 2008 Express with SQLXMLBulkLoad Object Model from C# (Visual Studio 2010).
My problem is that I am stuck with the relationships. Consider the following annotated XSD file:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
...
Heya,
I've been out of doing proper programming for sometime, so as an exercise in trying to get some practice, I'm trying to make a program to solve Sudoku in C# (VS 2010)
My problem occurs when I'm trying to create some form of initial grid for the data out of text boxes. Back when I used to use VB6, I could call all text boxes as a ...
I am using Npgsql to connect to the postgresql database from visual studio 2010. With the download package there is an XML file named Npgsql which seems to contain some information which we generally see in the visual studio intellisense. Now I want to add this intellisense information into the IDE so that it is available while coding.
...
I'm working on a utility for SharePoint. It's an app that works for both SharePoint 2007 and 2010. When I have a reference to the 12.0.0.0 version of the SharePoint.dll, the app works for SharePoint 2007, but not for 2010. If I reference version 14.0.0.0 of the dll, then the app works great for 2010, but not for 2007.
I can easily te...
ok i just upgrade it to visual studio c++ 2010 express. when i use gdi+ i get errors not in my file but in the gdi+ header file
one of the errors is this
c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gdiplusimaging.h(74): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
here is the ...
7 Questions:
1 Can I sell the software I make in it?
2 What kind of licenses am I allowed to use?
3 Any templates for Terms of Use & Conditions?
4 Can I just distribute the exe in the /Release folder?
5 What if I use class libraries?
6 How do I stop people from installing it after the trial period is up?
7 How do I make a custom install...
I'm running into a small but weird annoyance that seems to be happening to other people, too (for example, check out the revision history of SEDE). I have a SQL Server 2008 database project in Visual Studio 2010 that works properly. When I go to commit/checkin to source control, I'm told that my DB project's .dbmdl file has changed, even...
In the past week or so, I've noticed that Visual Studio 2010 is not recompiling code unless I force it to. This is a C# 4.0 project with WPF. I hit F5, which seems like it used rebuild, if the code had changed, and then launch the app. Instead, it now says in the bottom left status bar "Build Successful" and launches the application. It ...
I am getting a strange error after trying to compile under 2010. The compiler doesn't seem to understand my [DataMember] attribute:
error CS0246: The type or namespace name 'DataMember' could not be found (are you missing a using directive or an assembly reference?)
Shouldn't this all be defined in System.Runtime.Serialization?
Any in...
I have some concerns about using the "Add Service Reference" dialog in Visual Studio 2010.
When I look at the files it generates, they contain references to 4.0.0.0. However my project is targeted to .NET 3.5. Is this going to be a problem? Or is it just the generation tools using .NET 4.0?
Examples:
configuration.svcinfo
<?xml versi...
I recently bought and installed VS2010 Professional Upgrade on a system where I had VS2008 installed. I had been told on a Microsoft discussion forum that the Upgrade version required VS2008 to already be installed. Fine.
So now that it's done I still have VS2008 sitting there, taking up space, even though I'm using VS2010. Is the...
Starting with MVC2, messing around with a simple db and just using the index view to display the items like:
in the controller:
//
// GET: /Equipment/
public ActionResult Index()
{
return View(database.Artists.ToList());
}
then the auto generated code in the view:
<td> <%: item.ArtistID %> </td>
...
I have MVC 1.0 project in Visual Studio 2010 on FX 4.0 and fortunately I do not have problems like others do but, well, different ones :)
My project has one mvc project and one class library. When I set both projects to x64 (or AnyCpu) first line of all my aspx pages
<%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl(pr...
Hay all.
im using vs 2010 , and i have created a project which im trying to install using the setup from vs 2010. i need it to be able to be installed multiple times. and i didnt find the answer on the web. i have read some documents about orca and transform but not an understandable example.
thanks in advance.
...
I'm using Visual Studio 2010 to edit XAML for Silverlight (4). On a daily, or even hourly basis I lose my XAML intellisense randomnly.
Often I'll get a whole page of valid XAML smothered in blue underlines from Visual Studio 2010's parser getting confused:
Here is one of the errors:
Error 6 The type initializer for
'Microsoft...