Questions tagged as 'c#'

1
answer

Access files in OneDrive folder

This is developing an application in .Net that requires access to office files (Word, Excel, PDF, etc.) hosted in OneDrive folders, the access must be stream level and not logical, since you want to add an electronic signature to said documents,...
asked by 12.06.2017 / 16:53
1
answer

Export PDF with gridview asp.net c #

Hello, I would like you to help me. I am doing an export of a gridview to a pdf in the asp.net c # language but I get an error that is missing the reference that should have runat server but if the datagrid is within a form server = runat...
asked by 13.06.2017 / 21:57
1
answer

How to control the Leave or Validated event of a textbox inside an MDI container? C #

The detail is that I have a form which I call frmPrincipal which has the property MDiContainer as true, when starting the command form call as child a form called frmArticulo , the main idea is that if at the time of registering a new a...
asked by 13.06.2017 / 21:47
0
answers

Know if file is in use (.exe)

I am making an application to update my system, I download it in% temp% then I apply: File.Copy(LocalFolderTemp + fileNameFTP, fileNameFTP,true); But when the file is in use EXE's does not release any warning that could not be copied, it ju...
asked by 13.06.2017 / 12:52
0
answers

Dynamic buttons

How about. I'm trying to make some dynamic buttons inside a modal (the same for the three main buttons). When clicking on a main button (those of the first image) Revive a modal with more buttons, for now just change the name with a scr...
asked by 21.06.2017 / 14:59
0
answers

System.Threading.ThreadStateException Using OpenFileDialog

I'm trying to make a dialog to get a path through the OpendFileDialog, but I skip the exception System.Threading.ThreadStateException . The application is a WebAplication , hosted on a server. Therefore, the PDF must be generated...
asked by 14.06.2017 / 09:09
1
answer

Insert Data Error EntityFramework Core

Sorry if the question is very obvious but I'm new to the subject and looking in Google I can not find anything about what happens. I have the Next entity. public class Equipo { public int Id { get; set; } public string S...
asked by 09.07.2017 / 00:38
1
answer

OpenQA.Selenium.WebDriverException

I'm starting to do small automated tests with Selenium webdriver and Visual Studio. Generated a unit test project with the following code: Then I downloaded and installed the corresponding webdriver. When running the tests it opens the...
asked by 09.07.2017 / 01:46
1
answer

Path desired in iTextsharp (remote)

With this code I can create the document and assign it a path in the temporary files: string nombre = System.IO.Path.GetTempPath() + Guid.NewGuid().ToString() + ".pdf"; And I think the document: Document doc = new Document(PageSize...
asked by 05.06.2017 / 18:35
1
answer

I need to convert a field from a bindinglist to combobox

This is the code that is not working: public class DetalleTurnoPersonal { public string Nombre { get; set; } public DateTime Fecha_Entrada { get; set; } public TimeSpan Hora_Entrada { get; set; } public Dat...
asked by 16.06.2017 / 16:35