Questions tagged as 'visual-studio-2015'

2
answers

Visual Studio error: Unable to start the program (Unable to start program)

I would like to know why, when you run the following code, there is a little window in which it says:    can not start the program followed by:    can not find the specified file It also gives these errors:    'fopen': This func...
asked by 01.11.2016 / 15:05
2
answers

Problem when inserting data in windows form c # form with sql

I am developing a program that I am doing for my class, it is a small program of a hardware store where product information is kept, clients (so that if it is a distributor, apply discount) , types of products and so on. The problem is in th...
asked by 26.08.2016 / 05:20
1
answer

TextBoxt KeyDown Event

I'm working with Visual Studio 2015, windows forms, the problem I have is that it does not enter the KeyDow event private void txtCondicionPago_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Return) {...
asked by 19.08.2016 / 10:28
1
answer

Add references to Windows project

I just downloaded a project from the TeamFoundation and the project references are missing, how can I add them? I tried to install packages from the console and I get this error for example. Could it be that some feature of the Visual S...
asked by 07.10.2016 / 14:58
1
answer

Entity Framework Code First

When I work with code first when I have a navigation property and work with Map, is that navigation property just for the code? Another question, my primary key is a ProviderId string, how do I tell EF that my PK is not identity? public cla...
asked by 01.04.2016 / 01:50
1
answer

How can I access a control from a child form

I am working on a Windows Forms app. The problem is the following: I have a main form in which I have a panel where I call my forms which are user control. Starting from there, when I have a form in the panel I call a form (forms) and from th...
asked by 29.07.2016 / 18:39
1
answer

I can not choose items in the toolbox

I have installed Visual Studio 2015 Enterprise Update 2 I do not know when it stopped working, the only thing I did was install the update 2 a month or so ago. I have a custom control which I want to add to ToolBox but wh...
asked by 02.08.2016 / 01:15
1
answer

Create Id in a DataGridView

Hi, I have a DGV in which, through a button, I want to create its correlative code when I press the button private void btnNuevoClasificacion_Click(object sender, EventArgs e) { ClasificacionTalla ct = new ClasificacionTalla();...
asked by 30.04.2016 / 18:55
1
answer

How to know if I am in the last row of a DataGridView

When I want to check if I find myself in the last row, I get an error if (dgvClasificacion.CurrentRow.Index == dgvClasificacion.Rows.Count - 1) { dgvClasificacion.Rows.Add(); } Reference to object not establishe...
asked by 01.05.2016 / 03:36
4
answers

Initialize variables in the constructor

I'm initializing variables in the constructor, but I'm using UserControl the issue is that when I initialize variables after InitializeComponent (); I get an error that the object was not referenced, but when I initialize before InitializeCompon...
asked by 21.05.2016 / 05:54