Recent Activites
Blog Advertising - Get Paid to Blog

Free Softwares to help you learn Regular Expression or to enhance your RegEx skill

Posted by Daniel - 1,109 Views

Even some folks said that you will get better when you get used to Regular Expression, it is still a complex subject to explore and to master. But if you can’t hide from it, especially when you need to deal with .htaccess and mod_rewrite, here is the list of tools you can use to start learning regular expression.

Please remember: I said they are free here because there is no time limit, while some of them also offer several features which require you to buy the full version but the basic features - in my opinion - are enough for you to learn and taste the regex for the first time.

read more..

Posted in: Programming - Comments(1) March 2008

ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application

Posted by Daniel - 9,440 Views

progress bar for console applicationIt is good to know that long process is still ticking and one of the best way to provide the indicator is to have a progress bar. I am pretty sure you already knew how to display progress bar when you deal with windows form application but what about console application, is there any progress bar component which can be easily incorporated into the console screen?

I’ve searched the internet to find this kind of stuff but I found nothing (let me know if I am wrong), so there is no other way than to create it myself and here it is: my own progress bar for console application written in VB.Net.

It’s very simple. I use a single sub procedure instead of packing it as a class since I don’t think it’s required. A sub procedure called RenderProgressBar is the only procedure responsible to process and render the progress bar on the console screen.

read more..

Posted in: Programming - Comments(1) March 2008

Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions

Posted by Daniel - 6,353 Views

ASCII to PDUI had posted related article about ASCII to PDU Conversion but that was written in C language. I got nothing to do today and when I explored my old archives, I found this one. A bundle of Visual Basic Functions to convert ASCII to PDU and vice versa.

I have no idea who is the original coder but as long as I can remember, a friend gave it to me. Never mind that, I’ve search the net and found nothing similar to it so I guess it can be treated as belong to public, or at least I want it that way :D You can let me know if I am wrong. I am not putting it under Software Collections - Free In House category since I am not the original coder.

Same as the C version, this bundle of functions contains two major functions: ASCII2PDU and PDU2ASCII. The first one is to convert ASCII to PDU and I think you can guess what the second one does.

read more..

Posted in: Programming - Comments(3) March 2008

How to Get User Input and allowing more than 256 characters to be entered on .NET Console Application

Posted by Daniel - 2,722 Views

readlineConsole Application is good if you want to perform processes without the need of user intervention. Usually automated processes designed to run on schedule. But you can also prompt the user for action if for some reasons you need to do it and it is very simple. All you need to do is utilize the Console.ReadLine command.

This how to article will show you an example of it. The scenario applied in the included demo project is how to prompt the user for keyboard input and how to extend the 256 characters limit. That’s why you see two related processes in the title of this post.

GET USER INPUT. As I said before it’s very simple to get the user input. Declare a string variable then assign Console.ReadLine command to it as shown below:

Dim strInput As String
strInput = Console.ReadLine()

When executed, the application will prompt the user for keyboard input. After the user hit the [Enter] key, the strInput variable will contain characters typed by the user.

Unfortunately, the default limit of characters allowed to be entered is 256 characters. It’s quite reasonable since most of console applications are not designed to handle large amount of user input at a time, but if somehow you need to get more than that limit, following is the trick:

read more..

Posted in: Programming - Comments(0) March 2008

Change the WordPress permalink structure to the best format, and yes it’s a little bit scary :D

Posted by Daniel - 3,059 Views

permalink structureToday this blog is about 2 months old. It is only 2 weeks ago when I began to put more attention on how search engines see my pages. Let me be honest with you that at this moment the search result from this blog on Google looks bad.

Speaking about search engine result, I think it’s related to what we call as Permalink Structure. It’s a URL path structure used to access every resources/pages on your site. If you use WordPress as your blogging platform you must be familiar with this term.

I had posted similar article titled “Something is wrong, the Google Search Result from my blog looks bad“. Listed there are several steps I had been done to get a better search engine optimized pages. You know what? By writing that post, actually I am waiting for someone who understand this stuff to give opinions about my todo list. And yes, I got lucky.

A friend from Netherlands, his name is Oeroek had posted very-very helpful comments on that post. His comments are useful for someone who new to this matter like me. One of his suggestion is: I should change my permalink structure from the current one to another pattern with less noise in it.

read more..

Posted in: Blogging Related - Comments(10) March 2008

P 3 OF 11«12345»...Last »



Get my Full Feed Here or you can subscribe to one of my category based feeds below:
myPic

Programming Tips

Categories

Neighbours and Friends

Comments - Thanks Guys :)

  • Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
  • Marlena Albu: Super Blog, Dude! I am constantly on the watch for new and interesting sites and postings about audio equipment… which is what...
  • tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.
  • Sean: This is a great piece of code and thanks for adding the updates. Sean’s last blog post: Not All Text Message Marketing Is Created...
  • rodhy: Thank for your code, it very usefull for me. best regard.