Questions tagged as 'c#'

0
answers

WebBrowser is working on IISExpress from Visual Studio, but is not working on Windows ISS

The WebBrowser is working on IISExpress from Visual Studio, but it is not working on Windows ISS. I run this code after creating the Thread SetApartmentState(ApartmentState.STA) try { //BrowserValidate.FixBrowserVersion();...
asked by 02.03.2018 / 20:54
1
answer

How to assign a database value to a new object in C #?

I'm creating an application like a bank to train C #, but I stumbled into a situation. I have a database with the Accounts, Clients, and Account Types tables. In the table TypeCounts there is registered the item "Savings" with ID "1" and the ite...
asked by 03.03.2018 / 00:34
1
answer

How to translate the calendar header of Full Calendar? [closed]

Greetings, friends of Stack Overflow! I'm just one step away from completing a calendar using the fantastic Full Calendar plugin, which I'm grateful to have. However, I'm having some translation issues with it: Unfortunately, the locale / la...
asked by 02.01.2018 / 12:31
0
answers

Identify child control resize

Hello. I'm going through the following scenario. I have a UserControl that has dynamic width based on the text typed in a TextBox inside it. For this in the TextChanged event of this TextBox, the following algorithm is done: private void Mensu...
asked by 28.12.2017 / 20:50
1
answer

Socket.BeginSend Using lots of cpu

I have an online gaming server and I have 600 online users, but the cpu is a bit high (using 10 ~ 20% of 26GHz) and the profiler says that this line is using many features Socket.BeginSend(packet, 0, packet.Length, 0, OnSendCompleted, null);...
asked by 28.12.2017 / 06:35
1
answer

Help on PrintPage in C #

What processes to put a watermark (image) on the form that will be created by C # private void Imprimir_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) { Font fonte = new Font("Arial", 30, FontStyle.Bold,...
asked by 29.12.2017 / 00:21
1
answer

anyone can help with this message here Failed to locate or load the registered .Net Framework Data Provider?

I created an application with Windows forms connecting to firebird, where on my development machine everything works perfectly, but when I put it on the client machine, the following error occurs: System.ArgumentException: Unable to find the...
asked by 07.02.2018 / 18:38
0
answers

Doubt with hangfire.io, (BACKGROUND PROCESSING) [closed]

I'm using the www.hangfire.io for background processing on my system, so far no problems, but weighed a doubt. If Jobs is running, and I post a new version of the site, what will happen? Are Jobs still running or are they aborted?     
asked by 05.02.2018 / 16:12
1
answer

Replacing csproj gives problems?

For the second time my .csproj.user was detonated. I do not know why this has happened or what can influence this file. Well, this is a new project I did, using .Net Standard . When I open .csproj.user I have this: NULL...
asked by 05.02.2018 / 13:36
1
answer

Error trying to save data in two tables at the same time

Good morning. When updating a table my system has to save the current data in a historical table and only then save the form data in the table by performing the update. This is the action that receives the form to do the update, and soon call...
asked by 26.12.2017 / 14:48