Author Archives: Administrator

How to Run VCOM as Windows Service Using “AlwaysUp”

VCOM

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 install a 3rd party software call “AlwaysUp”.

 

Install & Configure VCOM in AlwaysUp

  1. Download “AlwaysUp” here … or from 3rd party web site ….
  2. Install it.
  3. Add a new service.
  4. Point to the path of “vcom.exe”.
  5. Ensure the status is “Automatic”.
  6. To view the GUI of VCOM, click on “Switch to Session 0”.
    then it will display the VCOM GUI:
  7. To return to Windows desktop from VCOM GUI, click “Return now”.

 

Warning

  1. After VCOM service is started by AlwaysUp, sometimes, this message by “Interactive Services Detection” will appear “A program running on this computer is trying to display a message”:
    click on “View Message” to switch to VCOM GUI:

  2. To return to Windows desktop from VCOM GUI, click “Return now”.

 

 

How Does MOBTEK Q24 STK MODEM HUB (model B-8-L-SG) Work?

 

MOBITEK® Q24 STK MODEM HUB, model B-8-L-SG, has 8 modems supporting 8 SIM cards. Each modem in the hub has an IP address with different port number:

  • modem 1 => 192.168.1.10:961
  • modem 2 => 192.168.1.10:962
  • modem 3 => 192.168.1.10:963
  • modem 4 => 192.168.1.10:964
  • modem 5 => 192.168.1.10:965
  • modem 6 => 192.168.1.10:966
  • modem 7 => 192.168.1.10:967
  • modem 8 => 192.168.1.10:968

On PC side, you will need to install a virtual com port driver that will map com port to the IP address, e.g.:-

  • COM Port no. 11 => modem 1 (192.168.1.10:961)
  • COM Port no. 12 => modem 2 (192.168.1.10:962)
  • COM Port no. 13 => modem 3 (192.168.1.10:963)
  • COM Port no. 14 => modem 4 (192.168.1.10:964)
  • COM Port no. 15 => modem 5 (192.168.1.10:965)
  • COM Port no. 16 => modem 6 (192.168.1.10:966)
  • COM Port no. 17 => modem 7 (192.168.1.10:967)
  • COM Port no. 18 => modem 8 (192.168.1.10:968)

Then your Reload System/Software communicates with the COM port number, e.g.:-

  • Reload1.exe => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 11
  • Reload2.exe => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 12
  • Reload3.exe => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 13
  • Reload4.exe => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 14

Or if you are using multi-threading, then

  • Reload.exe => thread no. 1 => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 11
  • Reload.exe => thread no. 2 => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 12
  • Reload.exe => thread no. 3 => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 13
  • Reload.exe => thread no. 4 => MobitekSTKAPI.dll => DisplayMainMenu() => COM Port no. 14

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:

WARNING

  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.

 

Source: https://support.microsoft.com/en-my/help/137890/how-to-create-a-user-defined-service

Job Vacancy — IT Executive, Puchong, Basic Salary

Updated on 2020-Jan-20

Position

  • IT Executive

Requirements

  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: VB.net, 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

Dress Code

  • smart casual

Job Scope

Software Development

  1. design and write sample codes in VB.net, PHP

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

  3. update and maintain MOBITEK SMS Engine — Enterprise Edition in VB.net, 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 and products offered by MOBITEK

  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 data sheet and product catalogue

  4. update and maintain corporate web sites, corporate blog

Interested candidate can send his resume to admin@mobitek.com.my .

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 …

 

TROUBLE SHOOTING

SOLUTION
SOLVED?
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.

NOTE

  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 crm.mobiteks80.com as they are NOT using “mysqli”.

How to Solve SMS Engine Fails to Initialize Despite Hyper Terminal Can Communicate with MobiGATE

Applies to:

  • All SDK (SMS API, STK API, etc.)
  • all versions of SMS Engine — Enterprise Edition

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

Solution:

  1. Uninstall MOBITEK SMS Engine — Enterprise Edition.
  2. Unregister “MSComm32.ocx”:
    1. for Windows 64-bit, run “cmd” or “Command Prompt” as “administrator”, then type
      1. “cd %systemroot%\SysWoW64\
      2. regsvr32.exe /u mscomm32.ocx
    2. for Windows 32-bit, goto Start → Run → type “regsvr32 /u mscomm32.ocx”
  3. Delete “MSComm32.ocx”.
  4. Re-install SMS Engine — Enterprise Edition.

or

  1. Unregister the “MSComm32.ocx” and delete it
    1. for Windows 64-bit, run “cmd” or “Command Prompt” as “administrator”, then type:
      1. cd %systemroot%\SysWoW64\
      2. regsvr32 /u mscomm32.ocx
    2. for Windows 32-bit, goto Start Run  type “regsvr32 /u mscomm32.ocx
  2. Copy the new “MSComm32.ocx” and manually register it:
    1. for Windows 64-bit, run “cmd” or “Command Prompt” as “administrator”, then type:
      1. “cd %systemroot%\SysWoW64\
      2. regsvr32 mscomm32.ocx
    2. for Windows 32-bit, goto Start Run type “regsvr32 mscomm32.ocx

 

source: https://support.microsoft.com/en-my/help/249873/how-to-use-the-regsvr32-tool-and-troubleshoot-regsvr32-error-messages