HOW TO SET A CONSOLE BACKGROUND IMAGE CAN WE DO IT?
HIIM NEW TO C# AND WANT TO KNOW IF WE CAN SET A BACKGROUND IMAGE TO A CONSOLE IF YES THEN HOW?:))
View ArticleHow to store .doc and image file in database using c#
private void FileStream_PUT(string filepath) { byte[] file; FileStream fs = new FileStream(filepath, FileMode.Open, FileAccess.Read); BinaryReader br = new...
View ArticleHow can I create a “treegx” (dev component) in C# with code
Iwrotethis code : TreeGX TreeGX_Project = new TreeGX(); TreeGX_Project.Size = new System.Drawing.Size(681, 380); TreeGX_Project.Location = new Point(3, 63); TreeGX_Project.Enabled = true;...
View ArticleHangman (IsValidData error) it is the only error i have. It says...
public frmWordEntry() { InitializeComponent(); } privatevoidbtnOK_Click(objectsender,EventArgse) { if(IsValidData()) {...
View ArticleMoving mouse quickly doesn't create the points in Red like when moved slowly...
On top of form1 i did:private int pixelscounter; private int counter; private float xFactor, yFactor; List<PointF> points = new List<PointF>(); double increment = 1.25; double factor = 1.0;...
View ArticleWindows printer unavailable - app hangs
Hello.This is how I do the printing in my winforms application.Lots of documents get printed every day cca 200 docs with 50 lines.But sometimes it happens that printer is not available and application...
View Article.NET software validation online.
Hi, we use an online validation in our software, where we use Json send and receive data to activate our product. But in some cases (some companies) I suspect a firewall which blocks this, and the...
View ArticleServer Explorer Error. VS 2012
Guys i'm getting this error while creating a new SQL Server database in VS 2012.A network related or instance-specific error occurred while establishing a connection to SQL Server. The server was not...
View ArticleRun console window from Windows Forms Application C#
Hi,I am developing an application using windows forms in C# and i would like to be able to open the application's console, input custom commands and execute them returning a message to the user or...
View ArticleSystem.Windows.Forms.DataGridViewCellFormattingEventArgs' does not contain a...
I keep getting the following error message when I compile my code: Error1'System.Windows.Forms.DataGridViewCellFormattingEventArgs' does not contain a constructor that takes 1 arguments What could...
View ArticleConverting JSON to Dictionary
Good day!I have program that accepts json string from a REST API. I use this code to get this data:HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); // authentication var cache = new...
View ArticleMVC 2
I created database name as sports and it contains TblPlayer, TblTournament, and then TblClub i need to show all three table values in Single View using Mvc 2 Please Help Me Friends. . . .dinesh
View ArticleCreating a new socket but it stops at "acc = soc.Accept();". Why?
public Socket soc; public Socket acc; public int port = 9000; public IPAddress ip; public Thread rec; public string name="";...
View Articleis it possible that in one Form,there is a button,when in runtime user click...
hi may i ask is it possible that in one Form,there is a button,when in runtime user click there is more infomrtion(like a big drop down) and user click again it disappeared?thank u very much like...
View ArticleApplication Install
Hi All,I have one exe named as "Installer.exe". I need to trigger the exe file from my windows app. So i used System.Diagnostics.Process to do the installation. Behavior of the application is it will...
View Articlepicture writing
Image YazıYaz(Image src,string yazı) { try { Graphics g = Graphics.FromImage(src); g.DrawString(yazı, new Font("Arial", 10, FontStyle.Bold), new SolidBrush(Color.Black), 0, 0); Image img = src;...
View ArticleHow to check if dataGridView checkBox is checked?
Hello, I'm having trouble with my coursework. I need to check, if the checkbox is checked in the dataGridView and then execute a certain code. The problem is, I don't know how to describe inside IF(?)...
View ArticleHow to compare dynamic objects array (Entity Type)?
I want to compare two dynamic (entity type from EF) objects array and I have to save data for the changed field's value.But I can't compare the values at runtime . I have attached the code bellow....
View Article