Hi there
I am new in programming on my pocket PC.....i have a label but i cannot seem to get it to trigger any event?
Any ideas anyone?
Printable View
Hi there
I am new in programming on my pocket PC.....i have a label but i cannot seem to get it to trigger any event?
Any ideas anyone?
what errors are you gettings.
What code have you placed inside the label1_Click Event
it just does not work..!
i have just put a msgbox event and it does not work!?!?
apologies click event is actually not available in cf.net
have a look here http://www.intelliprog.com/articles/index.html
This is one of the great joys of the .NET CF. Some of the events available in .NET do not appear in the CF, but others appear, and can be used, but do NOTHING!!! This is fairly infuriating the first time you encounter them. My particular favorite was the backcolor property for buttons (backcolor is supported for some things).
Get slapped with that a few times, and you will learn to check for the 'Supported by .NET Compact Framework' line in the documentation.
I beleive you can just use the 'link' control instead of label... you may even be able to have it not be underlined and thus look just like a label. I haven't tried it but it seems like it should work.
The Pocket PC, does it run Windows XP ?
One could write in VB6 or Net and install it?
Hi acourt,
Microsoft produces Windows Mobile 5 which is an operating system designed for Pocket PCs or PDAs. http://en.wikipedia.org/wiki/Pocket_PC. You can also get Windows CE, and other non-Microsoft operating systems for mobile devices, but XP's too big and bulky to run on a Pocket PC.
The .Net framework is available in a cut down version, called the Compact Framework (CF) for Windows Mobile 5, and this is probably what you're looking for if you want to code VB.Net for a PDA.
I did a quick search, and it looks like some people have done the work in making old VB apps work on WM5 e.g. http://www.pocketpcfreeware.com/en/index.php?soft=1075, but I haven't ever tried this.
Hope that helps
Don't bother even trying to run a desktop system on a PDA. The screen issues would be so great that you almost certainly have to rethink your interface completely. However, if you are writing in .NET, and keep to the features that are included in the Compact Framework, then porting the application over to a PDA would be VERY simple. I think that you would still have to create a new project, since the project type is different, and there are a few different debugging and packaging options with a mobile app, but if you created the project on a desktop system, then you could create a mobile project, and just import everything from the desktop project.
Of course, this will only work in those relatively rare cases where a desktop project works in a PDA size format. Basically, this means that only programs with tiny or no interfaces are the only ones that convert directly.