Our Software Development forum encompasses topics related to native application programming design and development.

60 39 39 36 36 34 33 31 31 30
Member Avatar
Here is the code to write a serverSocket which listens on a given port. I have used a dummy Socket to change serverSocket's port dynamically. This method uses a inner class which is basically a thread and it creates a serversocket in thread by given port no. If you want …
by shaikh_mshariq 2 in Software Development ()
Member Avatar
Serialization is the process of saving the state of an object into persistant medium. BinaryFormatter class is used for serializing and deserializing an object. HybridDictionary is optimized for key-based item retrieval from both small and large collections.
by Shalvin in Software Development ()
c#
Member Avatar
Though .Net classes are vast and versatile at time you will have to resort to Win32 API calls for accomplishing certain tasks. The following code shows a simple example of invoking a Win32 api. The best way to use Win32 apis is to encapsulate it in a class module. The …
by Shalvin in Software Development ()
c#
Member Avatar
TreeView was one of my favourite control in COM. It is well suited for creating Chart of Accounts, Hierarchical data and the like. Though there is a tree view in .Net I find it less flexible in comparison to COM TreeView. The issue with using COM TreeView in C# is …
by Shalvin in Software Development ()
c#
Member Avatar
Easy way to showing messageboxes in asp.net using c#
by serkan sendur 821 in Software Development ()
c#
Member Avatar
Hi this is a very simple program explaining of Threads using the runnable interface. I hope this will help in some other way.:)
by sri_jes13 in Software Development ()
Member Avatar
Set page's scroll position programmatically according to server side processing
by serkan sendur 821 in Software Development ()
c#
Member Avatar
I use GetTickCount in a lot of my applications, so I built this snippet to convert to hours minutes and seconds. Leading extraneous data is excluded from output.
by Tight_Coder_Ex 17 in Software Development ()
Member Avatar
[URL="http://www.bitstorm.org/gameoflife/"]Life[/URL] is a "game" or cellular automaton - an evolving computational state system - developed by a Cambridge mathematician named John Conway. The idea is simple: start with a board of dimensions (x,y). Populate the board with an initial pattern of occupied and empty cells. In every turn, the rules …
by G-Do 19 in Software Development ()
Member Avatar
Enables DataView to DataTable conversion
by serkan sendur 821 in Software Development ()
c#
Member Avatar
SelectTopFrom method gets the top rows from dataview or datatable
by serkan sendur 821 in Software Development ()
c#
Member Avatar
by using the code below you can bind your enums to your dropdown lists Serkan Şendur
by serkan sendur 821 in Software Development ()
c#
Member Avatar
Just playing with the no. points used in the program: 1. Even no cannot be prime except 2 2. % division of odd by even cannot be 0
by rhoit in Software Development ()
c++
Member Avatar
Just playing with the no. points used in the program: 1. Even no cannot be prime except 2 2. % division of odd by even cannot be 0
by rhoit in Software Development ()
c++
Member Avatar
Good day, here is one of the commands that will allow you to get sound in your program. It was compiled using DevC++.
by zandiago 115 in Software Development ()
c++
Member Avatar
Nothing but the VERY HARD Work out for long day and night. It was actually i made it for my project work which my friend loved it very much. This might be the useful stuff to you also. Ya Now days rarely anyone uses the BGI stuff but also it …
by rhoit in Software Development ()
c++
Member Avatar
This program generates lines of pascal's triangle, numbers after 23 generate weird output.
by darkscript 5 in Software Development ()
c++
Member Avatar
Sometimes you want to accomplish something with a minimum ammount of code. Here is an example of using modern Python concepts of lambda, list comprehension and all() to create an anonymous function that returns a prime list from 2 to n.
by vegaseat 1,720 in Software Development ()
Member Avatar
This program takes a parameter, which is how many prime numbers you need. However if you want to make a program which checks whether a number is prime or not you can delete everything in the main function and put this line instead: cout << isPrime (argv [1]) ? "It's …
by darkscript 5 in Software Development ()
c++
Member Avatar
Two methods for two distinct needs when splitting a string
by xbretzel in Software Development ()
c++
Member Avatar
This program uses snipets from a couple of other programs that I put together in order to make a program that displays the time and date and refreshes the time and date every second. I commented practically every line to explain, as far as I know, what it does. If …
by #include<DAN.h> -4 in Software Development ()
c++
Member Avatar
Frequently, you may need to isolate words in a phrase. In this example, we'll use substr to carry out this task.
by zandiago 115 in Software Development ()
c++
Member Avatar
This is a neat little program to calculate the date of easter in any given year. The principle is based on the julian calendar.
by zandiago 115 in Software Development ()
c++
Member Avatar
Visal has contributed code for computing a formula. I have updated his code to reflect vb.net coding style. I have also refactored the code, so it is easier to understand. I have not checked the code. The vb.net project files are as attached. Jerry Dusing (email: [email]jerrydusing@yahoo.com[/email])
by jerrydusing in Software Development ()
Member Avatar
Add n number of days to given date
by JavaGalaxy.com in Software Development ()
Member Avatar
A little program to convert angles to and from Decimal degrees, Degrees decimal minutes and Degrees minutes decimal seconds.
by allan14 in Software Development ()
Member Avatar
First off, C++ does not know anything about the I/O device you are using. It can be a keyboard and monitor, or a file, or a network connection, or anything which can do I/O. What that means is that there is no standard way to do this in C++. That …
by Duoas 1,025 in Software Development ()
c++
Member Avatar
First off, C does not know anything about the I/O device you are using. It can be a keyboard and monitor, or a file, or a network connection, or anything which can do I/O. What that means is that there is no standard way to do this in C. That …
by Duoas 1,025 in Software Development ()
c
Member Avatar
Written using Boa Constructor, with code added to do the conversion from C to F or F to C. The code has been altered to give a single file so don't open it in Boa Constructor.
by allan14 in Software Development ()
Member Avatar
This is a simple example of how to delete a line from a text file. In order to do that you have to completely rewrite the file, leaving out the line(s) you want to delete. First open the input file, then open an output file (doesn't matter what filename you …
by Ancient Dragon 5,243 in Software Development ()
Latest Posts