|
You need to set the tab order so that the check boxes appear earlier in the tab order than the group box. The tab order determines the order that the controls are created in and therefore their Z-order.
Group boxes aren't generally used very often in Pocket PC applications - the .NET Compact Framework doesn't even have a group box control.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Thanks Mike,
I didn't realise that. I even went and changed the tab order to put the group box first
It seemed like a good idea to my foggy Monday morning brain!!!
Thanks Again,
Ali
|
|
|
|
|
I have to have form2 inheriting all the methods and variable in form1. but I don't want to have the graphical stuff from form1. how to by pass that? because when i specify form2 inherit from form1 and run the program, it shows on the graphical components of form1 on form2.
Im using C# with VS2005
Donkaiser
|
|
|
|
|
All controls are created in code in C#. The forms designer places the control declarations in the FormName.Designer.cs file, which you can see when you click the [+] next to your class in the Solution Explorer. This file contains the InitializeComponent method, which is called by the class constructor. Form2 's constructor calls Form1 's constructor, which calls Form1.InitializeComponent ; then Form2 's constructor calls Form2.InitializeComponent . You'll have to come up with a way of stopping Form1 's InitializeComponent being called.
I would recommend moving the data manipulation methods and variables out of the Form1 class into a different class, making Form1 and Form2 use that new class, and removing the inheritence link between Form1 and Form2.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
can some one help me out for writting a c++ program in BREW application in
helloworld applet.i got the string "HelloWorld" in helloworld applet but i want to write a C++ program to expand the helloworld applet.under that string i want to pass another string with text box so how can i go for it.
if you me the idea how to write the C++ program.please help me out for that.
Thanks.........
Nitin Dalal.
nitin
|
|
|
|
|
Hi there. Is there any chance of making a CListCtrl or CListBox with a transparent background?
Regards,
FG.
A polar bear is a bear whose coordinates has been changed in terms of sine and cosine.
|
|
|
|
|
You can handle the WM_CTLCOLORLISTBOX message for the CListBox. Use GetStockObject to get a NULL_BRUSH and return that. Note that MFC, for legacy reasons, uses OnCtlColor instead - Windows 3.x used WM_CTLCOLOR but this was replaced by the new messages in 32-bit Windows because there was no longer room for all the parameters. Call your base class's implementation to get it to set up the other colours appropriately.
For a CListCtrl, you should be able to use SetBkColor(CLR_NONE). If that doesn't work you should handle the NM_CUSTOMDRAW notification.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
I want to start a connection to the Internet from within my application. How do I do this?
|
|
|
|
|
Well, you can do one of the following:
a) Just make a HTTP-Webrequest, the default internet connection will be made when starting the request.
b) Use the connectionmanager: get OpenNETCF[^]. Add a Reference to the OpenNETCF.Net library.
the code for the connectionmanager is something like this:
<br />
cmManager = new ConnectionManager();<br />
cmManager.Timeout = 120000;<br />
<br />
try<br />
{<br />
<br />
cmManager.Connect(<br />
new System.Guid("436ef144-b4fb-4863-a041-8f905a62c572")
, false, ConnectionMode.Synchronous);<br />
log.Info("CONNECTION MADE IN " + i + " ATTEMPTS");<br />
break;<br />
}<br />
catch (InvalidOperationException e)<br />
{<br />
log.Debug("oeps, unable to make connection");<br />
log.Error(e.Message);<br />
log.Error(cmManager.Status.ToString());<br />
}<br />
}<br />
As you see, the connectionmanager is called with a 'guid'. This points to a certain connection in the system. The one I use above is for 'The Internet' connection, found on every ppc/wm5-device. For a list of possible guid's use the following code:
<br />
string dests = "";<br />
DestinationInfoCollection dInfoCol = cmManager.EnumDestinations();<br />
foreach (DestinationInfo dInfo in dInfoCol)<br />
{<br />
dests += " \n" + dInfo.guid + " :: " + dInfo.description; ;<br />
}<br />
MessageBox.show(dests);<br />
|
|
|
|
|
Hi,
Can any one explain me the difference between the ASP.NET Web Mobile Application and the Smart Device Application, and it's purpose with an basic example or tutorial, plz
Thank You
-- modified at 5:57 Wednesday 28th June, 2006
|
|
|
|
|
I was working on an app with couple thread running. After deploying my app to the pocket pc and I run the app. but somehow after this action i was not able to delete or over the app. Every times the pocket pc say that my .exe is being used by another program. but i close all the running program in memory. take off the battery, turn off the device. you name it. It should shut down all the resource even some hidden threads. but apparently not.
Anybody have an idea about this?
Donkaiser
|
|
|
|
|
Might be deadlock.
or Your program doesn't exit.
If show the snap of your code for the abouve cases.
I might can help u
Urs,
-Pons
-----------------------
The greatest of faults, I should say, is to be conscious of none.
|
|
|
|
|
Hi all,
I have a general question:
I would like to use the multipart/mixed MIME type in my xhtml web application for xhtml mobile browsers (as a substitution for WML cards) and I was wondering if anybody could tell me what kind of browser support is there for multipart messages in mobile browsers?
I have been searching the web for a while already and I have had a look in the WURFL xml file but I couldnt get a representative result, so I was wondering if anybody here could help me and answer my question?
Thanks a lot!
-Sommarafton-
|
|
|
|
|
how do i can read user data files(for example and etc.) in a mobile with j2me programming platform(.jar executable files) pleas send me the code.thank you.
|
|
|
|
|
You open a file as you'd normally do in j2me...
Plus, I guess you're a little bit on the wrong forum.
http://www.code.ae - where technology meets insanity
|
|
|
|
|
Hi,
I am new to mobile tech. I am trying to install MMIT for VS2005 in XP platform, while installing i am getting an error "Setup cannot be run because of incompatable Framework version.........". I am in an confusion ,how to overcome this problem.?
Plz guide me how to install the MMIT and overcome this problem
Regards
Sarathy
|
|
|
|
|
Microsoft Mobile Internet Toolkit was renamed to ASP.NET Mobile Controls in later versions. It's compatible with .NET 1.x only.
ASP.NET 2.0, part of .NET 2.0 which accompanies VS2005, includes changes to the base controls to control rendering on downlevel and mobile browsers.
See Microsoft's mobile roadmap[^].
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Thkz very much Mr.Mike Dimmick, now i can able to open the windows smart device application in VS2003, but still i am having an problem. While running the system i am getting an error that:
"One or More files from the Emulator for Windows CE installtion is missing. Please reinstall Emulator for windows CE and try again."
Where shall i found an the exe to download, and how to install it? Is there an procedure to install it???
Plz give me an idea to overcome this problem
Regards.
Parthasarathy.S
|
|
|
|
|
www.packetforum.org is a place for eternal "networkers".
It also contains many categories dedicated to network and security programming.
Have fun
-- modified at 5:52 Sunday 25th June, 2006
|
|
|
|
|
hi!!
I am trying to build an application using .net and C# which will allow me to push objects from my desktop to all nearby devices. Its like a program to alert all nearby devices.
I have been trying to find ways to access the bluetooth stack on my desktop using .net but havent been able to do so.
Can any one tell me how can i achieve this?
thanks
p.s :I am eagerly waiting a reply ..its kinda urgent!!
|
|
|
|
|
if your still looking for a solution, you can use Peter Foot's library.
www.32feet.net
Although you are limited to using only he Microsoft Bluetooth stack.
|
|
|
|
|
Does anyone know how to read an email message from the inbox of an account with VB.net and WM 5.0?
I have been able to iterate through the various email accounts, but can't figure out how to select the inbox and iterate throught the email messages.
Any help would be greatly appreciated.
-Duffy-
|
|
|
|
|
How to install the .NET CF in a Pocket PC 2003 device prior to deployment of the application.? The installation can be done through Visual Studio IDE but I need to do it independently of the IDE. The users who will be using the application need to have .NET CF on their device. I cant find any solution.
Please help....
Thank You
|
|
|
|
|
You have to build an installer project that bundles the dependent cabs with your project's cabs. There's an article on MSDN as well as a couple here that can get you started.
This statement is false.
|
|
|
|
|
Hi All,
We currently have a client-server application written in Win32 and we're in the process of trying to create a slimmed down version of the client software for the Pocket PC. Our application is a fair size, and uses a few in-house developed DLLs for drawing areas etc. We want to be able to use code contained in these .DLLs on our Pocket PC app to avoid multiple copies of the same code in two projects. We're using VS2003.NET for the Win32 development, and eVC 4.0 for the PPC stuff.
Has anyone been in these shoes before? How have they solved the problem?
I thought of creating a similar .DLL in my PPC application, and actually link in the sources files from the original.DLL while adding #ifdefs to the .DLL to include functions that I require, then compile them using the evC compiler, realizing that not all the calls we make the .DLLs will be available in the PPC environment. This could be quite messy, but would eliminate the maintenence issue.
I realize that some of the calls that the Windows .DLL will make, will not be available in the PPC Edition. We will need to address these individually I think.
Any suggestions? Thank you very much.
Mike
|
|
|
|