Newbie question on deployment
I am using Visual Studio 2003 to deploy a simple Hello Smart Device
Application to my Pocket PC. After it is installed on my device, I g to run
it and get the error msg "Not a valid Application" (or something close).
If it matters, my device is an hp ipaq 1910 with an Intel PXA250 processor.
The program works fine when deployed to the Pocket PC Emulator.
Any suggestions would be much appreciated.
Chad Tag: Getting Manufacturer & Model Tag: 63624
ceFindNextFile returns 183
I have an app that is successfully finding the first file with a
"ceFindFirstFile" (and then I copy that file to the desktop and delete it
from the device, all successfully). When I try to do the "ceFindNextFile" I
get an error 183, "ERROR_ALREADY_EXISTS." I'm not sure what to make of this
error in this context-- does anyone have any idea about what's going on? By
the way, this call is within a "try/catch" and it does go to the "catch"
during which I retrieve the error.
Any help would be greatly appreciated.
NWOP Tag: Getting Manufacturer & Model Tag: 63623
VerLanguageName() not found?
I am attempting to use the VerLanguageName() function for an MFC PocketPC
app, but that single function is not found during compile.
Winbase.h contains all the version functions EXCEPT for VerLanguageName().
Winver.h contains the function prototype, but can not be included in the app
because it's #define (VER_H) is set by one of the files included by afx.h:
(afx.h includes wce.h which #defines the VER_H that winver sets at the top
of itself to protect against multiple includes).
I have hardcoded the prototype in my app, but at link time it can not
resolve the link.
Has anyone ever used VerLanguageName() in a PocketPC app? Is it just not
supported? If it is supported, does anyone know which .lib to include in the
project settings to resolve it etc?
Thanks all!
M Tag: Getting Manufacturer & Model Tag: 63620
Install VxUtil on PPC2003 emulator
Hi all,
is there a way to install the VxUtil application on the PocketPC 2003
*Emulator* that comes with Visual Studio .NEt 2003 (without having the
source code)?
Thanks a lot,
Klaus. Tag: Getting Manufacturer & Model Tag: 63619
Remote Tool won't connect (newbie)
I've got a device behaving strangely and I thought I'd use
the remote tools from eVC4 to look at it. Installed eVC4,
and I've been trying to create a platform manager profile
that will let me access my iPAQ 3950 device over
ActiveSync. When I choose ACtiveSync as both my Transport
and Startup Server, I get:
"The Microsoft ActiveSync reported the following error:
Unable to load device side components. Please check server
configuration settings."
I've done all my PPC development using Appforge's
MobileVB, and I'm at a loss. ActiveSync 3.7 works
correctly with the device, both over USB and COM1. No
other combination of transport & server works either. To
get the ACtivesync option, I do need to create a device
under the Windows CE .NET Default Platform node, and I
know this device is a Pocket PC 2002 OS, not a .NET OS.
If that's the problem, how can I run remote tools on it?
Thanks for any help.
Brian Schuth
email: brian@my-last-name-as-above.com Tag: Getting Manufacturer & Model Tag: 63616
SDK for MS Pocket Streets
In am developing content guides for mobile devices. Does
anybody know if MS provides an interface to Pocket
Streets, which can be used by external developpers?
Thanks,
Henri Tag: Getting Manufacturer & Model Tag: 63609
htm help file question
I have a help file called "help.htm". It is located in
the \windows directory. The help.htm file uses some
picture files(pic1.jpg,pic2.jpg,...) which is located in
\windows\pic\.
I can use file explorer to open the help.htm and it works
fine.
But in my program, When I try to open the file by using
CreateProcess("peghelp.exe","help.htm",...), I got
error "can not find file in \windows\pic\pic1.jpg,...".
But if my help file does not include the picture, I can
open the help file using CreateProcess(...).
What is the problem? Tag: Getting Manufacturer & Model Tag: 63608
fire asynchronous event from COM
hi, i'm developing a COM object which has to fire
asynchronous events to Internet Explorer.
It seems that only main thread can fire events: how to
tell from a worker thread to main thread to do this?
I found something about firing events from a worker
thread, passing him a marshaled interface, but the
function needed to do this
(CoMarshalInterThreadInterfaceInStream) seems to be not
supported in WINCE.
Can anyone help me?
many thanks in advance, vittorio Tag: Getting Manufacturer & Model Tag: 63606
similar problem to cant transfer program to emulator
I apologize in advance if I have not managed to find the
solution in the newsgroups elsewhere, I have searched. My
problem seems to be very much like the other posts about
getting the app on the emulator, but not quite.
I am experiencing the problem with the emulator not
loading the application when you click run. On 2 out of 3
machines I can get eVB working perfectly. The difference
on the 3rd machine is the connection to the internet, it
is networked, but requires a proxy to access the
internet. I can set the proxy on the emulator, and can
browse the internet on the emulator. Loopback is installed
on the non functioning machine.
From my experience installing eVB on the 2 working
machines (one Win 2k Pro, the other Win XP home), which
connect to the internet through a basic cable modem, I've
noticed that when I click run, Zone Alarm (my firewall)
tells me that applications want to access the internet. If
I let them pass the firewall, the emulator loads the
application and all is perfect.
I may be wrong, but it looks like eVB wants to talk to the
internet in the process of puting the application on the
emulator. It seems to want to check / update
various .dll's. How do I either circumvent this internet
request or tell eVB to use the proxy server?
Suggestions greatly appreciated.
Bj Price Tag: Getting Manufacturer & Model Tag: 63600
convert CString to 2 character hex
Hello all,
I'm working on an application which communicates with an serial device. In
order to communicate in a way both devices (the PDA and the serial device)
understand each other, i need to convert the userinput to Hex with a
delimited size and reverse. In the same application for the PC build in
Borland C++ builder I use the folowing code:
//============================================
String __fastcall CalcCommCheckSum(String CalcString)
{
int CheckSum = 0;
for (int i = 1; i <= CalcString.Length(); i++)
{
int j = CalcString[i];
CheckSum ^= j;
}
return LongToHex(CheckSum,2);
}
//============================================
String __fastcall LongToHex(long Input, int Length)
{
String Result = IntToHex((int)Input, Length);
while (Result.Length() > Length)
{
Result.Delete(1,1);
}
return Result;
}
//============================================
Now I am trying to do the same in eVC. So if you for example put
@003FFF06450100 in the CalcCommCheckSum function, it must return 33. If I
have a function like IntToHex where you can specify the string to convert
and the number of characters to return I think I hava everything I need. I
have been searching google for the last 2 days now, but without result.
Therefore I hope someone over here can help me.
Kind regards,
A.D. Vijverberg Tag: Getting Manufacturer & Model Tag: 63599
Sending data through IR port.
Hi all,
I ve been trying to send 10 bytes through the IR port of a DELL Pocket PC. But at the receiving end(client on a PC, trying to receive the data through a IR port connect to COM1 through an adaptor)
i get 10 bytes alright. But the first byte is always different from what is sent?
say if i send 03 06 14 20 , i get FF FE 06 14 20 FF. and the first two bytes are not consistent.
Is there any particular rule which the data should follow when it is sent through the IR port, (say something like the first bit of the first byte being a '1' or somehting like that?
Please help,
sai Tag: Getting Manufacturer & Model Tag: 63592
Application very slow
Hi group,
i am developping an application with vb.net 2003 CF, i
have an IPAQ3950; there is any way to accelerate the
execution of application?. When i go from a FORM to other
FORM, the application goes very slow.
The application is not big, i think that lost many time in
InitalizeControl.
There is any secret or way to make aplication faster?
Thanks!
Jose Rios Tag: Getting Manufacturer & Model Tag: 63591
Application very slow
Hi group,
i am developping an application with vb.net 2003 CF, i
have an IPAQ3950; there is any way to accelerate the
execution of application?. When i go from a FORM to other
FORM, the application goes very slow.
The application is not big, i think that lost many time in
InitalizeControl.
There is any secret or way to make aplication faster?
Thanks!
Jose Rios Tag: Getting Manufacturer & Model Tag: 63590
JavaScript limitations
Where I can find a complete description of the JavaScript
limitations over Microsoft Pocket Internet Explorer?
I have the impression that they are very numberous.
marce Tag: Getting Manufacturer & Model Tag: 63585
retrieve if device is on charhe
hi all,
is there any API or similar to retrieve device status (on charge, ecc..)?
thanks
matteo Tag: Getting Manufacturer & Model Tag: 63581
Keypress with IPAQ3950
Hi Group,
is possible adquire the keycode or the keypress event for
the record-key, calendar-key, contact-key, e-mail-key,
menu-key?
Thanks!
(I have a ipaq3950 and develop in vb.net) Tag: Getting Manufacturer & Model Tag: 63577
How to develop SIM ap?
Has anyone developed an AP running on ME (using Pocket PC 2003 phone
edtion as OS) which is responsable for responding to the SAT(SIM
Application Toolkit)? I am not meaning the AP in the SIM card. I am
meaning an AP running on ME.
I know the architecture, but I don't know the implemention details. Does
any one has some source code? Please give me!
Many thanks! Tag: Getting Manufacturer & Model Tag: 63566
Problem installing Evb App on PPC 2003
Hi,
I had downloaded the EVB Runtime for PPC 2003
after installing my application, when I run the
application nothing comes out ,anybody can help me .
Thks & Regards
Sam Tag: Getting Manufacturer & Model Tag: 63564
SDKs for old Pocket PC OS versions
Hi,
I'm getting involved with devolopment of software for
Pocket PC devices. Our software needs to run on Pocket
PC 2002, Pocket PC 2000 (WinCE 3.0), and Palm-size PC 2.11
devices. The other programmer said I need the SDKs for
the older systems. I have the SDK and development system
for Pocket PC 2002. But I can't seem to find downloads
for the older OSs. When I try to select a different OS in
Embedded Visual C++ 3.0 I can only see the Pocket PC 2002
option in the list box. I also want to be able to
see "Pocket PC" and "Palm-size PC 2.11".
Thanks,
Paul Tag: Getting Manufacturer & Model Tag: 63488
Newbie Question (want to start coding for PIE / wm2003)
I am wondering where to start. I have evc4.0 loaded up and working, my
wm2003 hp2215, and a desire for a button in PIE that will allow me to go
"back" like the back button in IE6. That is, the ability to skip over a
site or 2 or 4 or 5.
I think it should be possible by using the history.
My problem is that I have no idea where to start.
Any suggestions? (even a "give it up loser" would be welcome)
If I could also wrap in a "save picture as" tap and hold, I would be
jubilant.
Anyone feel like doing some hand-holding?
Thanks,
Jason Tag: Getting Manufacturer & Model Tag: 63483
EVC / MFC help. Install or Newbie problem?
I've been thrown into the fire and asked to modify some
C++/MFC code for PPC using EVC3. I have a good bit of C
experience, but no Win32 or PPC exp. Nobody in my office
has ever used EVC at all. After looking at the source
code I'm supposed to modify and spending some time
tinkering/reading/etc I'm confused and looking for help.
The following is a set of simple steps that boils down to
create a new project, add a combo box to the dialog. You
can skim/skip way down, but this is exactly what I'm doing
for the record ;) Questions follow.
Start EVC
File->New Project / WCE MFC AppWizard(exe)
Name it, create new workspace, set for Win32 WCE x86 and
ARM (the target is a ARM based device)
Make it dialog based
No "features" (active x etc.)
yes, comments; statically linked library
Finish
Project gets created...
Select Resource tab, expand the tree, open the main dialog
(IDD_name_DIALOG)
Delete the "TODO..." text
Add a combo box
Select the combo box, right click, open class wizard
Add message CBN_SELCHANGE to combo box
Switch to Member Variables tab
First Questions:
Does (should) the control ID IDC_COMBO1 show a type
listed? (mine doesn't)
Can (should) you be able to "Add Variable" to create a
member? (mine pops a dialog that says "There are no data
types for this kind of control")
Using the same install and looking at the code I'm
supposed to modify (created elsewhere) the main dialog has
a combo box of Type CComboBox and a member function
mComboSelectDialog. If I click Add Variable in this
project, I get a dialog with a place for name and drop
downs for category and variable type.
What gives? How did that class get attached and the
member added?
TIA
Any help greatly appreciated!
Scott Tag: Getting Manufacturer & Model Tag: 63480
DESKTOPTODEVICE or RAPICopyPCFileToCE with PPC 2003
I have an application written with VB6 that successfully transfers an MS
Access database from the PC to the PPC 2002 device using the
DESKTOPTODEVICE API call. It also works with the RAPICopyPCFileToCE
function.
The problem is that these calls will not work with PPC 2003 devices. I am
able to use the "opposite" calls (DEVICETODESKTOP and RAPICopyCEFileToPC) to
get the .cdb file to the PC, but I can't get it to go back.
Does anyone have any ideas?
Thanks! Tag: Getting Manufacturer & Model Tag: 63462
JScript & FileSystem (mscefile.dll) PPC2000 vs PPC2002
Hello,
I have a problem with JScript in PPC2002.
The following sample code:
<html>
<head>
<script language="JScript">
function pippo(){
alert("inizio funzione");
var fso;
var f;
alert("prima di ActiveXObject FileSystem");
fso = new ActiveXObject("FILECTL.FileSystem");
alert("prima di ActiveXObject File");
f = new ActiveXObject("FILECTL.File");
alert("dopo gli ActiveXObject");
f.Open ("\\prova.txt", 2);
alert("dopo Open");
f.Close();
alert("dopo Close");
}
</script>
</head>
<body onload="pippo()">
Contenuto del body
</body>
</html>
works fine in PPC2000 but doesn't work in PPC2002.
Any suggestions?
If doesn't exist a solution, is it possible to use another dll instead of
MSCEFILE.DLL?
Thanks in advance
Bye
Francesco Tag: Getting Manufacturer & Model Tag: 63458
tools
Can someone suggest a tool based on your experience for
PocketPC app. develop with ablility to sync to enterprise
database in the network both
way with selected records (best specified by some
conditions or able to program the sync on server and
PocketPC, i.e based on record to insert/delete/modified
several tables on the server, since the PocketPc only
store partial of the information, but server database need
the completed information and they are exists in the
others tables in the server database, PocketPC only send
keys for the tables, etc.) Tag: Getting Manufacturer & Model Tag: 63456
eVC build from command line?
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C372DA.4D05AB40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a large workspace with several projects in it (eVC 3.0). Is =
there some way to build all of the projects in the workspace for =
"ARMRelMinDependency" from the command line? I am making a batch file =
to update the dlls in the Bin directory and it would be nice if there =
was a way to compile a project from the command line. Also, is there a =
way to tell if the command line build was successful ?
------=_NextPart_000_0008_01C372DA.4D05AB40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a large workspace with several =
projects in=20
it (eVC 3.0). Is there some way to build all of the =
projects in the=20
workspace for "ARMRelMinDependency" from the command line? I =
am=20
making a batch file to update the dlls in the Bin directory and it would =
be nice=20
if there was a way to compile a project from the command line. =
Also, is=20
there a way to tell if the command line build was successful=20
?</FONT></DIV></BODY></HTML>
------=_NextPart_000_0008_01C372DA.4D05AB40-- Tag: Getting Manufacturer & Model Tag: 63445
[50% OT] Cosa fare ??
Sto meditando di acquistare di Microsoft Visual Studio .NET per la
realizzazione di alcune applicazioni che richiedono la conoscenza di
Microsoft VC++. Ora io conosco Microsoft Bisual Basic 6.0 e a parte una
breve pantesi scolastica di qualche anno fà sono carente in Microsoft
Visual C ++.
Pensavo a Visual Studio .NET 2003 perchè dovrei sviluppare anche
un'applicativo che giri su Pocket PC e sembrerebbe che
Visual Studio .NET 2003 lo consenta.
Quindi vi vorrei chedere:
1. qualche buon libro apprendere la programmazione in Microsoft VC++.
(della stessa versione fornita in Microsoft Visual Studio .NET 2003);
2. se per realizzare un'applicazione sotto Pocket PC sia veramente
sufficiente Microsoft Visual Studio .NET
3. qulache buon libro per la programmazione OO che veda l'uso integrato
di Visual Basic e VC++
Vi ringrazio
Mosca Tag: Getting Manufacturer & Model Tag: 63444
Bluetooth sample program of PocketPC2003 SDK
Hi,
I build sample program "btsearch" in PocketPC 2003 SDK with eVC++ 4 for
demo use bluetooth function with winsock, but running on PPC 2003 emulator
and Device iPAQ2210 will get socket error : 10050. May be iPAQ2210 build-in
bluetooth work with BTW-CE ; is not compatible PPC2003 SDK ?
Thanks
Angus Tag: Getting Manufacturer & Model Tag: 63440
Uninstall issue with Uninstall_Init and UNINSTALL_INIT_CANCEL under WM 2003
Hello!
We find out issue with Uninstall_Init and UNINSTALL_INIT_CANCEL return value
under WM 2003 environment. Application uses special setup.dll to customize
install/uninstall process. When user tries to uninstall application this DLL
checks some parameters and interrupt uninstall process if user didn't
completed some actions. Uninstall_Init routine in setup.dll returns
UNINSTALL_INIT_CANCEL to interrupt uninstall process and it works fine under
PocketPC/PocketPC 2002 but fails under PocketPC 2003.
Symptoms:
1. Uninstall process is terminated and application entry still exists, but:
2. The next try to uninstall application shows that our setup.dll is not
called anymore. We find out that system calls Uninstall_Exit always and
system deletes our setup.dll independently of return code of Uninstall_Init;
How to solve this issue?
Best regards,
Alex. Tag: Getting Manufacturer & Model Tag: 63438
battery power remainig
I would like to know, in Embedded Visual Basic, the value of the battery
power remainig.
Thank you
Francesco Tag: Getting Manufacturer & Model Tag: 63435
ipaq H2210 (pocket pc 2003) with citrix metaframe 1.8 - keyboard problem
Hi!
I want to work with my HP IPAQ H2210 (Pocket PC 2003) with my citrix
metaframe 1.8 server.
I installed the newest pocket pc client from the citrix homepage.
But my problem is when I log on to the citrix server I could not make any
input on my pocket pc keyboard.
Who knows there a solution?
Thanks! Tag: Getting Manufacturer & Model Tag: 63432
Intel PXA 255(400 MHz)
I have a Pocket PC 2002 that its CPU type is Intel PXA 255(400 MHz), I want
to rebuild one of my program for it, but I can not find this CPU type in
eVC3, and I have installed the Pocket PC 2002 SDK.
Which CPU type should I choose?
Thank you very much! Tag: Getting Manufacturer & Model Tag: 63427
IRDA to Mobile Phone
Hi there,
I downloaded source code to an application called "IRDA
Mobile" on www.codeproject.com.
I can't get it working no matter what. I'm trying to run
it on an Intermec 700 color device. Each port you try
and open it reports "timeout" or "cannot open port".
It would be very good if it worked. According to the
discussion on Codeproject, it should work too as others
have used it.
Has anyone used "IRDA Mobile"? Or tried to do this? If
so, any ideas why mine is failing.
Thanks in anticipation
Jim Tag: Getting Manufacturer & Model Tag: 63425
Have somebody used USB driver for FTDI FT2xx chip?
As FTDI state there is <subj> available for PocketPC2002.
If anybody had a chance using it please share your opinion on it with me.
Thanks.
Sergei. Tag: Getting Manufacturer & Model Tag: 63424
Problem: Web Reference calls Serializable which won't compile
Dear All,
I'm almost desperate for the following problem:
I made a simple web service that returns a dataset. When I make a
web-reference to it for my PocketPC 2002 app, the project will not compile
because it cannot find the System.Runtime.Serializable class and others that
VS.NET referenced when it built the Web Reference.
In detail:
1. The type or namespace name 'Serializable' could not be found (are you
missing a using directive or an assembly reference?)
2. The type or namespace name 'ToolboxItem' does not exist in the class or
namespace 'System.ComponentModel' (are you missing an assembly reference?)
3. The type or namespace name 'SerializationInfo' could not be found (are
you
missing a using directive or an assembly reference?)
4.The type or namespace name 'Browsable' does not exist in the class or
namespace 'System.ComponentModel' (are you missing an assembly reference?)
5.The type or namespace name 'DesignerSerializationVisibilityAttribute' does
not exist in the class or namespace 'System.ComponentModel' (are you missing
an assembly reference?)
6.The type or namespace name 'Browsable' does not exist in the class or
namespace 'System.ComponentModel' (are you missing an assembly reference?)
Why would VS.NET 2003 generate code that will not compile? Is it not
possible to eat a DataSet Web Service with the CF? I am able to reference
and compile for Web Services returning Strings with no problem.
Please gimme some direction here. Help-me please.
Thanks in advance,
Giuseppe. Tag: Getting Manufacturer & Model Tag: 63416
Problem: Web Reference calls Serializable which won't compile for PocketPC2002
Dear All,
I'm almost desperate for the following problem:
I made a simple web service that returns a dataset. When
I make a
web-reference to it for my PocketPC 2002 app, the project
will not compile
because it cannot find the System.Runtime.Serializable
class and others that
VS.NET referenced when it built the Web Reference.
In detail:
1. The type or namespace name 'Serializable' could not be
found (are you
missing a using directive or an assembly reference?)
2. The type or namespace name 'ToolboxItem' does not exist
in the class or
namespace 'System.ComponentModel' (are you missing an
assembly reference?)
3. The type or namespace name 'SerializationInfo' could
not be found (are you
missing a using directive or an assembly reference?)
4.The type or namespace name 'Browsable' does not exist in
the class or
namespace 'System.ComponentModel' (are you missing an
assembly reference?)
5.The type or namespace
name 'DesignerSerializationVisibilityAttribute' does
not exist in the class or
namespace 'System.ComponentModel' (are you missing
an assembly reference?)
6.The type or namespace name 'Browsable' does not exist in
the class or
namespace 'System.ComponentModel' (are you missing an
assembly reference?)
Why would VS.NET 2003 generate code that will not
compile? Is it not
possible to eat a DataSet Web Service with the CF? I am
able to reference
and compile for Web Services returning Strings with no
problem.
Please gimme some direction here.
Thanks in advance,
Giuseppe. Tag: Getting Manufacturer & Model Tag: 63413
Available Date Formats - Pocket PC 2003
Whilst playing with a 2003 device (Dell Axim) I noticed that the selectable
date formats in Regional Settings did not include dd/MM/yyyy as a short
date. Is it something I'm missing, or has Dell / Microsoft decided that now
the Y2K issue has passed there is no need for 4 digit years?
Ta
Paul Tag: Getting Manufacturer & Model Tag: 63411
Database Development Confusion
I'm looking into several options for developing an application that
involves 2 PocketPC's and a standalone WinXP Pro laptop.
We want to collect data on the PocketPC's and sync it with the laptop.
The laptop will be used for doing reports and inputing data as well.
The connection will be an ad hoc 802.11b wireless setup.
It sounded simple enough.
I was pointed to SQL CE, but found it requires IIS??
I'm also reading that you can not manage the database directly from the
laptop side with SQL CE. Am I reading this right?
There seems to be other options out there, but can't make heads or tails
on what the right way to go on this is.
Every option I've found so far envolves database conversion or having to
write an ActiveSync Provider.
Any advice?
-Scott Tag: Getting Manufacturer & Model Tag: 63410
Pocket PC Upgrade EU
Hi,
Our HP resellers (SLO) are not providing the upgrade jet, but we need it for
development.
So the question is :
Where could we order (buy) English version of Pocket PC 2003 Upgrade for
IPAQ 5450
, inside Europian union? (any suggestion)
Regards
Milos Tag: Getting Manufacturer & Model Tag: 63396
Drive letters on a Pocket PC?
Do pocket PCs have drive letter specifications like regular PCs? My iPaq has
just the directory structure, with no drive letters, but I was wondering if
drive letters would appear if I added a memory card to the iPaq, or if I
connected to a network resource? Is the drive letter per-se just a PC
mechanism or does it also apply to pocket PC?
Thanks,
M Tag: Getting Manufacturer & Model Tag: 63386
ListView ScrollBar in Pocket PC
Im tsruck while using the functionality of default
ScrollBar in List view.
while creating it ive used the following code snippet
m_hwndMesg = CreateWindow(WC_LISTVIEW, g_emptyStr,
WS_VISIBLE | WS_CHILD | WS_BORDER | LVS_NOSORTHEADER |
LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS |
LVS_OWNERDRAWFIXED,mesgRect_p.left,
mesgRect_p.top ,mesgRect_p.right-mesgRect_p.left,
mesgRect_p.bottom-mesgRect_p.top, parentWnd_p,(HMENU)
IDR_GENERIC, hInstance_p, NULL);
Now the problem is that ..... i can use the horizontal
scroll bar .... but the vertical scroll bar does not
appear at all ....Do i need to handle something special in
case of vertical scroll bar ? pls help
Thans in advance
Tomal Tag: Getting Manufacturer & Model Tag: 63384
Scroll behavior
The scroll behavior in PPC is not the same as in normal Windows system.
I make a class(CMyScroll) derived from CScrollView in VC6
void CMyScroll::OnInitialUpdate()
{
CScrollView::OnInitialUpdate();
CSize sizeTotal;
sizeTotal.cx = sizeTotal.cy = 1000;
SetScrollSizes(MM_TEXT, sizeTotal);
}
void CMyScroll::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
pDC->Rectangle(10, 20, 150, 200);
pDC->Rectangle(10, 800, 150, 1000);
}
the Windows scrolls correctly, but I made a class derived from CScrollView
in eVC, the window can not scroll correctly, do you know why? and do you
know how to solve?
Thank you very much! Tag: Getting Manufacturer & Model Tag: 63383
Dynamically changing menu strings
Hi,
I am developing a dialog based application for PocketPC2002 on iPAQ 3970.
I need to change the texts of the menu and the sub menus dynamically
depending on certain parameters. I am able to do it successfully only for
sub menus, but it doesn't seem to work for the items in the menu bar.
Using the code given below, I am able to change the menu item texts under
the "File" menu.
CMenu *pFileMenu = m_pMenubar->GetSubMenu(0); // m_pMenubar is the pointer
to the menu bar returned by CCeCommandBar::InsertMenuBar() function
//when the menu was loaded initially.
pFileMenu->ModifyMenu(IDM_EXIT, MF_BYCOMMAND, IDM_EXIT, _T("Exit") );
pFileMenu->ModifyMenu(IDM_PROP, MF_BYCOMMAND, IDM_PROP, _T("Properties") );
But, if I use
m_pMenubar->ModifyMenu(IDM_MAIN_FILE,MF_BYCOMMAND,IDM_MAIN_FILE,_T("New
File"));
"File" is not changin to "New File" in the menu bar.
Where am I going wrong?
Thanks in advance.
GSD Tag: Getting Manufacturer & Model Tag: 63377
Problems converting large MDB files to CDB
Hi,
I have an access database I'm trying to transfer to a Pocket PC. It appears
that when the target file reaches 4.00MB the transfer hangs. I can transfer
a database with exactly the same structure but smaller Ok, and I can
transfer the problem database if I uncheck the table that it hangs on (which
happens to be the largest). If I try and transfer only the problem table
then it still hangs after it's done 14000 of the 34000 rows.
I'm using activeSync 3.7 in Windows 2000 over USB (tried serial too - no
difference) to Pocket PC 2002
Any clues anyone? Tag: Getting Manufacturer & Model Tag: 63376
Fail to install EVC 4.0
I can not successfully install WinCE Platform Manager 4.0. It comes out a
error named "Internal Error 2738".
What can I do?
Thanks a lot in advance to whom can help. Tag: Getting Manufacturer & Model Tag: 63371
Wait for the shelled app to finish
I'm using CeCreateProcess to run a program that installs
myApp.exe on my Pocket PC. If myApp is already installed,
a dialog box pops up asking if you want to reinstall.
Right after myApp.exe is installed, I want to use
CeDeleteFile to remove the icon associated with myApp
(it's a hidden app that the user is not supposed to see).
The problem is that CeDeleteFile fires before the myApp is
installed. How do I tell the program to wait for the
shelled app to finish?
I'd appreciate your help. Thanks. Tag: Getting Manufacturer & Model Tag: 63365
Wake up every 15 minutes
I'm trying to figure out a way I can either cause my application to wake up
the device from sleeping every 15 minutes , or a way to have the device
listen on a port for a data push that would then wake it up
Kelly Tag: Getting Manufacturer & Model Tag: 63360
hack to defeat the incoming call popup?
Hello,
As I understand it there is no good way to prevent the
incoming call popup on a phone pda.
Is there a good hack to dismiss the popup from the "phone"
app programmatically (i.e. from another app that is awaiting
the call)?
Thanks.
Dick Norton Tag: Getting Manufacturer & Model Tag: 63352
Is there a standard place that each manufacturer store its name & model so
that it can be retrieved by the PPC OS ?
"Ian" <i.thain@btconnect.com> wrote in message
news:ejN6M#9cDHA.1032@TK2MSFTNGP11.phx.gbl...
> Is there a standard place that each manufacturer store its name & model so
> that it can be retrieved by the PPC OS ?
>
> Thanks
>
> Ian
>
>