How to Run VCOM as Windows Service

VCOM is a Windows Application. It is NOT a Windows Service. VCOM will auto-run when user has logged into (entering user name and password) Windows. Otherwise, VCOM will not run.

To run VCOM as a Windows Service you can manually create a Windows Service using these steps. However, take note that you cannot run VCOM as both Windows Application and Windows Service mode at the same time.


Configure VCOM as Windows Service

  1. First, IP address of MobiGATE and all 8 modems must be properly configured in VCOM application.
  2. Disable “auto-start” in VCOM application:
  3. Exit completely VCOM application.
  4. Download and install Windows Server 2003 Resource Kit Tools from Microsoft web page or from here …
  5. Only 2 executable files are needed:
    1. INSTSRV.exe
    2. SRVANY.exe
  6. After you have installed, run this command in command prompt:
    C:\Program Files\Windows Resource Kits\Tools>INSTSRV.exe VCOM "C:\Program Files\Windows Resource Kits\Tools\SRVANY.exe"
  7. Run Registry Editor (Regedt32.exe), check the registry to verify that the ImagePath value under “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VCOM” is set to
    "C:\Program Files\Windows Resource Kits\Tools\srvany.exe"
  8. Right click on VCOM, from the Edit menu, click “Add Key”. Type the following and click “OK”:
    Key Name: Parameters
    Class : <leave blank>
  9. Select the “Parameters” key, click “Add Value”. Type the following and click “OK”:
    Value Name: Application
    Data Type : REG_SZ
    String : C:\Program Files\VCOM\VCOM\vcom.exe
  10. Exit Registry Editor and goto “Computer Management > Services” configure “VCOM” to run “Automatic”
  11. After service is started, 8 COM ports are created:


  1. After VCOM service is started, then you start VCOM application, the application could NOT show all the 8 modems and 8 COM ports:
    VCOM application must be closed.
  2. If you want VCOM application to show all modems, then you must first stop the VCOM service, the only start VCOM application.
  3. VCOM cannot be running as both Windows Application and Windows Service mode at the same time.



Job Vacancy — IT Executive, Puchong, Basic Salary RM3,000

Updated on 2019-Mar-30


  • IT Executive


  1. Candidate must possess Bachelor’s Degree in Computer Science/Information Technology or equivalent.
  2. Working experience is not required however it is an added advantage.
  3. Programming skills:, PHP, WordPress, MySQL, MSSQL, Networking

  4. Languages: English, Mandarin is optional but it is an added advantage to communicate with factory in China

Working Hours

  • 5 days per week

  • 8 hours per day, 9 am to 6 pm, lunch break is 1 hour

Basic Salary

  • RM 3,000 per month

Dress Code

  • smart casual

Job Scope

Software Development

  1. design and write sample codes in, PHP

  2. update and maintain MOBITEK SMS Gateway Development Kit in, PHP

  3. update and maintain MOBITEK SMS Engine — Enterprise Edition in, PHP

  4. develop control panel for MOBITEK S80 3G Modem to connect to IoT

  5. develop mobile app for IoT (internet of Things)

  6. writing technical manual for software developers

  7. writing user’s manual for end user

Quality Control

  1. remote quality checking of product in China’s factory

  2. quality checking of software and hardware

Customer Support

  1. provide on-site installation and on-site support service for MobiGATE SMS Gateway

  2. provide trouble shooting and solution to customer via e-mail

  3. provide remote support via TeamViewer or AnyDesk

Technical Sales and Marketing

  1. to handle technical sales enquiries through e-mail and telephone, on MOBITEK’s product

  2. develop a strategy to market product service

  3. design product catalogue

  4. update and maintain corporate web sites, corporate blog

Interested candidate can send his resume to .

How to Solve “Unable to open database file” in PHPRunner

PROBLEM: PHPRunner v.10 unable to open project files created using PHPRunner v. 5 with this error message …



Edit the “.phpr” file created by PHPRunner v. 5, change  the database connection variables. No.
Use PHPRunner v. 5 to re-build PHP files and update the “.phpr” with correct database settings. No.
Use PHPRunner v. 6.2 to re-build PHP files and update the “.phpr” created by PHPRunner v. 5 in above.

PHP v. 6.2 is able to open “.phpr” file created by v. 5.

No. PHPRunner v. 10 us unable to open the “.phpr” file created by v. 6.2.
Use PHPRunner v. 10 to create a new project and connect to MySQL database server. Open the “.phpr” file to review the connection string. No because “.phpr” structure is different between PHPRunner v. 10 and v. 5
Use PHPRunner v. 8 to open “CRM.phpr”, re-build PHP files and update the “.phpr” created by PHPRunner v. 5 in above. Yes. PHPRunner v. 10 is able to open “.phpr” file created by v.8.


CONCLUSION: PHPRunner v. 10 cannot open project files created by PHPRunner v. 7 and earlier.

SOLUTION: use PHPRunner v. 8 to  re-build project file created by earlier version of PHPRunner, then use v. 10 to open project files created by PHPRunner v.8.


  1. PHP files generated by PHPRunner v. 5, 6, 7, 8 will have error message “mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead” when uploaded to as they are NOT using “mysqli”.

How to Solve MobiGATE Fails to Initailize Despite Hyper Terminal Can Communicate with MobiGATE

Cause: MSComm.ocx did not install properly or the date of the file is incorrect. This occur when SMS Engine — Enterprise Edition has been reinstalled a few times on the same Windows machine.


  1. uninstall SMS Engine — Enterprise Edition
  2. if necessary, unregister MSCOMM.ocx and delete it
  3. then install SMS Engine — Enterprise Edition


  1. unregister the “MSComm.ocx” and delete it
  2. copy the new MSComm.ocx and manually register it

Merry Christmas 2018

Dear readers,

I wish to share a wonderful experience and a miracle.

I landed on Manila on 26 Nov, 10 p.m. I took Grab Car from airport to my hotel. After half an hour upon checking in, to my horror, I realized that my laptop bag was missing!

My bag had these valuable items:-
a) laptop with confidential files, intellectual properties, working e-mails, and passwords;
b) Public Bank security token;
c) HSBC security token;
d) house keys;

I started to panic but then calm down.

I had contacted the Grab car driver who dropped me at hotel to check if my laptop bag was left in his car. But he answered no.

I seek help from the hotel’s security to check the CCTV recording, it didn’t show me carrying laptop bag while checking in.

So the only place that I might have left my laptop bag was at the airport. So at 12:25 am in the morning, I took Grab taxi back to the airport and searched at these places:-
a) Grab booth;
b) Globe (TELCO) booth;
c) toilet of the baggage collection area
unfortunately, my laptop bag was not there.

Before going to airport I had prepared myself for the worst case scenario. I didn’t have any high expectations because Philippines is a poor country.

Finally, I asked for the direction to the lost and found office. And to my surprise, my laptop bag was there.

I had left it at the Grab counter, outside of arrival hall. Usually in this public area without any CCTV and security guard, my bag would have definitely gone. Not only I found my bag, all items in my bag were intact.

You can say that I had good fortune but I believe that it was a miracle.

Have you lost something? I wish that in this Christmas and in the coming new year, you will experience a miracle — something valuable that you have lost is found.

Merry Christmas!
Kong Leng

MOBITEK S80 SMS Modem — Send SMS via SQL Statement

Problem: Many 3G modems allow you to send SMS via graphical user interface but not able to integrate with your software or system.


Solution: MOBITEK® S80 SMS Modem

MOBITEK® S80 allows you to integrate with your software or system send SMS via SQL statement.

  1. To send out SMS
    Insert into Outbox (Message, Mobile, DateTimeQueue, Status) 
    values (‘Hello!’, ‘0163311600’, mm/dd/yyyy hh:mm am, ‘P’)
  2. To read all new SMS
    Select * from Inbox where Status = ‘New’


How It Works?

  • Your application will connect to a MS Access database file.
  • SMS Engine — Basic Edition (Windows software) connects to both MOBITEK® S80 and with the database file.
  • Whenever there is a new record in the [outbox] table, SMS Engine — Basic Edition will pick-up and instruct MOBITEK® S80 to send out as SMS.
  • Whenever there is a new incoming SMS recevied by MOBITEK® S80, SMS Engine — Basic Edition will automatically insert into [inbox] table


More Advantages of SMS Engine — Basic Edition 

  1. Rapid Development: no need to waste time in developing a programme to handle incoming and outgoing SMS.
  2. SIM Unlock: enter the PIN, and the SMS Engine will unlock the SIM card.
  3. Polling: set the frequency of database polling – this will control the speed of the sending and receiving SMS.
  4. Delivery Status Report: a report will accompany with each outgoing SMS to report whether the SMS is delivered or not.
  5. Routing: able to configure multiple mobile number prefixes (by comma separated).
  6. Direction: to speed-up the broadcast, SMS Engine can be configured to send SMS only.
  7. Query Balance: if prepaid is used, the credit balance can be queried.
  8. Reload: if prepaid is used, a top-up can be performed.
  9. For more information, refer to


New version 6 is available for existing customer to download. Please reply to this e-mail to receive the download link.

USB Driver of MOBITEK S80 SMS Modem Does Not Work in VirtualBox

Applies to: MOBITEK S80

MOBITEK® S80 for SMS Over 3G Network


Problem: when USB driver is installed, the following error message will appear:

  Windows was able to successfully install device driver
  software, but the driver software encountered a problem
  when it tried to run. The problem code is 10.

Problem signature:
  Problem Event Name:    PnPDeviceProblemCode
  Architecture:    x64
  Hardware Id:    USB\VID_1199&PID_68A3&REV_0006
  Setup class GUID:    {36fc9e60-c465-11cf-8056-444553540000}
  PnP problem code:    0000000A
  Driver name:    swiwdmbx64.sys
  Driver version:
  Driver date:    09-01-2014
  OS Version:    6.0.6001.
  Locale ID:    1033

Suggested Solution: in VirtualBox map the USB port of host machine to serial port to virtual machine, refer to  “How to Set-Up MOBITEK S80 Modem in VirtualBox