Questions tagged as 'c#'

1
answer

I want to print a PDF in VS with C # without running ADOBE READER that only prints directly

I load the pdf in a GRID and print the documents that come out (If the query brings 2 = print those 2 PDFs) the problem is that it generates a lot of load in the server since it runs adobe to print each PDF and then I can not close the program I...
asked by 30.07.2018 / 15:52
0
answers

Start OneClick Application from a Windows Service

I am developing a Windows service, which aims to be verifying if an application is running or not and if it is not running, what you should do is run the application. The application that must run is OneClick Application type (.appref-ms), fo...
asked by 31.07.2018 / 19:00
1
answer

Table relationships of the EF error model

Good morning, I'm new to ASP.NET MVC and I'm trying to make a simple application where I only have two tables, the first table is the author and the second is the table books. When I give you an author, it saves it in the database, but when I wa...
asked by 31.07.2018 / 23:48
2
answers

I have a problem 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll in C #

I must print each of the elements that I bring to a GRID but it generates that error when entering the cycle if I put it in in try to print them but the program does not close it is executed in the background and I must close it killing the proc...
asked by 31.07.2018 / 22:39
0
answers

The project file could not be loaded. Data at the root level is invalid. Line 1, position 1

For some reason my visual studio projects do not work, all I can achieve is to get this message:    The project file could not be loaded. Data at the root level is invalid. Line 1, position 1. The file that indicates if it exist...
asked by 29.07.2018 / 19:54
0
answers

Keep digital signature in pdf

I'm making a console application that downloads several .pdf files from a web service of our same organization, to then perform a merge and with caliber convert it to .epub. The problem arises that these documents have a digital signature, wh...
asked by 29.07.2018 / 12:13
1
answer

C # Ticket printing

I would like to ask for help with a program that prints sales tickets, I have made all the printing of tickets but I need to add a header image and a text at the end as a footer, I hope you can help me leave the code to be reviewed and in case s...
asked by 30.07.2018 / 17:59
0
answers

How can I print my complete invoice in c #?

I have a software made in c #, for the impressions but when I print I printed a piece of the invoice, Invoice must be the printed points of sales as the Star SP500 printer. This is the code I use for printing. private void DocumentoFactura_Pri...
asked by 30.07.2018 / 16:53
0
answers

SQL Server Transaction insert object list?

I would like to be guided, I have a stored procedure in a transaction that does the following: The Sales table has a trigger that triggers when the "ProductId" column is changed, this to record the changes made in the "Sales" table in a blog...
asked by 04.08.2018 / 00:01
1
answer

Save to one drive from. NET

I have the need to keep a history of certain documents, my initial solution was to copy them to a shared folder from .NEt, but that does not seem very secure. Can I load those files to one drive using .NET with c #? If so, I would like: ((docume...
asked by 03.08.2018 / 23:43