Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions
Posted by Daniel - 15,488 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)
Hi, my name is Daniel Nugraha, a single male live on an island called Java, Indonesia. This is the place for me to share my interest in computer programming.
-
Get my Full Feed Here
Popular Entries
- Passing arguments to your VB.NET console application
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
- How to Get User Input and allowing more than 256 characters to be entered on .NET Console Application
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
- An example: Using CPort Delphi Component to read data from your cellphone
- Runtime-Form-Creation. Automatically creating child forms in a Delphi MDI application with a component array
- CPort Component (Serial port interface component for Delphi)
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer













