Why does the http client nuget package contain net40/net45/win8 targets when...
And relatedly, why does System.Net.Http.Primitives exist in net40/net45/win8? It's an empty dll...Thx
View ArticleWHILE with multiple OR condition
Good Day.I'm trying to check user input in C# console if it is within specific values , my code is not working , would you please check and advise what is wrong ?...
View ArticleC# return captcha
I found a captcha code on the internet, but how can I return it in a textBox1.Text value? public string RandomCode(ref int length) { string charPool =...
View ArticleCan Equals()== true when two objects are conceptually equal, but not...
Hi, I frequently encounter a situation when I need to override equals on objects with large numbers of fields. How much trouble will I get into if I return a value based on a subset of those fields...
View ArticleButton image not visible when mouse over the button in wpf.
Hi, I dont know why button image not visible when mouse over the button.Set image to button..After my mouse over the button image not visible..
View ArticleSystem.Diagnostics.Process.Start crash with WMP
Hi,I have a weird problem with System.Diagnostics.Process.Start and Windows Media Player on Win 7.If i launch WMP and then execute my code, my app crashes:...
View ArticleCreating a search index using tree view control
HiI want to add a help index form for my windows form application. The I added a tree view control on the left side of the form and on the right side I want to have something to display the description...
View ArticleMDI application in windows 8
Hello everybody! I got a question that really bothers me for a long time and which I couldn't find an answer to so far. Why the hell on MDI applications the child forms looks like basic aero style...
View Articlehow to divide a group of bytes by two other bytes
I have byte array [9]; array = { 1,3,2,6,43,43,78,43} how do I divide array[8] << array[7] / array[1] array[2]...? likevar = 0000 0001 0000 0011 0000 0010 0000 1100 1010 1100 1010 1100 var2...
View Articlehow to prevent request lost in socket programming
Hello all,I have a question about how to prevent data (request) lost on socket programming.If I send the request with a half second call, it can be accepted the socket information. But it does not work...
View Articlehow to call receive method from other class file
Here is my code.class RowaReceiver { /// <summary> /// define socket variables /// </summary> public class StateObject { public Socket workSocket = null; public byte[] buffer = new...
View ArticleWhat 's Going on? configuration problems!
Server Error in '/' Application.The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid. public...
View Articlequery realted to command
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using...
View ArticleIs it possible in a .NET application to use Word API to compare plain text?
Hi All,I have any interesting problem statement. The intranet application (.NET 4.0) which I'm developing is used by users to create contract documents and the contract text is stored as plain text....
View ArticleDynamic created textbox/label visibility destroyed when i do the next click...
public partial class Products : System.Web.UI.Page { public static Label lblCat,lblSubcat; public static TextBox txtCat, txtSubCat; string _Cat;// stores new Sub cat string _SubCat; protected void...
View ArticleAutomatic DataGridView update AddWithValue
Hello guys, I have this code which does: Automatically updates changes in datagridview I need it to: As I don't have column named "akce" in datagridview I need it to automatically insert to every...
View ArticleHelp me please,how do i fix this error?
Warning1A reference was created to embedded interop assembly 'Accessibility' because of an indirect reference to that assembly from assembly 'System.Windows.Forms'. Consider changing the 'Embed Interop...
View ArticleMutual authentication on "c# .NET 4" server
Hello everybody, I developed a server application with C# .NET 4 , and I am meeting a problem when i try to connect to this server with a mutual authenticated SSL communication. It works well with a 1...
View ArticleC# combobox oddity
i have problem with combobox...there is my code : private void fPenyusutan_Load(object sender, EventArgs e) { var p = from c in ct.Penyusutans select c;...
View Articleprivate static void Method called from outside of class
Hi,We have a class written as below:public static class BusyIndicatorService { private static bool _isBusy; public static void SetBusyState() { SetBusyState(true); } private static void...
View Article