|
-
Mar 10th, 2005, 12:10 PM
#1
Thread Starter
Frenzied Member
Label1.Click event does not work???
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?
Last edited by dinosaur_uk; Mar 14th, 2005 at 06:16 AM.
-
Mar 11th, 2005, 05:30 AM
#2
Fanatic Member
Re: Label1.Click event does not work???
what errors are you gettings.
What code have you placed inside the label1_Click Event
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Mar 11th, 2005, 05:33 AM
#3
Thread Starter
Frenzied Member
Re: Label1.Click event does not work???
it just does not work..!
i have just put a msgbox event and it does not work!?!?
-
Mar 11th, 2005, 06:43 AM
#4
Fanatic Member
Re: Label1.Click event does not work???
apologies click event is actually not available in cf.net
have a look here http://www.intelliprog.com/articles/index.html
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Mar 11th, 2005, 12:39 PM
#5
Re: Label1.Click event does not work???
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.
My usual boring signature: Nothing
 
-
Jan 4th, 2007, 03:31 AM
#6
Lively Member
Re: Label1.Click event does not work???
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.
-
Jan 4th, 2007, 10:11 PM
#7
New Member
Re: Label1.Click event does not work???
The Pocket PC, does it run Windows XP ?
One could write in VB6 or Net and install it?
-
Jan 5th, 2007, 10:46 AM
#8
New Member
Re: Label1.Click event does not work???
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
-
Jan 5th, 2007, 04:18 PM
#9
Re: Label1.Click event does not work???
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.
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|