| by: dbirdz - 2009-07-25 07:27:18|
|This is an extension of the code written by Gimlock published on 2005-07-22, with some issues of inflexibility addressed. Additionally it supports not only WinForm ListControls, but also WebForm ListControls.|
| by: cadey - 2009-05-27 16:11:03|
|This seems like a hot topic and so I decided to make my own class to do this simple function. Its got a few extras that may not be needed for your implementation but feel free to rip those out or add more functionality to it :)
Added this as a project.
|I created a WinForms utility that depended on some DLLs and wanted the user to be able to just download and click on the exe to run the app. Usually if your exe needs some other files you wrap things up into a package and the user has to go through an install process. This takes time and forces the user to unistall if they don't want the program after it's served its purpose. I didn't like this and found a way to embed the files I needed into my exe and extract and link them when the program ran.|
| by: Galax - 2007-09-30 03:21:39|
|This article explains how to make simple program that will download file every n minutes and save it to specified folder. So you can basically grab web cam pictures.|
|The mono project (http://www.mono-project.org) provides a fantastic implementation of .NET that is truly cross-platform. This article shows you how to get started writing applications in mono and the basics of using Gtk# for cross-platform user interfaces.|
|This time we'll see a possible implementation of a Set class written in C#, since the framework doesn't implement it natively.|
|This time we'll dig into crypted streams under the TCP/IP protocol. We will see a basic implementation of a client/server application and we will learn how to write custom network headers classes to implement our own transmission protocol.|
|The purpose of this article is to enable a windows form (or control) to handle file drop. We will also see a little about data bindings and RichTextBox file handling capabilities.|
|This article shows the correct way to access UI controls from a worker thread|
| by: bb - 2006-10-24 07:55:46|
|How to get a list of parameters and their values from an SSRS (SQL Server Reporting Services) report from within an expression of the report. Its a nice way to echo out all parameters a report was run with without having to hardcode and means you can implement standard footers easily.|
|This time is about enhancing the System.Windows.Forms.ProgressBar .Net control.|
|A light introduction to custom control creation (C#).|
|This article shows how to overcome problems when dragging around transparent background images.|
| by: bb - 2006-06-26 07:37:06|
|Ever wondered how to create a button which toggles it's state in C# windows Forms? It used to exist in VB6 / Office development as a ToggleButton, but cannot easily be found in C#|
|This article shows you how to solve any Sudoku using a C# implementation of Knuth's DLX algorithm.|
|This article will explore my "challenge" math library, talking about prime generation, primality testing, prime factorization and some other useful functions too.|
|This article explains and demonstrates a way of defining and using variables and programmatically definable custom functions. Workings of a tokenizer, infix to postfix converter and a postfix expression evaluator with support for variables is described.|
|There are a couple of ways of making it so only one instance of a Windows Forms application can run at any one time, involving threading objects or the Process objects in System.Runtime. This article details potentially the best method to achieving single-instance Windows Forms applications.|
|This article will propose a different version of the Eval() function, based on the postfix notation (a.k.a. Reverse Polish Notation RPN). You'll see how to convert from infix notation to postfix notation, how to evaluate a postfix expression as well as some C# details that I used to do this such as regular expressions and custom exceptions.|
| by: cadey - 2005-11-08 16:26:00|
|This function will export a list view into Excel, keeping with it all the colours of your list views, items, and its fonts!!
All you need to do is call...
| by: bb - 2005-09-05 09:25:31|
|I've been working on porting a C++ application to C# for the last few weeks (although it seems like years), and I've had to do a few funny tricks to emulate how the C++ application works.|
|Sometimes you may have an enumeration of values that would be quite usefully used as data for a combo box or list box.|
|This time is about radix sorting and the fact that we can sort in linear time if we have to order a set of keys of fixed max length.|
|How a programmer can save time rising a real number to the power of a positive integer number. The code is dot.net but it's easily adaptable to any other language.|
|This article shows some result obtained from a comparison between C# built-in sorting quicksort and my implementation of quicksort... Guess who is faster!|
|This article shows how we can use the benefits of serialization sending data using Udp datagrams instead of Tcp connection.|
|This article shows how to create a custom event in C#. You create a custom object and you want that when one of its properties changes it raises an event. Can apply also to custom controls.|
|This article shows how to sort a custom made class using C# interfaces IComparable and IComparer because sometimes the simple Array.Sort() method is not enough...|
| by: TroPe - 2004-11-11 13:36:43|
|Learn to create functional mobile applications with .NET. We'll learn about emulators, multi-page forms, and mobile controls. When done with this tutorial, you should have a good enough understanding to create your own simple mobile application.|
| by: bb - 2004-09-22 12:37:39|
|A class which checks for valid urls and email addresses in C#|
| by: bb - 2004-06-14 10:25:54|
|This article describes how to get access to variables used during an MSI installation process in .NET by extending the System.Configuration.Install.Installer class.|
| by: bb - 2004-06-10 13:46:51|
|How to stop a windows form closing.
Typically if you want to ask the user a question to confirm saving changes etc. This is easily done by catching the form.closing event.
| by: bb - 2004-05-14 13:07:55|
|How to hide a column in an ASP.NET Datagrid if AutoGenerateColumns is set to True|
| by: bb - 2004-04-28 15:07:33|
|More mail sending code, and its not even mine! Heres an interesting free snippet of code I just used to send mail from my .net application. Why write your own rather than use the System.Web.Mail namespace? easy .. its rubbish!|
| by: bb - 2004-03-23 09:38:17|
|How to write a Windows form in the C# .Net programming language which takes a SQL instruction and dynamically produces a results list in about 7 lines of code.
| by: bb - 2004-02-02 14:28:02|
|Want to know how to do everything you used to do directly via Windows system dll calls but via the .NET Framework API.
|Microsoft know how to make things easy, and with Microsoft.NET most things are at your fingertips. Heres an example of doing a DNS Lookup in just two lines of code.
|At some point, every organisation moving to .NET is going to have to choose which .NET languages to adopt. Microsoft is offering four languages out of the box: C#, VB.NET, Managed C++ and JScript. This article briefly discusses our opinions on these language offerings and who's going to be using what.
In short, we believe C# will gain predominant market share; JScript is a non-event; C++ will continue to be marginalised and VB.NET doesn't appear to have a ready market.
|FxCop is a free .NET Developers tool which you can run over your .NET application and check how it performs compared to the Microsoft .NET Framework Design Guidelines.
Download it here, and get your applications running at full speed.
|It never fails to amaze me how nice and easy .NET is to use.|
This example shows how simple http GET requests can be performed using vb.net. Personally I always prefer to use C#, but this example will give you a little feel for with the vb.net syntax looks like.
|It was only a matter of time before decompiling of .NET Exe's and DLLs to MS Interlingua became a reality. Here are a couple of industry strength .NET decompilers which produces some incredibly accurate results.|
|The .NET Framework contains a rich set of cryptography resources. This document answers some of the questions commonly asked about these resources|
|Ok, so everyone says Microsoft aren't interested in open source. And yeah, i suppose I have to agree, however I was very surprised to see that they have published the source code for System.Security.Cryptography namespace of the .NET Framework.|
Due to licensing issues we can't actually host that source here, but read on for how to get access to it
|Accepting numeric values and returning their textual equivalents, useful for .. er .. something im sure.
This example uses c# forms, so you can at least see how windows forms are built up in C# using code only (no WYSIWYG editor)
|The first function to be called in any C# program is Main. We can have as many as four different ways to declare Main in our program. This article gets you started with an entry point into your first C# application|
|Remember touch from UNIX? It refreshes a file(s) modified time which can be very useful. This small tool lets you change many file datetime stamps from a simple GUI - no more shell scripts or batch files.|
|You better believe it. The .NET version of a Boulderdash game written for East German hardware in 1988. |
|When Microsoft launched its .NET strategy, one of the objectives was to allow software to be written for a variety of different platforms. It submitted .NET to ECMA for standardization and many people now consider it to be more "open" and accessible than the Java platform.
Heres some information on how to get up and running on your Linux machine
|The classes in the .Net Framework cryptography namespace manage many details of cryptography for you. Some are wrappers for the unmanaged Microsoft CryptoAPI, while others are purely managed implementations.|
Here are some examples on how to get started on file encryption using the .net classes.
|Every language has its own way of making dynamic array manipulation simpler. in .net two classes, arraylist, and ienumerator are used for this purpose.|
|The .NET Reflection API allows a program to inspect and manipulate itself. |
Using it you can check methods on a class, invoke them, passing parameters.
It can also be used to compile code on the fly, providing a unique and funky way to write your code.
|An interesting interview with Eric Rudder, Microsoft's 35-year-old senior vice president of developer and platform evangelism.|
Microsoft have invested heavily in the .NET Framework and building a large developer community is more than just important, its crucial.
|Microsoft is planning to extend its Active Server Pages Web programming language, ASP.net, to cover the popular open source Web server from Apache.
ASP.net is one of the key programming languages for developing applications for Microsoft .net, which has been heavily criticised for its lack of support for non-Microsoft technologies.
|Here's a simple web server written in C# that even serves up ASP and ASP.NET web pages.|
|Great news, it was only a matter of time, but here arrives the first (of surely many) .net IDE's other than Microsofts Visual Studio.NET|
So now people really have got no reason not to embrace Microsofts attempts at delivering a high quality programming lanuage, with freely available compilers, run time libraries and now WYSIWYG IDE's
|Microsoft Chief Executive Steve Ballmer used a European tour to launch a new initiative with HP, aimed at bringing .NET services from Microsoft to businesses. |
|Using programs to pass data around on the internet is something that i never get tired of!
Here's some of my applications showing how I suck down web pages from C#
|You must be crazy, .NET for a non-Win32 operating system.|
Believe your eyes, and read on for how to get your hands on the filthy inner workings of the .NET CLR for your operating system
|It could not be simpler to add email functionality to your vb.net application, including support for attachments.Heres how ...|
|Ever wanted to broadcast to everyone but still be able to use the net? How about being able to send data only to the nodes that really requested it?Interested? well this is where the next generation of broadcast comes in -> Multicast.|
|Encrypting files is cool. It proves your strength, and the girls love it.No seriously, in your applications, encrypting data you save down on the disk is good practice. In addition, writing custom applications to encrypt your important documents protects you and your files from intruders. Heres a 45 line class for encrypting and decrypting files using the Rijndael Managed encryption method.|
|Who would have thought of Microsoft being associated with the biggest movement in open source for years! The IT world is sat at a crossroads, to one side a meandering path pointing to the well trodden Java route. The other a brand new 5 lane freeway with a huge sign saying .NET This Way.|