Findwindow Question – Windows CE

No blog for a while. I have no excuse

I have been working on doing a vehicle tracking interface for OziExplorer CE. This required me to use VB.NET under Windows CE. An interesting exercise. I have had issues getting the install program to work. It would not install the OpenNetCF SmartDeviceFramework that I had used for the FindWindow function.

Searching on the net I a Blog Entry with an example in C-sharp. With some help of another Blog I was able to convert this to VB.NET under Windows CE.

Public Declare Function FindWindow Lib “coredll” (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr

oziwindow = FindWindowCE.Native.FindWindow(vbNullString, “OziExplorer”)

So Easy when you know how