Category Archives: C#

Upload using C++ as Client and PHP as Server

Level: Beginner (coder) This is a small tutorial which will teach you how to upload files using a C++ client application to a server running PHP. I had previously posted a version for C# that can be found here: http://www.johny.org/2007/08/upload-using-c-as-client-and-php-as-server/ … Continue reading

Share
Posted in Apache, C#, Client-Server, PHP, Programming, Tutorials | 3 Comments

Disable Column Sort in DataGridView

DataGridView has column sorting enabled by default. It’s usually a good thing but in some rare cases it can be a problem and should be disabled. To disable it, add a ColumnAdded event: this.dataGridView1.ColumnAdded += new System.Windows.Forms.DataGridViewColumnEventHandler( this.dataGridView1_ColumnAdded); and add … Continue reading

Share
Posted in C#, Programming, Tutorials | 3 Comments

Get your Free Alarm

Every once in a while, I challenge myself, I think of a small application that might be useful to me and time myself to see how much time it took me to write it. The latest one, the one I … Continue reading

Share
Posted in C#, Project | Tagged , , | 7 Comments

Upload using C# as Client and PHP as Server

Level: Beginner (coder) This is a small tutorial which will teach you how to upload files using a C# client application to a server running PHP. We’ll call the PHP script “upload.php”, this is what it should contain: <?php $uploaddir … Continue reading

Share
Posted in C#, Client-Server, PHP, Programming, Tutorials | 11 Comments