21929 total geeks with 3247 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
redore
o noes the webserver was acting up earlier and it was spewing out all those full path disclosures ..
DnD
Tks, I'm checking my code.
CodeX
are you thinking of level 4? I'm sure there's been plenty of people who were dismayed after calculating the answer
MaxMouse
Also... Level5 lol, when you get the answer you'll shout at your computer, guaranteed.
MaxMouse
DnD, none of the challenges have been changed in a long time, i can assure you, none of them have a bug (Except level13, and it's more of a quirk than a bug)

Donate
Donate and help us fund new challenges
Donate!
Due Date: Feb 28
February Goal: $30.00
Gross: $0.00
Net Balance: $0.00
Left to go: $30.00
Contributors


News Feeds
The Register
Ex-Intel exec
pleads guilty to
insider trading
Adobe apologizes
for festering Flash
crash bug
Conficker outbreak
infects Leeds
hospital servers
Intel
"Tukwila" born
after long and
painful labor
SourceForge
reverses ban on US
foes
Oracle issues
emergency security
patch for WebLogic
Microsoft tests
show no Win 7
battery flaw
Microsoft kills
FAST"s Linux and
Unix search biz
Linus Torvalds
doesn"t hate the
Googlephone
Sweden to prosecute
alleged Cisco, NASA
hacker
Slashdot
Virtualizing a
Supercomputer
Study Says OOXML
Unsuitable For
Norwegian
Government
Virus-Detecting
"Lab On a Chip"
Developed At BYU
Google Shooting For
Smartphone
Universal
Translator
New Material
Transforms Car
Bodies Into
Batteries
Verizon Blocking
4chan
A Reflection On Sun
Executive Payouts
For Failure
Turns Out You
Actually Can Be
Bored To Death
Cacti 0.8 Network
Monitoring
What Are the Best
Valentine"s Day
Stunts?
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 1373 times - comments - zero 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 4861 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 1624 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 10987 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 6129 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 3599 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 7115 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 7374 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 9894 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 11515 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 6847 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 3061 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 9327 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 24525 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 26257 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 11396 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 5439 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 5806 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 10068 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 12586 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 16526 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 23600 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 10810 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 13989 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 26825 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 19786 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 14197 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 65576 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 36942 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 10059 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 107711 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 13418 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 11074 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 9476 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 13941 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 17168 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 7518 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 6384 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 7686 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 4223 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 6701 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 26806 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 7675 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 7200 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 12125 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 10225 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 6441 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 4136 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 7872 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 23202 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 5851 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 6471 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 2893 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 8068 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 15477 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 7888 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 2941 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 10257 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 6739 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 57499 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 43410 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 17297 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 3786 times - comments - zero rated

Features

The Forums
Re: New Project
Idea: Generic
Notification
Engine.

(RI/OSI Members)
Re: How to
create an
encryption
algorithm -
Rexor

(todd434/Geek Tips)
Re: File
Creation Date

(redore/Technical Questions)
File Creation
Date

(irah/Technical Questions)
Re: reverser 9
(dildog/Geek Tips)

Recent Blogs
reposting
because of spam
0 comments
redore's blog
Sun 24th Jan 9pm
First one
3 comments
Action's blog
Tue 12th Jan 10pm
A Daily
Profanity at
dailyprofanity.
com
0 comments
bb's blog
Mon 21st Dec 11am
Blog entry for
Wed 25th Nov
7pm
1 comment
hambone's blog
Wed 25th Nov 7pm
Blog entry for
Mon 9th Nov 4am

Current Poll
Given the
opportunity to
work for any game
developer, which
would you choose?
Share you're
reasoning plus
any other
developers, this
is only a tiny
list off the top
of my head so
share away!

Lionhead Studios
Konami
Pandemic Studios
Activision
Blizzard Entertainment
Capcom
Bethesda Softworks
Other (Please Comment)



View Results
(18 Comments)

Site Comments
I must say that
this is a great
post. I love...

(Anonymous / Url and Email validation using Regex)
Your blog is
very nice. I m
really
impr...

(JamesPaul / Simple Telnet Automation Using Expect)
Top marks ..
this has helped
me big time
...

(Anonymous / C++ Beginner : The Basics)
WOW, dude u
make a good
teacher, well
pre...

(Anonymous / Creating Custom Events in C#)
If you know
what you are
doing, MFC is
gr...

(Anonymous / Hello World with MFC)
this is Vilas;
I like this

(Anonymous / Introduction to Visual Basic Socket Programming)
I just got one
nice article on
suitable
e...

(Anonymous / Exception Handling in Java)
I need help
with my
assignment! can
u hel...

(Anonymous / Visual Basic - Beginning)
http://www.lege
rdress.com/
herve leger
...

(Anonymous / ASM and PIC Programming Basics)
http://www.lege
rdress.com/
herve leger
...

(Anonymous / Simple Telnet Automation Using Expect)


     
Your Ad Here
 
Copyright Open Source Institute, 2006