• How to create a full-screen application in .Net CF

    Applications can use the screen real estate to their benefit by running in full-screen mode. If you are developing your application in .NET CF, there are 2 ways to make it full screen. In CodePut the following code into your form’s Load() method like below. In Designer ViewSet FormBorderStyle to None and…

  • How to debug CeRAPIInvoke Calls

    RAPI (Remote API) dlls are loaded by rapiclnt.exe on the Windows Mobile device when CeRapiInvoke API is called by the desktop application. CeRapiInvoke is a general-purpose API to remotely execute a function on a Windows Mobile device that is connected to the desktop over ActiveSync. To debug your RAPI dll,…

  • How to programmatically display system tray icon on Windows Mobile

    As a Windows Mobile user, you would have seen some icons near the bottom right corner of the Today screen. These icons give users the ability to easily launch the application or show a menu with more choices. This post discusses the steps and code to put your own icon…

  • How to determine the IP Address of a Windows Mobile device

    Below is the code to determine the IP addresses of adapters on a Windows Mobile device, using IPHelper APIs. Add Iphlpapi.lib to linker settings. For more details on our products, click here If you need further assistance, please submit a ticket here 

  • How to programmatically modify the SureLock Settings on Windows devices

    One of the common requests we received from some of our customers was for a solution to make it possible for a third-party application to programmatically change the SureLock Security password on the device. We have implemented a generic solution to update SureLock settings on the device without having to…

  • How to capture device screenshots with SureLock Studio on Windows devices.

    SureLock Studio has a pretty nice feature that can be quite useful during troubleshooting problems on the device. If the application on the device is not behaving as expected in kiosk mode, you can capture the screenshot and send it to Technical support. Not all Windows Mobile devices are exactly…

  • How to get process id and thread id from a Window Handle in .NET CF?

    Specify the namespace for doing P/Invoke stuff i.e. calling Win32 API functions from managed code. using System.Runtime.InteropServices; GetWindowThreadProcessId Win32 function retrieves the identifiers of the process and thread that created the specified window. Here is how we declare GetWindowThreadProcessId for use in managed code (c#). [DllImport(“coredll.dll”)]private static extern uint GetWindowThreadProcessId(IntPtr hWnd,…

  • How to disable “Unsigned Prompt Policy” on Windows Mobile?

    Many Windows Mobile (Pocket PC) devices ship with one-tier security configuration enabled. That means if an unsigned application is started, then the user is prompted whether to allow the unsigned application to run or not. If the user based on his/her judgment allows the application to run, the application runs…

  • How to restrict websites in Android using SureFox

    Many enterprises provide mobile devices (tablets and smartphones) to their employees for running web-based mobile apps. However, with the increased availability of online content such as games, music, movies, and social networking sites, providing complete web access can distract the users, leading to decreased productivity and posing a threat to…

  • How to enable SureMDM Agent from SureLock

    With the growing use of mobile devices to connect with the enterprise network and access business data, mere locking down these devices is not enough. A centralized console is necessary to manage, control, and secure all such endpoints. With the integration of lockdown solutions like SureLock and advanced enterprise management…