|
Hello,
I do not see the Cecamera sample in the Windows Mobile 6.0 SDK. You may refer the sample from the Windows 5.0 SDK to develop your own application for Windows Mobile 6.0.
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
how can i draw a string in .net cf inside a menu
in the menu click event
how can i call the OnPaint() in menu click event
modified on Saturday, February 16, 2008 3:32 AM
|
|
|
|
|
Hi Guy
i think u can't directlly call that method. so try a custom menu inherit from the menu anmd override the Onpaint event with a ur own method and call to with in the event. So try directlly, if not get success try with ur custom menu.
Cheers,Earn and Enjoy
RRave
MCTS,MCPD
|
|
|
|
|
Is there a way to uniquely identify a Windows Mobile 5.0 device? I am using web services to sync data and I want to be able to identify which device is being synced so I can send only the needed data.
I'm assuming each Windows Mobile installation has a guid. Does anybody know?
|
|
|
|
|
|
I get the impression that those solutions are completely native code. I'm using C#. I'd like to use managed code. I could use System.Net.Dns.GetHostName(), but that's unreliable for uniqueness.
|
|
|
|
|
Hi,
JGentsch wrote: I get the impression that those solutions are completely native code. I'm using C#. I'd like to use managed code. I could use System.Net.Dns.GetHostName(), but that's unreliable for uniqueness
Yes that is correct, the .NET Compact Framework / Windows Mobile OS doesn't provide any managed way to easily access the unique device id.
However this shouldn't be too much of an issue, since it can be worked around via a little bit of Platform Invoke code. For example www.pinvoke.net has a page discussing how you could do this on a Windows Mobile 5.0 or higher device via a function called GetDeviceUniqueID at http://pinvoke.net/default.aspx/coredll/GetDeviceUniqueID.html
Hope this helps,
Christopher Fairbairn
Windows Mobile Development blog
http://www.christec.co.nz/blog/
|
|
|
|
|
|
Hi to all,
i m working for Win ce 6.0 platform having VS 2005 as a platform builder and SDK as a language...
i m facing the problem regarding the settings of default keys
ie...
when i m creating any menu,then we are using the up down keys to check the pop up items and we are using the Enter key to select any item,
I want to use char keys instead of this keys like 'P','R'....
I hope i'll get the answer...
thnx in advance
Pankaj
|
|
|
|
|
Hi friends ..
Now i am doing one kind of project has name as BREW using C++ ..is there any developers there!!!
Thanks N Advance!!!
raju.k
|
|
|
|
|
Hi friends ..
Now i am doing one kind of project has name as BREW using C++ ..is there any developers there!!!
raju.k
|
|
|
|
|
Hi anyone!
I am trying to draw to my custom control with VS2005 with compact framework 2.0.
My control and a second class which references its Graphics object are seperate
but in the same file... i create my second class and attempt to draw small images
on the control using its graphics object reference at later stages of the app running.
I get an ObjectDisposedException, but I understand what this means, but is there anywway
I can reference the controls drawing object just before i process the drawing code?
or any other work around for that matter! thankyou in advance for this!
|
|
|
|
|
Best practice is to do all your drawing in the OnPaint method or in a handler for the Paint event. You can cause a callback into OnPaint by calling the Invalidate method, to tell Windows what part of the control needs to be repainted.
If you want to perform some immediate painting, rather than waiting for the Paint event to fire (which is deferred, in the Windows messaging model, to allow input to be processed at a higher priority than painting operations) follow this pattern:
using ( Graphics g = ctl.CreateGraphics() )
{
} The documentation for CreateGraphics specifically says, "The Graphics is only valid for the duration of the current window's message." You are not allowed to save it and reuse it.
The technical reason behind this is that Device Contexts - the Windows data structure behind the Graphics object - are expensive, and the system only keeps a small pool of them available. If you were to retain them, the pool would quickly run out and no-one would be able to draw anything. So the Framework automatically gives it back at the end of processing every window message.
You still need to remember everything that you've drawn anyway and be prepared to redraw it in OnPaint . Windows does not save your screen layout when something is drawn on top of it (the start menu, a notification bubble, another application), you have to repaint it when the obscuring object is removed.
The best resource for understanding Windows' drawing and events model is Charles Petzold's book "Programming Windows, Fifth Edition". Yes, it hasn't been updated in 10 years. It targets desktop Windows. It uses the C programming language. The fundamentals are the same between the desktop and CE, and they haven't changed since Win32 was introduced with NT 3.1 in 1993.
If you do turn your hand to the desktop, note that Windows Vista with Aero now does save your drawing because you're not actually drawing to the screen, you're drawing to an off-screen bitmap which the graphics card combines with all the other windows' bitmaps to produce the screen output. You should still do all your drawing in OnPaint so that the drawing can be synchronized properly.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hello...
I'm looking a way to unbind all hardware buttons on my ipaq 214. But i still need to be able to assign 2 few buttons to work in my program..
Greeting de1uxe..
|
|
|
|
|
Hello all,
Latelt I have been complicating my life with more programming that i can handle. Now I am developing databases applications on the pocket pc and using Data on the Run to design them on the fly but I would like to use them directly from my device, anyone knows how? And how can i use a "access database" from the pocket pc itself?
Or even better how can i use databases on the pocket pc? I tried to use sqlce but not luck, probably bad installation or something like it.
I got a php and asp server for the pocket pc and since i don't have a computer i will be creating websites with php and asp in the pocket pc... cool huh!?
best regards,
Luis
Programming mode = NET realm!
|
|
|
|
|
hi all,
i want to know how to turn on Bluetooth on Pocket PC emulator(which is available in Visual Studio 2005). i m doing project on file transfer using blueooth on Windows mobile phones..
|
|
|
|
|
Hi Guy
First i'm asking one question, r u using third party component fot enable BT in Pocket PC? Now managd code or native code u r using enable BT. So i think best way use the device for BT test. because of enumlator not suitable for BT.file transfer and all.if u have any further question come to online in google talk with vrrave@gmail.com.
thanks
Cheers
RRave
MCTS,MCPD
|
|
|
|
|
I'm wondering how to implement an auto-upgrading system for a windows mobile (C# .NET 2.0) application that works as well as ClickOnce or something similar. The app would communicate to a web service to get patch info and the actual files as well.
Does anybody know of an article that explains how to impliment an upgrade system for a mobile application?
I've read a few articles on transfering files over a web service, so that's as much of a hurdle.
|
|
|
|
|
|
Yes one guy give link to you for to up-to-date functionality with webservice for PPC.
Thanks
Cheers
RRave
MCTS,MCPD
|
|
|
|
|
I know the window class of the taskbar is 'HHTaskBar'. So I can get it's handle via FindWindow function.But I can't get the icon information.
Thanks!
|
|
|
|
|
|
Thank u! I want to emumerate icons on taskbar.
|
|
|
|
|
i will check with my code,you can try with P/Invoke.
thanks
|
|
|
|
|
Hi,
Does anyone know if it possible to install Version 2.0 of the Compact Framework for use with Visual Studio.NET 2003?
If yes, where can it be downloaded?
Thanks in advance.
|
|
|
|