Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions
Posted by Daniel - 1,071 Views
I 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.
Compared to SMSCodec Delphi Component code, this one has different method even both are using high-layer character manipulations.
The demo project is also included with this post and as usual, if you find anything weird in its behaviors, don’t hesitate to let me know. Open the VB6 demo project - the functions bundle is under the [Modules] treeview.
An adaptation from the original VB6 code into VB.Net code is also available along with the demo project for VB.Net.
Available Downloads
- Download the Classic VB6 Demo Project (11 KB)
- Download the VB.Net Demo Project (103 KB)
Related resources
- Using CPort Delphi Component to read data from your cellphone
- SMS and the PDU format
- The C version of ASCII to PDU Converter
- CodeProject: Using VB.NET to Decode PDU string
__________________________
The following posts are programmatically considered as related to the current post by YARPP Plugin:
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- Visual Basic.NET, an example of using HTTPWebRequest object
- Replacing and filtering text with regular expression using Delphi, Visual Basic and ASP
- Downloading file and extracting ZIP compressed file with Visual Basic.NET
- PDUSpy (A good tool to deal with GSM SMS PDU)
Related posts brought to you by Yet Another Related Posts Plugin.
Latest from Programming
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
- Free Softwares to help you learn Regular Expression or to enhance your RegEx skill
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
3 Responses to “Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions”
Leave a Reply
Latest Blog Entries
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- The Lack of Chances is the Source of Poverty, Can we make a different?
- SmartFTP Client is no longer Free. What would be the best replacement for it?
- Kantaris Media Player, The most suitable Free Media Player on my Audio Environment
- TCPView for Windows, Tool to check TCP and UDP Connections on your system
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
Categories
Neighbours and Friends
Login Here
Comments - Thanks Guys :)
Coarveadvexon: As the call, so the echo :D Coarveadvexon’s last blog post: Ford Kuga 2.5 Turbo
Chat: nice thank you very much for this article.
a_suliman: thanx for every thing
Miss Lunatic: Jaja, it’s a yolk. Thanks for the compliment ;) Miss Lunatic’s last blog post: Pitas y guacamole
Miss Lunatic: Thank you! Your style css is awesome. I’m going to start customizing with it. Thank you :D Miss Lunatic’s last blog...
Most Popular Entries
- Passing arguments to your VB.NET console application
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- An example: Using CPort Delphi Component to read data from your cellphone
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
- Replacing and filtering text with regular expression using Delphi, Visual Basic and ASP
Software Collections
- SmartFTP Client is no longer Free. What would be the best replacement for it?
- Kantaris Media Player, The most suitable Free Media Player on my Audio Environment
- TCPView for Windows, Tool to check TCP and UDP Connections on your system
- The Code Snippet Plugin, my favourite syntax highlighter plugin for WordPress
- ContuttoPDF (Wordpress Plugin to convert your Content to PDF)
Blogging Related Stuff
- Change the WordPress permalink structure to the best format, and yes it’s a little bit scary :D
- Something is wrong, the Google Search Result from my blog looks bad, don’t laugh please :D
- Several tips to reduce Blog Noise, especially when your blog covers more than one niche
- How to remove your indexed pages or even your entire site from Google and Yahoo!


















March 13th, 2008 at 10:33 pm
M…It’ll be nice if I can implement it into my brand new SMS Gateway.
Btw, where did you get the info?
eenx’s last blog post: Wow, I can make an FLV file and FLV player!
March 14th, 2008 at 1:57 am
Hi Enx, good to see you here :) If you mean the info on how the GSM-SMS works, the underlying format and the SMS-PDU info, below is the link to - in my opinion - the only web resource which can describes this matter in a very clear way:
http://www.dreamfabric.com/sms/
___________
Daniel
March 18th, 2008 at 1:09 am
Thank’s brow, clean explanations and clean words to read.
eenx’s last blog post: Wow, I can make an FLV file and FLV player!