Questions tagged as 'c#'

0
answers

Error creating a device with Microsoft.DirectX.Direct3D.Device (D3DERR_INVALIDCALL)

I am doing a desktop project on Winforms under the C # language together with Microsoft.DirectX.Direct3d, specifically Microsoft.Samples.DirectX.UtilityToolkit.Framework , to create a Device class that connects to my video output, for this I ha...
asked by 01.04.2018 / 23:35
0
answers

In an application in ASP.NET c # that copies a file in a local network from a client to the server. What user should I give permission to?

Good morning, thank you in advance for the collaboration you may receive. The situation is as follows, I have an application in .NET That copy a configuration file of several clients to the server in a Local Network, the problem is that for it t...
asked by 02.04.2018 / 21:11
0
answers

Merge two serialized lists so that one depends on the other, C #

I have this problem with a program that I am doing, the goal is after having registered several cyclists in the program and have saved their data, register activities to these cyclists and that each activity belongs to a single cyclist and then...
asked by 02.04.2018 / 20:44
2
answers

Visual Studio Team Foundation System

Colleagues, I have the following problem, I am making an application with Visual Studio 2015 using TFS for code control. The issue is that for architectural reasons, I changed the directory for the project of the UI, which is added to the projec...
asked by 27.03.2018 / 15:45
0
answers

how to save a square image when the original image is rectangular?

I'm trying to store in a folder called Photos only square images but I can not do it, any ideas? private void btnFoto_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDial...
asked by 29.03.2018 / 16:23
0
answers

Why is my report viewer "loading"?

Hello, I have a report in vs 2017 and when executing it in the browser it stays stuck, here I leave the code: <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <rsweb:ReportViewer ID="ReportVi...
asked by 29.03.2018 / 17:42
1
answer

Print a Report (ReportViewer) from Code (Without preview)

protected void Page_Load(object sender, EventArgs e) { //aqui muestro mi reporte en la pagina if (!Page.IsPostBack) { using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["cn"].ToString())) { SqlComm...
asked by 03.04.2018 / 18:44
1
answer

List of Levels in Unity with C #

In the project where I work (with Unity 2017.3) I must use a single scene for all levels of the game. Each level has its class with its particular implementation, but they all inherit from the Level.cs class. What I need is to store the levels i...
asked by 03.04.2018 / 18:07
2
answers

How to return a list to a controller by post

I load my list by getting a list of people and the charge in an html table but then I have to return the same list by post but it returns empty to me [HttpGet] public ActionResult GestionUsuarios(string f) { Response res = new...
asked by 03.04.2018 / 17:08
0
answers

Selenium control Modal PopUp web

I need to create a method in c # so that the selenium webdriver according to the test accepts the popup button on the web since in the first test it does not show the popup but in the rest of the executions yes. For what I need if you show th...
asked by 04.04.2018 / 16:04