|
João,
Thanks again for all the help. I added a few features to your base class to allow the users to change the height, text color and background color of the title bar on the fly. If you want to see those changes I can post them or email them to you.
I ended up having to play around with the OnPaint() to get my multiple lines of text into the Title Bar. It works for my application, but would not be very handy for general use. If I figure out a way to fix it I will post it here.
I am also looking into a way to allow the user to change the Font used on the fly also.
Thanks again,
-Eric
|
|
|
|
|
VanHlebar wrote:
I am also looking into a way to allow the user to change the Font used on the fly also.
If you want a font chooser, check this:
A font chooser dialog for the Pocket PC[^]
Regards,
João Paulo
|
|
|
|
|
|
Hello all,
EVC3 (hpcpro) and EVC4 (standardsdk)
I would like to add a bimtmap to one of my popup menus...
I know that the MENUITEMINFO struct is not as sophisticated in CE as desktop windows, but there are two HBITMAP members of this struct for the "checked" state.
This seems fine for what I'm after, as I could just "check" the item I want to have the bitmap, and continue on with more productive coding...
For the life of me however, I can't make a successful call to SetMenuItemInfo with the struct containing the HBITMAP values. The error code return by windows is ERROR_INVALID_PARAMETER.
I know what I am trying to accomplish is not unheard of, so any tips is most appreciated!
|
|
|
|
|
I need to write a simple page to display a list of data. I don't think this should be too tricky but I would like to view it in an emaulator to see how it will appear on a phone. Is there a built in emulator with VS.NET 2003 and how do I run it?
I would also like the user to log on using their mobile number - how can I achieve this - is it similar to normal asp.net forms authentication, any articles out there on the web?
Any hints, web addresses, help would be most welcome.
Jim
|
|
|
|
|
We have Wise installation System and it doesn't support PPC2K.
We found a $30 installer program on the net written by an outfit called Wildcat Solutions. Anyone use that one? Any other recommendations?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
John Simmons / outlaw programmer wrote:
Any other recommendations?
This is quality stuff, although it's more expensive:
Spb AirSetup[^]
Regards,
João Paulo
|
|
|
|
|
We're getting this message when we run our app:
"A device with the same name is already on the network. Tap Start > Settings > System Tab > About > Device ID Tab, and try again."
It's talking about the name of the PDA which is currently "Pocket_PC". Why would I be getting this message?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Is it a stand-alone app (ie connecting to any networks)?
If it's connected to your LAN, maybe you're getting a clash with another PDA that also uses the default name? IIRC that name is used as an identifier on LANs, just as the 'full computer name' on your desktop.
If its not connected to any networks whatsoever, then its very weird
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
My boss is getting this at home, even though his PDA is the only PDA connected. Could it be that it's interfering with the emulator?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Could be, since it also defaults to Pocket_PC. What happens when you change the default name to something else, does it work then?
IIRC (its been a while since I used something as fancy as TCP/IP on the PDA, Ive been using arcance ECU protocols over the com-port for the past 2 yrs now) you can have several PDA's with the default name connected to their "hosts" with ethernet/wlan cards using ActiveSync on the same LAN, so it should be possible.
One possible work-around would be to check what api calls you use that uses (directly or indirectly) the hostname of the device and see if you can replace them with something that only uses the ip.
Its hard to come up with something specific without more information, but I googled a bit using the error message and found this[^] page.
WINS Naming Issues
By default, Microsoft has named the devices Handheld_PC, Pocket_PC and Palm-size_PC.
All of these names contain invalid characters for naming a WINS device. The names can
only be from 1 to 15 characters, a leading character in the range 'a'-'z' or 'A'-'Z',
and the rest of the characters in the range 'a'-'z', 'A'-'Z', '0'-'9', or '-'.
I recommend that all users rename their device prior to synchronizing or using them on
a network to guarantee compatibility
Otherwise, all I could see was Connection Manager issues...
Not much, but I HTH some.
---
Jonas
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
i use <htmlview> to show HTML from a file. Now I tried to navigate to a web-page with the following line.
<br />
::SendMessage(m_hwndHtml, DTM_NAVIGATE, 0, (LPARAM)(LPTSTR)TEXT("http://www.web.de"));<br />
However, htmlview always return "Bad Request. Your Browser sent a query this server could not understand.".
Does anybody know what could be the reason for that?
It cannot be the internet-connection, because pocketIE works fine with this page.
thx, Daniel
|
|
|
|
|
Check your connection settings. Disable any firewall application on the desktop.
I just had the same problem and it boiled down to using the router IP address as the proxy: got the same error.
Regards,
João Paulo
|
|
|
|
|
could be.
my pda is connected to the internet via ActiveSync.
However,
I just tried to an Windows CE SDK-example called "browse".
It displays "file://\start.htm".
if i change it to "http://www.web.de" it will also show the web-page.
the sampe uses DTM_NAVIGATE and not much more except a simple htmlview-window.
I don't know why the sample works, but my onw program not....
thx, Daniel
|
|
|
|
|
could be.
my pda is connected to the internet via ActiveSync.
However,
I just tried to an Windows CE SDK-example called "browse".
It displays "file://\start.htm".
if i change it to "http://www.web.de" it will also show the web-page.
the sampe uses DTM_NAVIGATE and not much more except a simple htmlview-window.
I don't know why the sample works, but my own program not....
thx, Daniel
|
|
|
|
|
Hi there,
I am very new in pocketpc development but i am interested to learn.
I heard that embedded visual c++ is strong and maybe i want to develop for games.
Before i do games, i want to get to know more about it.
The tutorials in codeproject are not for beginners. I don't even know how to create a new project and what to do next.
Is there any basic tutorials, step by step start from Hello World to some cool apps tutorials?
Any help?
Thanks.
Regards,
Chua Wen Ching :p
|
|
|
|
|
|
I just installed eVC++ 4.0 and Pocket PC 2003 SDK.
I start the eVC++ for creating new project (WCE MFC AppWizard exe) and it completes all the steps in creating a project via wizard. But when I click "Finish" button on the wizard the IDE just hangs out there. The status bar of IDE shows "Loading class information" and progress bar is full. To close eVC++ I have to kill the process. ( I got Win2K SP4 with no .NET)
When I browse the directory which I choose in the wizard, it displays all the files which were created during the process.
What I am doing wrong?
"Whidbey"..."Orcas"...Roadmap This signature was created by "Code Project Quoter".
|
|
|
|
|
|
Thank you. That solved the problem.
Now one more problem. When I compile the project (just dummy)
Test1.exe - 0 error(s), 0 warning(s)<br />
Downloading files<br />
The Microsoft ActiveSync connection server has failed.<br />
Please make sure Microsoft ActiveSync is running and retry the download by Rebuild All or Update Remote Output File(s).<br />
Also make sure that you have selected the correct platform.<br />
Failed downloading.
I tried to configure the emulator via "Tools" -> "Configure Platform Manager" menu. I choose "Pocket PC 2003 Emulator" under "Pocket PC 2003". But when I test the emulator via device "Properties" dialog I get "Unable to establish a connection with the device. Please check configuration settings" error.
I choose "Microsoft ActiveSync" under Transport combo (the other items are
KITL Transport and TCP/IP Transport) and "Microsoft ActiveSync" under Startup server combo. ( the other option is "anual Server")
What settings I have to change?
P.S : I don't have the Pocket PC device and I am a complete newbie in eMbedded world.
TIA
"Whidbey"..."Orcas"...Roadmap This signature was created by "Code Project Quoter".
|
|
|
|
|
Did you install MS ActiveSync and was it running when you tried to download your app to the emulator?
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
|
Kant wrote:
Is this right link[^] to download the MS ActiveSync?
Yes, if you dont mind an older version.
Point your browser to here[^] to grab the latest one [3.7.1].
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Jonas Larsson wrote:
Point your browser to here[^] to grab the latest one [3.7.1].
Thanks for the link. I downloaded and installed it.
Now How do I tell MS ActiveSync that all I need is to connect the Emulator. I don't have Pocket PC device. I tried variety of settings via "Configure Platform Manager".
When I execute the dummy application(created via wizard) via eVC++ IDE I get this error.
Test2.exe - 0 error(s), 0 warning(s)<br />
Downloading files<br />
Timeout: Failed to connect to the device<br />
Failed downloading.
ActiveSync tried to connect during the above mentioned process.
"Whidbey"..."Orcas"...Roadmap This signature was created by "Code Project Quoter".
|
|
|
|
|
Kant wrote:
Now How do I tell MS ActiveSync that all I need is to connect the Emulator.
You dont, you set the target and contiguration in evc.
You should have a toolbar where you can select them (WCE Configuration).
For you, it might look something like this:
Test2^ Pocket PC 2003^ Win32 (WCE emulator[or x86]) Debug^ Pocket PC 2003 Emulation^
^ are supposed to look like combobox arrows
You normally dont have to fiddle with the PlatMan at all, just install the IDE + sp's, SDK's and ActiveSync.
HTH
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|