Answer Questions
N_G why the same code have diffren result between PC and PPC?
why the same code have different result between pc and ppc Sample Code (run as windows form ): create a form , add treeView control and add code as show following in form_load method. bool isSelected = false; treeView1.CheckBoxes = true; TreeNode tn; for(int i=0;i<40;i++) { if(i%2==0) isSelected = true;   ...Show All
Scott At RVC How to display multiple images in a row in ListView
Can anyone help me to have multiple images and text together in a row in ListView Control. Without seeing your code, not sure I can offer much. Share the code, or have a look at the list control in SDF from OpenNETCF for an example. Cheers Daniel Sorry, not possible. You must write your own control. Cheers Daniel Hi, I have created a custom ListView Contro ...Show All
Mustang QVGA at design time
Hi, when I create a new project, the device skin designer image is the VGA type. is there a way to display the QVGA image because when I deploy my app, the layout of the controls looks different from the way I wanted it to be.. thanks, Oren Hi Mohit, I'm using the .NET 2005 for smartphone application. there is QVGA smartphone emulator but I don't know how to use this image in des ...Show All
tpickett Adding a SQL Mobile Database to PPC project
I'm using VS2005 Beta 2 to develop a PPC application. When I try to add a new SQL Mobile Database to the project (by selecting Project | Add New Item | SQL Mobile Database), I receive the following error: "An error occurred while processing the local data file: Unexpected error". The database does appear in the project, but when I open it the local window shows what appears to be a memory dump. BTW, I have SQL S ...Show All
davidliut Trouble using native DLLs
We are having difficulty using native DLLs with VS2005 in C# on a PocketPC 2003 device, or the emulator. I would be extremely pleased to hear any suggestions on this matter. I have tried creating a simple DLL with both eMbedded Visual C++ 4.0, and as a C++ smart device DLL in VS2005. In both cases I get the " Can't find PInvoke DLL Whatever.dll" The DUMPBIN looks perfectly fine in both cases, no name mangling, etc. The DLL i ...Show All
ctharris Closing form witch checkbox checked
Simple question. How to close form when a checkbox is checked Thank you. Oh *** nevermind, just ignore what I said above. ...Show All
Docile When will WM5 SDK for Smartphone RTM
Hi All, Does anyone know when the Windows Mobile 5 SDK will be released Kind Regards, Tarek I believe it did about 5 months ago. Please download here: http://www.microsoft.com/downloads/details.aspx FamilyID=dc6c00cb-738a-4b97-8910-5cd29ab5f8d9&DisplayLang=en May be just a download page to remove "Beta 2" from it. :) I was under the impression that it would be updated for VS 2005 RTM. ...Show All
N. Gregg Brown How to detect when a custom control is being used at design time?
Hi I am trying to port a control library that was written with VS 2003. In the VS2003 version I had 2 libraries, 1 for the run-time code and one for use in the designer. The designer version checked a registry setting to see if it was licensed. VS2005 seems to do away with the need for the designer version, but I still want to check the registry when the controls are used at design-time. I thought I could use the DesignMode property but that is ...Show All
mister.manners infrared!
Hi. I want to be able to send data (hex codes or whatever) using the infrared ports. I have imported the System.Net.Irda reference and able to access the IR classes. However, I do not wish to connect to a device but rather send data. The device I am sending data to will be a dumb device really, just as a "reciever"... this can be a remote control recieving box or a TV IR reciever for example. IS it possible to do this how I cannot seem to find a ...Show All
elect_son How to use SetWindowLong in VB
Hi! I am trying to use the SetWindowLong and CallWindowProc API functions in VB. In desktop VB, they're supposed to be declared as: Declare Function SetWindowLong Lib " user32 " (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Declare Function CallWindowProc Lib " user32 " Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Lo ...Show All
Tore Bleken POOM notification on changing appointments?
Hi, is there any method to get my application notified about poom database changes E.g. the user adds a new appointment and my app gets notified or is there an event I can wait for At the moment I do a query on POOM database in an interval but it costs unreasonably battery power and performance. This is a new feature in WM 5.0. I'm doing the same thing with contacts. http://www.windowsfordevices.com/article ...Show All
Camille9805 MenuItem Control.Invoke
I'm developing with .NET compact framework 2.0 and I want to modify the Text of an MenuItem from an another thread. I want to use the method Control.Invoke of the MenuItem but this control hasn't got it. What could I get it I don`t want to use a statusBar. Thank you. You could use Invoke() on a form this menu belongs to. ...Show All
craigg75 Flickerfree drawing: GDI, DirectX or something else?
Hello, I wrote a little windowed PC game with GDI. Now I wanted to convert it for my Pocket-PC device (Windows Mobile 5.0), but it flickers extremely. The PC version runs perfektly thanks to double buffering. Now I'm searching for a solution how I can do it better. I found a way to do double buffering in GDI with two separate Graphics objects, but it's not so fine it flickers although. How I can draw some flickerfree moving graphics ...Show All
Ksenofil Installing device driver
I have created a device driver for PPC that I install and setup registry entries for in HLM\Drivers\BuiltIn. Under PPC 2003, my device driver DLL gets loaded at boot time. If I go into he remote process viewer and view device.exe, my dll shows up in the list. OTOH, on a WMv5 device, the dll does not show up under device.exe until my application calls RegisterDevice. Is there a way on WMv5 to get my device driver DLL pre-loaded since it doesn't s ...Show All
brettman Copy Files (and use them) on Smartphone Emulator
It seems as though I can create a share on my dev machine and the Smartphone Emulator accepts them via File - Configure - General - Shared folder (although there's no way of telling). However, because the Smartphone emulator does not have a built-in File Manager there is no way to copy around the files on the device (emulator). For example, say your Smartphone app relies on some .xml files for storing app-related information. I cannot figure ou ...Show All
