26286 total geeks with 3498 solutions
Recent challengers:
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
MaxMouse
It's Friday... That's good enough for me!
CodeX
non stop lolz here but thats soon to end thanks to uni, surely the rest of the world is going good?
stabat
how things are going guys? Here... boring...
CodeX
I must be going wrong on the password lengths then, as long as it was done on ECB
MaxMouse
lol... the key is in hex (MD5: of the string "doit" without the "'s) and is in lower case. Maybe i should have submitted this as a challenge!

Donate
Donate and help us fund new challenges
Donate!
Due Date: May 31
May Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
Look out, world!
Dragons" Den ace
HAS DISCOVERED THE
CLOUD
Blue Coat gobbles
CCTV-for-network-tr
affic maker Solera
Word 2 to Office
365 and beyond: The
good, the bad and
the Ribbon
If you"ve bought
DRM"d film files
from Acetrax,
here"s the bad news
New Big Blue UK,
Ireland exec to
give kiss o" life
to server sales
Smartwatch face
off: Pebble,
MetaWatch and new
hi-tech timepieces
EU boffins in plan
for "more
nutritious"
horsemeat ice cream
The bunker at the
end of the world -
in Essex
Camby cash
crypto-coders
Cronto chomped on
pronto by Vasco
Facebook teens"
kimonos - basically
never closed
Slashdot
Ask Slashdot:
Moving From
Contract Developers
To Hiring One
In-House?
Quadcopter Drone
Network Will
Transport Supplies
For Disaster Relief
Congressional
Report: US Power
Grid Highly
Vulnerable To
Cyberattack
Google Chrome 27 Is
Out: 5% Faster Page
Loads
Special Ops Takes
Its Manhunts Into
Space
Aurora Attackers
Were Looking For
Google"s
Surveillance
Database
Dart Is Not the
Language You Think
It Is
EPA Makes a Rad
Decision
Ask Slashdot: Can
Yahoo Actually
Stage a Comeback?
3-D Printable Food
Gets Funding From
NASA
Articles in topic

Dot.Net

Dot.Net: Using an Enumeration as a Data Source for Binding, v.2.0
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.
13063 bytes more - viewed 8063 times - comments - rated
Dot.Net: Copy Files in C# with a progress bar
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.
http://www.osix.net/modules/folder/index.php?tid=33709&action=vf
18682 bytes more - viewed 18662 times - comments - rated
Dot.Net: Included Dlls with your exe without needing an install
by: Pertinax - 2009-05-06 18:18:31
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.
2535 bytes more - viewed 4265 times - comments - zero rated
Dot.Net: Downloading file using C#
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.
4696 bytes more - viewed 17387 times - comments - rated
Dot.Net: C#: Getting Started With Mono and Gtk#
by: zenogais - 2007-09-10 21:45:15
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.
7556 bytes more - viewed 13510 times - comments - rated
Dot.Net: A Set Class
by: sfabriz - 2007-07-27 12:52:17
This time we'll see a possible implementation of a Set class written in C#, since the framework doesn't implement it natively.
11813 bytes more - viewed 7024 times - comments - rated
Dot.Net: Using crypto streams with TCP/IP and the Framework .Net 2.0
by: sfabriz - 2007-01-31 15:58:22
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.
25140 bytes more - viewed 11874 times - comments - rated
Dot.Net: Enable file drop onto a form
by: sfabriz - 2006-12-31 23:54:07
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.
8364 bytes more - viewed 10811 times - comments - rated
Dot.Net: Accessing controls from a worker thread
by: sfabriz - 2006-12-17 13:47:24
This article shows the correct way to access UI controls from a worker thread
7978 bytes more - viewed 18843 times - comments - rated
Dot.Net: List parameters from an SSRS (SQL Server Reporting Services) report into an expression.
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.
2238 bytes more - viewed 20714 times - comments - rated
Dot.Net: Custom controls Part II : Enhanced ProgressBar
by: sfabriz - 2006-10-12 09:35:31
This time is about enhancing the System.Windows.Forms.ProgressBar .Net control.
14313 bytes more - viewed 14396 times - comments - rated
Dot.Net: Custom controls Part one
by: sfabriz - 2006-09-26 22:10:58
A light introduction to custom control creation (C#).
8357 bytes more - viewed 5164 times - comments - rated
Dot.Net: Dragging transparent background images
by: sfabriz - 2006-09-21 22:21:33
This article shows how to overcome problems when dragging around transparent background images.
8319 bytes more - viewed 14016 times - comments - rated
Dot.Net: Toggle Button in C#
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#
469 bytes more - viewed 67355 times - comments - rated
Dot.Net: Solving sudoku with C#
by: sfabriz - 2006-06-15 10:10:36
This article shows you how to solve any Sudoku using a C# implementation of Knuth's DLX algorithm.
21708 bytes more - viewed 50234 times - comments - rated
Dot.Net: Prime numbers
by: sfabriz - 2006-06-15 10:10:00
This article will explore my "challenge" math library, talking about prime generation, primality testing, prime factorization and some other useful functions too.
21520 bytes more - viewed 18059 times - comments - rated
Dot.Net: Eval Function - with variables and custom functions
by: inFinie - 2006-06-13 11:44:07
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.
5815 bytes more - viewed 9545 times - comments - rated
Dot.Net: Make a Windows Forms application single-instance
by: gimlock - 2006-05-10 18:39:33
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.
1003 bytes more - viewed 9866 times - comments - rated
Dot.Net: The Eval Function II -> The Revenge of the Notation
by: sfabriz - 2006-01-17 04:27:05
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.
15654 bytes more - viewed 15901 times - comments - rated
Dot.Net: The Eval function
by: sfabriz - 2005-11-30 08:26:17
This is a C# version of JavaScript's eval() function.
5443 bytes more - viewed 25029 times - comments - rated
Dot.Net: Ever wanted to Export a List View to Excel and have it look Nice?
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...

ExportListViewToExcel(MyListView)
9143 bytes more - viewed 31438 times - comments - rated
Dot.Net: Writing to Unmanaged Memory in C#
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.
3553 bytes more - viewed 34051 times - comments - rated
Dot.Net: Using an enumeration as a data source for binding
by: gimlock - 2005-07-22 15:19:34
Sometimes you may have an enumeration of values that would be quite usefully used as data for a combo box or list box.
2505 bytes more - viewed 16980 times - comments - rated
Dot.Net: Sorting in "linear" time with Radix Sort
by: sfabriz - 2005-06-17 11:36:50
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.
5428 bytes more - viewed 24701 times - comments - rated
Dot.Net: The Power Algorithm
by: sfabriz - 2005-05-25 12:20:27
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.
3758 bytes more - viewed 54995 times - comments - rated
Dot.Net: Faster than quicksort? Use quicksort!
by: sfabriz - 2005-05-24 08:21:19
This article shows some result obtained from a comparison between C# built-in sorting quicksort and my implementation of quicksort... Guess who is faster!
3441 bytes more - viewed 31999 times - comments - rated
Dot.Net: Tcp connection with serialization but what about Udp?
by: sfabriz - 2005-05-11 13:22:06
This article shows how we can use the benefits of serialization sending data using Udp datagrams instead of Tcp connection.
7277 bytes more - viewed 23581 times - comments - rated
Dot.Net: Creating Custom Events in C#
by: sfabriz - 2005-04-12 02:08:12
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.
5809 bytes more - viewed 182472 times - comments - rated
Dot.Net: How to sort a custom made class using ArrayList, IComparer and IComparable in C#
by: sfabriz - 2005-03-18 23:07:14
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...
7263 bytes more - viewed 53720 times - comments - rated
Dot.Net: Creating Mobile Apps - In Depth Tutorial
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.
25086 bytes more - viewed 15979 times - comments - rated
Dot.Net: Url and Email validation using Regex
by: bb - 2004-09-22 12:37:39
A class which checks for valid urls and email addresses in C#
1148 bytes more - viewed 139127 times - comments - rated
Dot.Net: Advanced .NET MSI handling
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.
2834 bytes more - viewed 18231 times - comments - zero rated
Dot.Net: Stopping a form from closing
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.
573 bytes more - viewed 19586 times - comments - rated
Dot.Net: Managing ASP.NET Datagrid columns with AutoGenerateColumns
by: bb - 2004-05-14 13:07:55
How to hide a column in an ASP.NET Datagrid if AutoGenerateColumns is set to True
523 bytes more - viewed 15320 times - comments - rated
Dot.Net: Sending Mail using C#
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!
5198 bytes more - viewed 19422 times - comments - rated
Dot.Net: Writing your own SQL Query Analyser in C#
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.
1838 bytes more - viewed 25686 times - comments - rated
Dot.Net: Mapping Win32 Functions to the .NET API
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.
703 bytes more - viewed 9581 times - comments - rated
Dot.Net: DNS Lookups in .NET
by: dimport - 2003-06-21 07:19:46
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.
660 bytes more - viewed 13603 times - comments - zero rated
Dot.Net: The .NET Language Choice
by: dimport - 2003-06-21 07:19:46
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.
8167 bytes more - viewed 9905 times - comments - rated
Dot.Net: Developing Re-usable libraries in .NET
by: dimport - 2003-06-21 07:19:46
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.
833 bytes more - viewed 6000 times - comments - rated
Dot.Net: Command Line Browser in 10 lines
by: dimport - 2003-06-21 07:19:46
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.
1518 bytes more - viewed 9668 times - comments - zero rated
Dot.Net: .NET Decompiler
by: dimport - 2003-06-21 07:19:46
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.
769 bytes more - viewed 36774 times - comments - rated
Dot.Net: .NET Framework Cryptography
by: dimport - 2003-06-21 07:19:46
The .NET Framework contains a rich set of cryptography resources. This document answers some of the questions commonly asked about these resources
7214 bytes more - viewed 11435 times - comments - rated
Dot.Net: Source Code for .NET Encryption Algorithims
by: dimport - 2003-06-21 07:19:46
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
1640 bytes more - viewed 10319 times - comments - zero rated
Dot.Net: Number To Text Change Using C#
by: dimport - 2003-06-21 07:19:46
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)
3695 bytes more - viewed 28001 times - comments - rated
Dot.Net: Entry Point into a C# program
by: dimport - 2003-06-21 07:19:46
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
6028 bytes more - viewed 18341 times - comments - zero rated
Dot.Net: Batch filestamp changing
by: dimport - 2003-06-21 07:19:46
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.
444 bytes more - viewed 8389 times - comments - zero rated
Dot.Net: Boulderdash for .NET !
by: dimport - 2003-06-21 07:19:46
You better believe it. The .NET version of a Boulderdash game written for East German hardware in 1988.
589 bytes more - viewed 6099 times - comments - zero rated
Dot.Net: Getting started on C# for Linux
by: dimport - 2003-06-21 07:19:46
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
4065 bytes more - viewed 12413 times - comments - rated
Dot.Net: File Encryption in C#
by: dimport - 2003-06-21 07:19:46
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.
4338 bytes more - viewed 30704 times - comments - rated
Dot.Net: dynamic arrays in .net
by: dimport - 2003-06-21 07:19:46
Every language has its own way of making dynamic array manipulation simpler. in .net two classes, arraylist, and ienumerator are used for this purpose.
611 bytes more - viewed 9156 times - comments - rated
Dot.Net: Reflection and Dynamic Classes
by: dimport - 2003-06-21 07:19:46
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.
2671 bytes more - viewed 10224 times - comments - rated
Dot.Net: .NET or .NOT
by: dimport - 2003-06-21 07:19:46
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.
323 bytes more - viewed 4884 times - comments - zero rated
Dot.Net: ASP.NET to run on Apache
by: dimport - 2003-06-21 07:19:46
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.
1206 bytes more - viewed 10448 times - comments - rated
Dot.Net: Simple HTTP Server In C#
by: dimport - 2003-06-21 07:19:46
Here's a simple web server written in C# that even serves up ASP and ASP.NET web pages.
349 bytes more - viewed 25519 times - comments - rated
Dot.Net: SharpDevelop : Open Source C# IDE
by: dimport - 2003-06-21 07:19:46
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
241 bytes more - viewed 11728 times - comments - zero rated
Dot.Net: Microsoft, HP betting on .NET
by: dimport - 2003-06-21 07:19:46
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.
556 bytes more - viewed 4389 times - comments - zero rated
Dot.Net: Grabbing data from the web using C#
by: dimport - 2003-06-21 07:19:46
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#
2825 bytes more - viewed 13869 times - comments - rated
Dot.Net: .NET for MacOS and FreeBSD
by: dimport - 2003-06-21 07:19:46
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
542 bytes more - viewed 9932 times - comments - zero rated
Dot.Net: Sending Email in VB.Net
by: dimport - 2003-06-21 07:19:46
It could not be simpler to add email functionality to your vb.net application, including support for attachments.Heres how ...
1239 bytes more - viewed 144133 times - comments - zero rated
Dot.Net: Implementing Multicast Sockets in C#
by: dimport - 2003-06-21 07:19:46
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.
7945 bytes more - viewed 79604 times - comments - zero rated
Dot.Net: Rijndael Managed Encryption made easy in C#
by: dimport - 2003-06-21 07:19:46
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.
1538 bytes more - viewed 26267 times - comments - rated
Dot.Net: Microsoft leads the way for Open Source?
by: dimport - 2003-06-21 07:19:46
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.
651 bytes more - viewed 5451 times - comments - zero rated

Features

The Forums
Michael Kors
Outlet

(mouse/Technical Questions)
Michael Kors
Outlet

(mouse/Technical Questions)
Michael Kors
Outlet

(mouse/News)
Michael Kors
Outlet

(mouse/OSI Members)
Michael Kors
Outlet

(mouse/Feedback)

Recent Blogs
First one
501 comments
Action's blog
Tue 12th Jan 10pm
A Daily
Profanity at
dailyprofanity.
com
69 comments
bb's blog
Mon 21st Dec 11am
Blog entry for
Wed 25th Nov
7pm
8 comments
hambone's blog
Wed 25th Nov 7pm
Blog entry for
Mon 9th Nov 4am
feck you
all!!!!!!!!
24 comments
echmil's blog
Sat 7th Nov 11pm

Current Poll
What would you
like to see more
of?

Articles
Discussion
Polls
Tests
Challenges
Captchas
Other (Comment)



View Results
(3 Comments)

Site Comments
http://edprices
online.com/
viagra without
(Anonymous / sql server parameter sniffing, timeouts and query execution plan caching / bb's blog)
I wanted to
thank you for
this very good
...

(Anonymous / fuck you all!!!!!!!! / echmil's blog)
I'll
immediately
grab your rss
as I can't...

(Anonymous / Blog entry for Mon 9th Nov 4am / haziman's blog)
I have been
browsing online
more than 3
h...

(Anonymous / fuck you all!!!!!!!! / echmil's blog)
Greetings from
Los angeles!
I'm bored to
...

(Anonymous / Blog entry for Sat 5th Aug 3am / anilg's blog)
o46Dhm ,
wvlazocaeba

(Anonymous / SVN as windows service calling post-commit hanging as not asynchronous / bb's blog)
PeGq5s ,
hrbjtdotcey

(Anonymous / osixblogs / bb's blog)
YFe428 ,
qgjybhrdxom

(Anonymous / First one / Action's blog)
qoqeyn same da
(Anonymous / Wow i just played an old / jake_null's blog)
http://www.comf
ortedmeds.com/
buy cialis
(Anonymous / Blog entry for Sun 8th Mar 3pm / macrocat's blog)


     
Your Ad Here
 
Copyright Open Source Institute, 2006