Recent Activites
Blog Advertising - Get Paid to Blog
Archive from Programming category

Resizing image on the fly with ASP.NET using the System.Drawing namespace

Posted by Daniel - 2,324 Views

image resizing with asp.net,system drawing namespace,resizing image on the flyResizing image on the fly with the tradional ASP script is impossible without an external component. But with the release of the .NET Framework, resizing image on the fly has become an easy process.

The System.Drawing namespace provides all the functionalities to do that. Lets get to the point. Following is an example of a sub procedure to resize image and then save it to the specified path:

read more..

Posted in: Programming - Comments(1) January 2008 | raw

Replacing and filtering text with regular expression using Delphi, Visual Basic and ASP

Posted by Daniel - 8,583 Views

regular expression,replacing text with regex,filtering text with regex,regex exampleA regular expression (abbreviated as regexp or regex, with plural forms regexps, regexes, or regexen) is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used by many text editors and utilities to search and manipulate bodies of text based on certain patterns. Many programming languages support regular expressions for string manipulation. For example, Perl and Tcl have a powerful regular expression engine built directly into their syntax. The set of utilities (including the editor sed and the filter grep) provided by Unix distributions were the first to popularize the concept of regular expressions - wikipedia.org

read more..

Posted in: Programming - Comments(6) January 2008 | raw

Passing arguments to your VB.NET console application

Posted by Daniel - 117,572 Views

console application,vb.net,cli,command line interface,passing argument to vb.net,command line parameterA console application or a command line interface or CLI is a method of interacting with a computer via a text terminal. Commands are entered as lines of text (that is, sequences of typed characters) from a keyboard, and output is also received as text -wikipedia.org

To create a new console application project with Visual Basic.NET, choose File - New - Project. On the next dialog that appears, select Visual Basic Projects from the Project Types treeview then select Console Application icon from the Templates listview. Fill the project detail such as name and location then hit OK. A new module named Module1 will be created after that.

read more..

Posted in: Programming - Comments(0) January 2008 | raw

Creating your own class definition with the traditional ASP

Posted by Daniel - 1,275 Views

Creating your own class definition with the traditional ASPTo follow the steps on this article you need at least Microsoft Windows 9x and IIS installed. This time we will learn and take a closer look at one of the traditional ASP?s feature, it is the ability to accept coder?s class definition. Long before the release of the .NET framework, this feature remains hidden for most of the coders, including myself. If you already familiar with Visual basic, you won?t find any difficulties implementing this feature into your web application since the structure needed to assemble an ASP class is quite similar to the class structure within the Visual Basic.

read more..

Posted in: Programming - Comments(0) January 2008 | raw

An example: Using CPort Delphi Component to read data from your cellphone

Posted by Daniel - 24,250 Views

averagecoder_article.jpgCPort is a Delphi component created by Dejan Crnila. it provide interfaces for Delphi programmers to use the serial communication ports. If you need to utilize serial modem or any other serial communication devices in your Delphi application, you should use this component.

This short article will give you an example of using CPort Delphi Component to read the raw data returned from a cellular phone as responses to the GSM AT-Command given, such as ATE1 (echo) and AT+CMGL (read sms). We will use Siemens cellphone for this purpose.

read more..

Posted in: Programming - Comments(1) January 2008 | raw

P 5 OF 5«12345