Pocket PC

Friday, November 25, 2005

Microsoft Reader (LIT) files working on PalmOS handhelds

The easiest way how to read unprotected .lit files on palm i havefound would be to use ConvertLIT utility to 'explode' the lit fileinto its original components, then use free Mobipocket Publisher -personal edition to convert the source files into .prc file that canbe read by either mobipocket reader or palm ereader, i am sure thereis more readers that are capable of displaying it, those two are theones i think that are most widely used.Resources:Windows version of the ConvertLIT utility [free]:http://www.hot.ee/dukelupus/ConvertLIT.htmMobipocket Publisher, personal edition [free]:http://www.mobipocket.com/en/DownloadSoft/ProductDetailsPublisher.aspFree Mobipocket Reader for PC [free]:http://www.mobipocket.com/en/DownloadSoft/default.aspyou can use the 'standard edition of reader on palm' or the free emulator on pc.

Viewing, Modifying, and Synchronizing Pocket Access Databases

When you transfer a Microsoft Access (.mdb) database from a desktop PC to a Pocket PC, the database is converted to a Pocket Access (.cdb) database. When you copy the Microsoft Access database from your desktop PC to your Pocket PC using the Explore feature of ActiveSync, a dialog box pops up. This dialog box has a text box where you can enter the location of the folder where you want to copy the database, by default it is the My Document folder. The dialog box also shows all the tables and the fields within each table in a tree view with a checkbox in front of each of them. You can check the check boxes of the corresponding tables and fields in each table that you want to transfer to your Pocket PC. Finally, the dialog box has two options that say, "Keep tables synchronized" and "Overwrite existing tables and/or data." You can either check these options or leave them un-checked according to your preference.There is no built-in application in a Pocket PC, to view or modify these databases. Fortunately there are third party applications available from re-sellers like Handango.com and PocketGear.com that will let you view and modify Pocket Access databases. Some of the applications that I came across on these reseller sites include abcDB DATABASE, DB Anywhere Database, Data On The Run, and SprintDB Pro.

ActiveSync 4.0 USB Connection Troubleshooting Guide

In some specific cases, Windows Mobile device connectivity to a Windows PC running Microsoft ActiveSync 4.0 may experience connection problems. This document will describe the known issues, and how you may resolve these issues.
*Please note that it is recommended that customers use ActiveSync 4.0 only for devices running Windows Mobile 5.0 software.
Issues:
The end users experiences include the following:
Connection between a Device and PC is dropped during data transfer or synchronization.
Connection is never established between PC and the Device and there is no visual feedback.
Synchronization is completed partially, but does not finish as intended.
The PC does not function as intended when connected to a Device.


Cause:
The end user experiences listed above are likely caused by interoperability with desktop firewall applications or applications that manage network traffic. These applications appear to conflict with the TCP traffic between a Device and the PC. If there is a conflict, it may cause the end user experiences outlined above. Listed below are examples of applications where an end user may likely have these experiences.
Disclaimer
Before you change any settings on your PC, network, or other equipment, please review the following disclaimer notice: Disclaimer.
Click on each topic for more information:
Desktop Firewall Applications
Network Connection Managers
VPN Clients
Network Traffic Optimizers
Parental Control Utilities
USB Hub or Docking Station

Desktop Firewall Applications
Firewall applications are designed to block network traffic and secure the desktop PC from incoming network connections. Since ActiveSync utilizes TCP ports for data transfer with Windows Mobile-based devices, you may need to explicitly allow this traffic to be un-blocked by Firewall applications. To do so, you must add ActiveSync application processes into the Firewall Programs Exception List.
Troubleshooting:
If you are currently running any of the following Firewall Applications and wish to enable ActiveSync, please consult the detailed steps described below to add ActiveSync application processes into the Firewall exception list:
Sygate Personal Firewall
TrendMicro PC-cillin Internet Security 2005
Norton Personal Firewall
Zone Alarm Security Suite
McAfee Personal Firewall
For additional firewall software not mentioned above, please consult your firewall application documentation on how to add ActiveSync application processes to the exception list.
Note: ActiveSync files include:
Wcesmgr.exe
Wcescomm.exe
Rapimgr.exe
Ceappmgr.exe
These application processes are located in the ActiveSync installation folder (C:\Program Files\Microsoft ActiveSync\ if installed in C drive with default settings).
ActiveSync also uses the following TCP ports for communication to/from these processes:
990
999
5678
5679
5721
26675

Network Connection Managers
Network Connection Managers are utilities that intelligently manage connection interfaces so that a PC with multiple connection methods (e.g. Ethernet, Wireless LAN, etc.) can utilize the best connection. In some cases, the utilities will shut down network interfaces and promote other interfaces for the best connection performance. Some of these utilities are implemented as NDIS Intermediate Drivers that monitor and affect the Windows system TCP/IP stack.
Since Windows Mobile 5.0 and ActiveSync 4.0 now utilize the Windows system TCP/IP stack for communication, the device connection will appear as a network interface and can be interrupted by a Network Connection Manager utility. Some utilities may mistake the ActiveSync connection as a valid internet connection and shut it down in favor of Wireless LAN connection.
If you experience issues with device to PC connectivity, please make sure a Network Connection Manager is not conflicting with the connection.
You can also try the following steps to un-bind NDIS Intermediate Drivers from your device Adapter.
NOTE: Unbinding these drivers may have unforeseen consequence including reduced functionality or the risk of a security vulnerability. If you have any questions or concerns regarding disabling these drivers, do not proceed any further and please contact the manufacturer.

Step 1
In Windows, click on the Start Menu and navigate to Control Panel.
Classic View:
Inside the Control Panel, double click on the "Network Connections" icon.
Category View:
Inside the Control Panel, click on the link for "Network and Internet Connections".
In the subsequent window, click on "Network Connections" at the bottom of the window.

Step 2
In the "Network Connections" window, right click on the connection with "Device" field labeled "Windows Mobile Device" followed by a number. Click on "Properties" once the context menu appears.
Note: It may help to put this window into "Details View" to identify the correct adapter with the "Device" field specified above.

Step 3
In the "Properties" Window, be sure to uncheck all check-boxes in the "This connection uses the following items:" list EXCEPT for:
-Client for Microsoft Networks
-File and Printer Sharing for Microsoft Networks
-Internet Protocol (TCP/IP)
-Hit Close.



Note: If this does not solve your problem, please follow the steps to re-check the all the protocols on the device Adapter.

VPN Clients
Virtual Private Network (VPN) Clients are utilities that facilitate a remotely connected PC to authenticate and join a secure private network. Some components of VPN clients are implemented as NDIS Intermediate Drivers that monitor and affect the Windows system TCP/IP stack traffic.
Since Windows Mobile 5.0 and ActiveSync 4.0 now utilize the Windows system TCP/IP stack for communication, the device connection will appear as a network interface and information between the PC and your device may be erroneously interrupted by VPN Clients. This may cause difficulties in connecting the device with a PC while the PC is joined on a Virtual Private Network.
If you experience issues with device to PC connectivity in this case, you may need to turn off the VPN Client to restore connection functionality.
You can also try the following steps to un-bind NDIS Intermediate Drivers from your device Adapter.
NOTE: Unbinding these drivers may have unforeseen consequence including reduced functionality or the risk of a security vulnerability. If you have any questions or concerns regarding disabling these drivers, do not proceed any further and please contact the manufacturer.

Step 1
In Windows, click on the Start Menu and navigate to Control Panel.
Classic View:
Inside the Control Panel, double click on the "Network Connections" icon.
Category View:
Inside the Control Panel, click on the link for "Network and Internet Connections".
In the subsequent window, click on "Network Connections" at the bottom of the window.

Step 2
In the "Network Connections" window, right click on the connection with "Device" field labeled "Windows Mobile Device" followed by a number. Click on "Properties" once the context menu appears.
Note: It may help to put this window into "Details View" to identify the correct adapter with the "Device" field specified above.

Step 3
In the "Properties" Window, be sure to uncheck all check-boxes in the "This connection uses the following items:" list EXCEPT for:
-Client for Microsoft Networks
-File and Printer Sharing for Microsoft Networks
-Internet Protocol (TCP/IP)
-Hit Close.


Note: If this does not solve your problem, please follow the steps to re-check the all the protocols on the device Adapter.

Network Traffic Optimizers
Network Traffic Optimizers are utilities that enhance a connection to increase connection throughput. In some cases, this is done by modifying the network packets or re-directing network traffic to save transfer time. Some of these utilities are implemented as Transport Driver Interface Drivers that are installed in the Windows system to monitor the TCP/IP stack.
Since Windows Mobile 5.0 and ActiveSync 4.0 now utilize the Windows system TCP/IP stack for communication, the device connection will appear as a network interface and information between the PC and your device may be erroneously interrupted by Network Traffic Optimizers.
If you experience issues with device to PC connectivity, please make sure that a Network Traffic Optimizer is not conflicting with the connection. You can check this by temporarily disabling or uninstalling the Network Traffic Optimizing software you are running.

Parental Control Utilities
Parental control utilities are often designed to block network traffic to designated internet addresses. These utilities may be implemented as a Layer Service Provider that monitors network traffic across multiple Windows applications. ActiveSync communications between the PC and your device may be erroneously interrupted as well by these Layer Service Providers making it difficult to establish a connection.
If you experience issues with device to PC connectivity, Parental Control Utilities could be conflicting with the ActiveSync connection. You can check this by temporarily disabling or uninstalling any Parental Control Utilities you are running. If you are having a conflict with such a utility, you may need to contact the utility manufacturer for a work around.

USB Hubs & Docking Stations
USB hubs and laptop docking stations have not exhibited consistent stability with Windows Mobile-based devices and ActiveSync.
If you experience connection drops or inability to connect through a USB hub or docking station, please connect the device directly to the PC USB ports.

Disclaimer
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE MATERIAL ON THIS WEBSITE, INCLUDING ANY REFERENCED THIRD PARTY SOFTWARE. THE MATERIAL CONTAINED ON THIS WEBSITE IS FOR INFORMATIONAL PURPOSES ONLY; SUCH MATERIAL IS PROVIDED "AS IS" AND WITH ALL FAULTS, AND YOUR USE OF THE MATERIAL IS AT YOUR OWN RISK. Any modifications discussed on this website, including modifications to your firewall, security software, or network connections may have unforeseen consequences, including reduced functionality or a potential security vulnerability. Your system may be different than the scenarios described on this website; confirm your system requirements and specifications before proceeding. If your PC connects to a corporate network, check with your IT department before making any modifications described on this website. For additional information regarding use of the material contained on this website, please see the Microsoft Terms of Use.

Installing programs with CAB Files

Sometimes A CAB ("Cabinet") file, a single compressed file that holds the configuration information and files, is needed to install an application on a computer running one of Microsoft's operating systems. Generally, when you purchase or download a user-installable program for your Pocket PC, Handheld PC, or Smartphone, you download a single "installer" file to your desktop PC. Usually, this file has the .EXE file extension on the end, but sometimes it is a compressed ZIP file, which you must un-zip to access the .EXE file.You then connect your Windows Mobile device to your desktop PC via ActiveSync and run the installer program. This .EXE file contains within it the necessary CAB file, which it copies to your Windows Mobile device and causes the CAB file to execute. The CAB file completes the installation process.Note that some online software vendors now offer third party programs as standalone CAB files. You can download this directly to your Windows Mobile devices, locate them with File Explorer, and tap on them to install the program in question. This bypasses ActiveSync and the desktop PC completely.If you use CAB files (instead of ActiveSync) to load software on your Windows Mobile device, you need to keep in mind that the original CAB file disappears after you install the program. If you ever want to re-install the program, you need to make a copy of the CAB file before you install the program. For example, if you do a hard reset of your Windows Mobile device or if you buy a new device and want to install the program on it.Use File Explorer to make a copy of the CAB file and store it somewhere safe, like on a CompactFlash or Secure Digital storage card. You might also keep a copy of the CAB file in a special folder on your desktop PC. If you store it on your PC, you might want to left-click on the CAB file, select the Properties option, and set Attributes to Read-only. This keeps the original CAB file from self-destructing after the activation process. (Based on a tip by John Ottini: www.hpcnec.com/hpcnl.htm.)

Viewing file extensions on the Pocket PC

A file extension is the set of three letters that come after the period in a file name and tell you what type of file you're dealing with. For example, the file extension in FILENAME.DOC tells you that it is a document file for Word or another word processing program. The extension in FILENAME.EXE tells you that it is an "executable" file for a program. For example, PocketTV.exe is the main program file for the MPEG video player Pocket TV.The File Explorer program built into the Pocket PC does not display file extensions. Instead, it displays an icon indicating the type of file you are dealing with. This is fine for most file types, but you may occasionally run into a file type that File Explorer does not recognize. In that case File Explorer will display a generic icon indicating that it does not recognize the file type. There are two ways to see the file extension.The first ways are free. Connect your Pocket PC to your desktop PC via ActiveSync and then, from the ActiveSync screen on your desktop PC, click on the Explore option. This launches the desktop PC's File Explorer application, which will display a list of drives you can access. Click on the "Mobile Device" drive to display the files on your Pocket PC. If the file extensions are not displaying in, click on the Tools menu and select the Folder Options from the drop-down menu. Go to the View tab and make sure you un-check the box labeled "Hide extensions for known file types." Tap on OK and the file extensions should display on your desktop PC.Or, you can install Total Commander (www.ghisler.com), which displays file extensions on your Pocket PC. It's freeware (though you have to pay for the PC (desktop) shareware version after 30 days.The second way lets you view file extensions on your Pocket PC, but will cost you a little. Purchase and install one of the third-party file explorers that will display file extensions. The following are available for both the Pocket PC and Smartphone: Resco Explorer (www.resco.net), and ALL-Explorer ( www.all-locations.com).

Don't use plastic screen covers to protect your Pocket PC

When you first pull your Pocket PC out of the box, there may be a thin plastic sheet covering the screen. This sheet protects the screen during shipping and should be removed before using the Pocket PC. Note that this sheet is not intended to be used to protect the screen from wear and tear that can be caused by the stylus over a period of time. Most Pocket PC manufacturers offer packets of screen overlays as an optional accessory. You can purchase these directly from your Pocket PC manufacturer. They are also available as screen “overlays” or “protectors” from online vendors like Mobile Planet (www.mobileplanet.com) and Expansys (www.expansys.com). One commonly recommended third-party product is WriteShields, available from Pocket PC Techs

After reading this thread at Aximsite where users complain about hard resets invoked by Pocket Mechanic I thought to shed some light on Anton Tomov's crude ways of dealing with software pirates.I understand that Tomov is upset about people using illegal codes for his software. But does this give him the right to forcefully wipe-out someone's PDA? Isn't that highly illegal as well?That's right. Use a pirated or blacklisted serial with Pocket Mechanic, Pocket Mechanic will detect it, and send your PDA with all its lovely content to Nirvana land. I don't know what Tomov is thinking, but I can only recommend everyone do not buy any of his products. What if a bug sneaks into his code enabling his hardreset routine even if you are a legal buyer? Who is going to pay for your damages? Mr. Tomov, would that be you?Technicals:The hardreset routine Tomov uses looks like the following:

#include
#define IOCTL_HAL_REBOOT CTL_CODE(FILE_DEVICE_HAL, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)
extern "C" __declspec(dllimport)void SetCleanRebootFlag(void);
extern "C" __declspec(dllimport) BOOL KernelIoControl(
DWORD dwIoControlCode,
LPVOID lpInBuf,
DWORD nInBufSize,
LPVOID lpOutBuf,
DWORD nOutBufSize,
LPDWORD lpBytesReturned);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{ SetCleanRebootFlag();
KernelIoControl(IOCTL_HAL_REBOOT, NULL, 0, NULL, 0, NULL);
return 0; }

Perhaps someone should write a small utility that traps calls to KernelIoControl when the IOCTL_HAL_REBOOT flag is set. I cannot understand why Microsoft makes it so easy for virus programmers and people like Tomov to hard reset someone's PDA.