Database Question
In eVB I am able to use Pocket Access for my standalone application. Can
Pocket Access be used in .NET compact framework using VB.NET? What is the
best option to use for a database? I am not trying to create an enterprise
application, but rather one for a home user and wasnt sure if SQL Server CE
is the way to go. Tag: systry form Tag: 91518
kszCapSMTPAuthenticate...
This is a multi-part message in MIME format.
------=_NextPart_000_0020_01C512CB.538B8240
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
searching about my problem with CeMAPI, I found this define in the =
cemapi.h:
const WCHAR kszCapSMTPAuthenticate[] =3D L"SMTPAuthenticate";
Does it is used for the MAPI authenticate on smtp server to send =
messages??
I tried to use it like that:
//////////////////////
hr =3D MailSync->GetCapability(kszCapSMTPAuthenticate, &Value);
if(!hr)
{
Value.Value.l =3D 0xFFFFFFFF;
hr =3D MailSync->SetCapability(kszCapSMTPAuthenticate, &Value);
EXIT_ON_FAILED (hr);
}
but it seems not to work, please, if there is anyone that uses CeMAPI, =
could
you help me explaining how could I set to authenticate on SMTP? If I not =
do
this, my applications (EVC++) cannot send messages, only receives..
thankyou very much.
Thiago
------=_NextPart_000_0020_01C512CB.538B8240
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.2900.2523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>searching about my problem with =
CeMAPI, I found=20
this define in the cemapi.h:</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>const WCHAR=20
kszCapSMTPAuthenticate[] =3D=20
L"SMTPAuthenticate";<BR></DIV></FONT>
<DIV><FONT face=3DVerdana size=3D2>Does it is used for the MAPI =
authenticate on smtp=20
server to send messages??</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>I tried to use it like =
that:</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana=20
size=3D2> //////////////////////<BR> hr =3D=20
MailSync->GetCapability(kszCapSMTPAuthenticate,=20
&Value);<BR> =20
if(!hr)<BR> {<BR> Value.Value.l =3D=20
0xFFFFFFFF;<BR> hr =3D=20
MailSync->SetCapability(kszCapSMTPAuthenticate,=20
&Value);<BR> EXIT_ON_FAILED=20
(hr);<BR> }<BR></FONT><FONT face=3DVerdana =
size=3D2></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>but it seems not to work, please, if =
there is=20
anyone that uses CeMAPI, could</FONT></DIV>
<DIV><FONT face=3DVerdana><FONT size=3D2>you help me explaining how =
could I set to=20
authenticate on SMTP? If I not do</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana><FONT size=3D2>this, my applications (EVC++) =
cannot send=20
messages, only receives..</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana><FONT size=3D2></FONT></FONT> </DIV>
<DIV><FONT face=3DVerdana><FONT size=3D2>thankyou very =
much.</FONT></DIV></FONT>
<DIV>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0pt; WORD-SPACING: 0pt; TEXT-INDENT: 0pt; LINE-HEIGHT: =
100%"><SPAN><FONT=20
face=3DVerdana size=3D2> <?xml:namespace prefix =3D o /><o:p>=20
Thiago</o:p></FONT></SPAN></P></DIV></BODY></HTML>
------=_NextPart_000_0020_01C512CB.538B8240-- Tag: systry form Tag: 91516
Current IP is 127.0
I use the following code to get the IP address of a pocket pc device:
string HostName = Dns.GetHostName();
IPHostEntry thisHost = Dns.GetHostByName(HostName);
string thisIpAddr = thisHost.AddressList[0].ToString();
Unfortunatly sometimes this reports 127.0.0.1, when connected with the
craddle.
VxUtil also reports 127.0.0.1 for the curent IP, but also an adapter
(ppp1 or USB Cable, depending on Pocket PC version) with an valid IP
adress. Other applications, like PocketIE are also working fine.
Thanks in advance
Pascal Tag: systry form Tag: 91512
PPC and assembler
Hi
I use eMVC4 on a ARMV4 target, and I need to speed up small parts of the
code that are repeated often.
I have searched high and low for information on how to interface assembler
code into my C++ project, but have so far come up with absolutely nothing
Anybody knows anything about this ?
TIA Tag: systry form Tag: 91507
What on earth is the purpose of GXOpenInput!!!!!!!!
Hi
I have found the root cause of a problem I have been experiencing with PPC
2003 SE devices
not toggling between landscape and portrait.
The code contains calls to GXOpenInput.
I see from the documentation what this does,
but WHY would you need to use it?
Any thoughts greatly appreciated. Tag: systry form Tag: 91504
Digital signing of a driver for windows mobile?
Hi,
I want to access the hardware registers on my loox pda (there is an intel
pxa272 inside). In my efforts I have learned that on a windows mobile pocket
pc 2003 I should be able to manage this by writing a .dll.
The problems I am having right now concerns the digital signing, this since
my .dll will end up in ram and not in rom. (Is there a way to place it in rom
without downloading a new OS?)
Do I have to sign the .dll and the application in order to access the
hardware? (My guess is that I have to, since nothing is working but correct
me if I am wrong).
Is it enough to just use any old rsa key pair (between 512- and 1024-bits)
to do the signing? Or has it got to be some specific microsoft or OEM key
pair?
Do I automatically get the OEM_CERTIFY_TRUST from the function
OEMCertifyModule if I sign the .dll and application and the pda has access to
the public key?
How do I plant/transfer my public key to the pda and where should it reside?
The key pair should be in blob format, thats another problem. The example
rsa key at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/private_key_blobs.asp
did not work with Signfile.exe(from platform builder). I got :
Error 80090016 during CryptAcquireContext!
*** Error signing hash
So either I gobbled it up or it is not correct but it still leaves me
wondering how it really should look.
Regards
Johan Tag: systry form Tag: 91502
pocket pc 2003 emulator unavailable in VS .NET 2003
Hi,
I've installed eVC++, Visual Studio .NET 2003 and the
Pocket PC 2003 SDK. I can run eVC++ programs on the Pocket
PC 2003 emulator, but the PPC 2003 emulator is not
available in VS .NET 2003 (PPC 2002 is the only option).
Does anyone know what is the problem? Thanks.
Cecilia Tag: systry form Tag: 91500
Problem reading database after sync
Hi All,
I am testing two applications one windows based and one Pocket PC 2003. When
I sync data from the PC in a .mdb file to the device a .cdb file using
DESKTOPTODEVICE function the data gets transferred by the device application
can not read from the .cdb file to display the data. If I copy over the .mdb
to a .cdb using ActiveSync the device reads the data fine.
Is the DESKTOPTODEVICE function compatable with 2003 second edition?
--
Cheers
New Developer Tag: systry form Tag: 91498
WIFI (802.11b) and access to radio modes
Hi!
I have tried to find the way to change radio modes between
infrastructure and ad-hoc. Usually this is done with application
provided by WIFI card manufacturer. Is there any public API to change
between the radio modes?
I found a lot of information about "wireless zero config" but all libs
and headers seems to be a part of WinCE5.0 Platform builder. Is that
platfrom builder needed to create a program that can change the radio
mode if needed?
Samuli Tag: systry form Tag: 91494
fullscreen flash problem
Hi,
I have managed to create a (sort of) full-screen flash application, by
creating a WC_HTMLCONTAINER window, using SHFullScreen, moving the
window, then making an WC_HTML child window for it.
If I just load a normal html page with text on it, it displays
full-screen. However, if I try to embed a 240x320 flash movie in my
html page, there seems to be a display limit of about 200 x 276. I can
use scale = "noscale" and center my flash movie, but I'd like to use
the whole screen, and see all of my flash movie.
I had a look at FlashAssist, and it displays my 240x320 movie without
problems, so I guess it's not a limitation of the flash player...
Any ideas what's going on?
Here's my HTML page:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>flashapp</title>
<style type="text/css">
</style>
</head>
<body bgcolor="#ffffff">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="240" height="320" id="flashapp" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flashapp.swf" />
<param name="menu" value="false" />
<param name="scale" value="noscale" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
</object>
</body>
</html>
Thanks,
Mike Tag: systry form Tag: 91493
sending a message to a wireless PDA
is it possible to do something like NET SEND to a PDA if you know the IP
address? i've tried but didnt have any luck...
thanks,
Paul Tag: systry form Tag: 91490
Set System time in Pocket Pc from web page
Is there a way in JScript to set the system time? I would like to write a
JScript that syncs the Pocket PC time with a time server. The script needs
to execute from the Pocket PC. Thanks Tag: systry form Tag: 91485
pocket pc application convert to windows ce ?
I made an application for pocket pc and now i want to make it for indows ce
how can i do this convert without recreating the program?
because when i start a ne project i'm asked what do i want: pocket pc and
windwos ce
thanks Tag: systry form Tag: 91483
Dialog Display Problem - Help !
I have an application which displays a main dialog and then uses a main loop
to launch a series of other dialog's which represent the UI of the
application. Each dialog is launches and then exits, before the main loop
calls the appropriate next dialog.
The problem I have is that if a user launches another application while mine
is running and then switches (not closing the other app) back to my
application then the display between the dialogs in my application will show
the other application.
Thus as the user goes between screens the other application is shown
inbetween as the new dialog is being prepared and drawn.
I have tried a few things to bring my dialogs to the front but it always
seems possible to get something else showing in between.
Can anyone help ?
thanks,
simon. Tag: systry form Tag: 91482
Install EVC on German Windows
Hello!
Please help, i'd like to install Embedded Visual C++ 4.0 on my German
Windows sp 4, but when i try to do that - setup.exe generates access
violation and setup fails :(
Does anybody know how to fix it?
Thanks,
Raf Tag: systry form Tag: 91481
SMS and Inbox (MAPI)
[my PocketPC is PPC 2003 Simplified Chinese version]
I am tring to develop a program that can send scheduled SMS automatically. I
can do it with SMS API's such as SmsOpen, SmsSendMessage etc.
With this method, the SMS sent will not be saved in the "Sent" folder. So I
read a lot in MSDN website and found articles about MAPI Messaging. There is
a sample code that create e-mail messages.
I updated this sample code for sending SMS message (I changed some
properties from "SMTP" to "SMS" ) and it does, but with problems.
the right things that my code does:
1, a SMS message is stored in Drafts folder, and it is moved to OUTBOX after
SubmitMessage API call;
2, "Message has been sent" notification displayed and the message is sent;
3, the SMS message is then placed in Sent folder.
that are what I want, but ....
(I sent the SMS message to my mobile phone, so I received it myself)
1, when I received the SMS message, in the message, the Chinese characters
could not be recognized, it is displayed as "????" while the English
characters were ok;
2, the message stored in the Sent folder is perfect, I mean the Chinese
characters are all good;
3, if I move the message from Sent folder to Outbox, the message will be
sent again automatically. when I receive it, all characters are good, include
Chinese characters! why?
in the MSDN website, I could not find a answer for it.
Could any body help me solve this problem? or tell me how to send a SMS
message and save the message into SMS Inbox store?
P.S.
After I running my program in my Dopod 696 (same as XDA II) (with Chinese
ROM), my SMS Inbox seems changed:
1, there are CC and BCC recipients fields in the SMS edit window (they
should not be there in SMS message)
2, I forward a SMS (it is sent by my program and recieved ) to myself, when
I receive it, the whole message displayed as follows:
FW: subject ------Original message---- Sender: 1390xxxx Sending Time:
05-2-13 hh:mm:ss recipient: 1390xxxx subject: a???a xxxxxxxxxxxxxxxxxxxxx Tag: systry form Tag: 91479
SHFullscreen() on TIMER?
Hello,
how to place the ShFullScreen Routine in
case WM_TIMER:
break;
/*
RECT rc;
GetWindowRect(hWnd, &rc);
SHFullScreen(hWnd, SHFS_HIDETASKBAR | SHFS_HIDESTARTICON |
SHFS_HIDESIPBUTTON);
MoveWindow( hWnd,
rc.left,
rc.top,
rc.right,
rc.bottom,
TRUE);
UpdateWindow(hWnd);
*/
so that i can refresh my application for every 2 seconds or so.
any ideas or sample code will be a great help
Thanks,
Arvind Tag: systry form Tag: 91477
RAPI: Cannot copy PC file to PocketPC
Using Rapi.dll I have managed to copy a file on my PocketPC device to
the PC. I cannot however copy a PC file to the PocketPC.
CeGetLastError gives an error# 0. What could be the problem here? Tag: systry form Tag: 91472
IContextMenu Implementation
Does anybody know where I can find a copy of an IContextMenu implementation
sample in eVC++?
Thanks in advance,
ed Tag: systry form Tag: 91471
problem with gotdotnet sample
i learn that we can use sample from gotdotnet to programming outlook for
mobile pc. however i am unable to use it becuase it cant understand its
functioning. can anyone explain it with a sample. its better if someone
explain how to create a outlook task using it Tag: systry form Tag: 91470
CAB file installation bug
This is a multi-part message in MIME format.
------=_NextPart_000_0529_01C51203.5D9A6AD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am trying to sort out an application installation problem on PocketPC. =
I have created a CAB file for my application and a related expansion =
pack. Everything works fine if you install to the PocketPC's main =
memory...but if you install to Storage Card then the installation =
ignores the install directory specified in the CAB file and makes up =
it's own (based on Company Name and Product Name). This doesn't work for =
me because I need the expansion pack to install to the same directory as =
the main app.
Example of main product INF file (for creating CAB):
[Version]
Provider =3D "MyCompany"
[CEStrings]
AppName =3D "MyProduct"=20
InstallDir =3D %CE8%\MyDir ; Program Files\Games\MyDir
Example of expansion pack INF file:
[Version]
Provider =3D "MyCompany"
[CEStrings]
AppName =3D "MyExpansionPack"=20
InstallDir =3D %CE8%\MyDir ; Program Files\Games\MyDir
Using above INFs and installing to Main Memory would put files here....
\Program Files\Games\MyDir
Using above INFs and installing to Storage Card would put files here....
\Storage Card\MyCompany MyProduct
\Storage Card\MyCompany MyExpansionPack
...hence the expansion pack fails to work.
Any ideas on how to solve this....it's very annoying. Microsoft managed =
to get it right on Smartphone...i.e. the specified installation =
directory is not ignored when installing to Storage Card.
Thanks,
Neil
------=_NextPart_000_0529_01C51203.5D9A6AD0
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.2900.2604" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>I am trying to sort out an application =
installation=20
problem on PocketPC. I have created a CAB file for my application and a =
related=20
expansion pack. Everything works fine if you install to the PocketPC's =
main=20
memory...but if you install to Storage Card then the installation =
ignores the=20
install directory specified in the CAB file and makes up it's own (based =
on=20
Company Name and Product Name). This doesn't work for me because I need =
the=20
expansion pack to install to the same directory as the main =
app.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Example of main product INF file (for =
creating=20
CAB):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>[Version]<BR>Provider =3D=20
"MyCompany"<BR></FONT><FONT face=3DArial size=3D2><FONT=20
face=3D"Courier New">[CEStrings]<BR>AppName =3D=20
"MyProduct" <BR>InstallDir =3D=20
%CE8%\MyDir ; Program=20
Files\Games\MyDir</FONT><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>Example of expansion pack INF =
file:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>[Version]<BR>Provider =3D=20
"MyCompany"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT=20
face=3D"Courier New">[CEStrings]<BR>AppName =3D=20
"MyExpansionPack" <BR>InstallDir =3D=20
%CE8%\MyDir ; Program=20
Files\Games\MyDir</FONT><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Using above INFs and installing to Main =
Memory=20
would put files here....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2><FONT=20
face=3D"Courier New">\Program Files\Games\MyDir</FONT></FONT></DIV><FONT =
face=3DArial size=3D2><FONT face=3D"Courier New"></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Using above INFs and installing to =
Storage Card=20
would put files here....</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Courier New">\Storage Card\MyCompany =
MyProduct</FONT></DIV>
<DIV>
<DIV><FONT face=3D"Courier New">\Storage Card\MyCompany=20
MyExpansionPack</FONT></DIV>
<DIV> </DIV>
<DIV>...hence the expansion pack fails to work.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Any ideas on how to solve this....it's very annoying. Microsoft =
managed to=20
get it right on Smartphone...i.e. the specified installation directory =
is not=20
ignored when installing to Storage Card.</DIV></DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></FONT>
<DIV><FONT face=3DArial size=3D2> </DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Neil</FONT></DIV></BODY></HTML>
------=_NextPart_000_0529_01C51203.5D9A6AD0-- Tag: systry form Tag: 91467
Database IDE for PPC
I've done a considerable amount of MS Access development, and I'd love
to be able to build a DB and forms for use on my new Dell Axim X50v, but
obviously no such luck is to be had today.
Anyone know a reasonably inexpensive desktop RDMS desktop IDE for
building PPC apps? So far the "best" I've found is abcDB, but its
desktop is pretty horrid, especially considering it's over $100. Tag: systry form Tag: 91466
Videoconference software for pocketPc
Dear All,
can help me to find the best software for videoconference for Pocket Pc
2003SE.....
Best regards,
Giuseppe Tag: systry form Tag: 91465
Date Conversion
I have an XML file created from an Access2003 database. There is a
Date/Time field.
In my PocketPC application, I have a TextBox for a date.
The code for storing the date is:
DateTime dt = DateTime.Parse(tbDate.Text);
studentRow["Attempt"+Attempt.ToString()] = dt.ToShortDateString();
When I read the date, I use this:
DateTime dt =
DateTime.Parse(examRow[cbAttempt.SelectedItem.ToString()].ToString().TrimEnd
(' '));
tbDate.Text = dt.ToShortDateString();
The problem is I enter a date: 2/12/2005
and what I get back is: 12/31/2000
Can anyone help?? Tag: systry form Tag: 91464
ADOCE - problem after restore by ActiveSync
I have code (listed below), everything is working ok, cdb file is created
(if already doesn't exist), then tables, indexes...
But after restoring by ActiveSync, code isn't working - ->Execute method
every time returns 0 "Error". Could anyone clarify this problem? And suggest
a solution?
I'm using CVOConnection/CVORecordset classes for accessing ADO.
--
thanks and regards,
Marcin
CVOConnection *cdbMG;
if(GetFileAttributes(cdbFile)==0xFFFFFFFF)
{
wsprintf(tmpS,TEXT("create database \'%s\'"),cdbFile);
cdbMG = new CVOConnection();
cdbMG->Execute(tmpS);
delete cdbMG;
}
cdbMG = new CVOConnection(cdbFile);
if(cdbMG->Execute(TEXT("create table mgArchive (cTime INTEGER, mTime
INTEGER, userF INTEGER, userT INTEGER, message TEXT, msgID INTEGER)")))
{
cdbMG->Execute(TEXT("create index idx0mgArchive on mgArchive (cTime)"));
cdbMG->Execute(TEXT("create index idx1mgArchive on mgArchive (userF)"));
cdbMG->Execute(TEXT("create index idx2mgArchive on mgArchive (userT)"));
cdbMG->Execute(TEXT("create index idx3mgArchive on mgArchive (msgID)"));
} Tag: systry form Tag: 91459
Controlling the browser functions in Pocket Internet Explorer
Hi,
I would like to create a speech recognition program that
can control browser functions in Pocket Internet Explorer.
For example, if the word 'internet' is recognized, internet
explorer will open. If 'next' is recognized, it will
execute the 'next' button in Pocket Internet Explorer. Does
anyone know how to accomplish this? I already have the
speech recognition components in place. So just need some
help on the PDA functions.
Any help is appreciated. Thanks.
Cecilia Tag: systry form Tag: 91457
What remote debugger component do I miss?
Hi, All:
I am debugging a COM dll on a real device (dell Pocket PC AXIM 5.0)
with eVC++ 4. I get an error message like "Failed to start remote debugger
component on the device. Debugging can not continue. Press OK to continue.
Error code = 0x80004005". It seems to me that my dell device lacks a COM dll
or the dll is not properly registered. However, I don't know the COM dll
name. When I debug on emulator, everything goes correctly. Tag: systry form Tag: 91456
how can I get an Handle to a thread from thread ID?
Hi,
I 'm using CreateToolhelp32Snapshot() on PPC2003 to obtain a list of all
running thread.
It give me the threadID but when I use GetThreadTimes() I need a valid
Handle.
Using "GetThreadTimes((HANDLE)th32.th32ThreadID......) it returns the
"invalid handle"
error for all system threads but it works only for my application thread.
How can I obtain a valid handle from system thread id?
thanks,
Francesco Tag: systry form Tag: 91455
.BAT files in PPC?
or anything like them?
Installing the command line tool from MS does NOT
allow .BAT files to be run unless CMD.EXE is already up.
in other words:
just creating a .BAT file and then running it does not work,
the command shell already has to be open. Then .BAT files
work OK.
All I wanna do is batch delete the Pocket Streets pushpin files
and not have to do the damn pins one at a time from within
Pocket Streets. I know where they live, and their names, and I
want to be be able to do something like this (from the shorcut, NOT
from File Explorer or Resco, that's too many steps):
cd \Flash ROM Disk\
del *.psp
Look simple enough, right?
Doesn't work unless executed from an open CMD.EXE
window. Tag: systry form Tag: 91452
System.Data.DataRowView appearing in Combobox during runtime????
I have a simple query that returns two columns to a ComboBox in my Pocket PC
app. I have Windows Moblie 2003 OS for the Pocket PC
When my form opens I'm doing the normal code to make a connection to the
database, open it, filling the datatable object with the DataAdapter and then
using the combobox to store the values in the list.
However, when the form opens the item that appears in the combobox list is:
System.Data.DataRowView
The above code appears in a Try...Catch block and the Catch is:
Catch err as Exception
The error that appears in the message box is: 'ArgumentException'
I have another form that performs the exact same logic, but using a
different table from the database and everything works fine. The ComboBox
fills with the data.
What could be causing the above error and how do I fix it?
--
Sincerely,
Keith Tag: systry form Tag: 91451
RE- UPDATES I.E.EXPLORER FOR POCKET PC. 2002
I recently purchased a siemans sx 56 pocket pc/phone ,
however the i.e.
browser is not upto date. I can not browse certain sites
because it requires
a minimum i.e. 5.5 . The manufacturer stopped its
licencesing agreement with
microsoft thus does not provide with a new updated
version form its original
pocket pc. 2002. Is there a download for i.e. 5.5 or 6 .
for pocket pc 2002
IS THERE ANY PLACE I CAN GET THE UPDATED VERSION OF I.E
EXPLORER FOR POCKET PC. 2002?
.....
. Tag: systry form Tag: 91450
Calendar - How to make days longer
Ipaq hx2110, Windows Mobile 2003 SE. I want to make my working day run from
8am to 9pm - isn't there a simple reg hack that will achieve this - Tweaks
2K2 didn't seem to have any affect....
Si. Tag: systry form Tag: 91449
Emulator problem with CFCOM
I have downloaded the evaluation version of CFCOM from Odyssey's and tried to
run some of the demo-samples that were included. The problem is that I dont
currently have a real Pocket PC device to test it on, so I am using the
Visual Studio emulators (Pocket PC 2003).
What I am most interrested in is to stream video with the Windows Media
Player on a Pocket PC.
But everytime I run any of the samples I get the same error, and it has
something to do with the PidID. My question is, is it possible to run the
CFCOM from the emulator? If yes, how?
regards
Andreas Viklund
SWEDEN Tag: systry form Tag: 91448
Emulator problem - CFCOM
I have downloaded the evaluation version of CFCOM from Odyssey's and tried to
run some of the demo-samples that were included. The problem is that I dont
currently have a real Pocket PC device to test it on, so I am using the
Visual Studio emulators (Pocket PC 2003).
What I am most interrested in is to stream video with the Windows Media
Player on a Pocket PC.
But everytime I run any of the samples I get the same error, and it has
something to do with the PidID. My question is, is it possible to run the
CFCOM from the emulator? If yes, how?
regards
Andreas Viklund
SWEDEN Tag: systry form Tag: 91447
Pocket PC generating characters not recognized by XML
Hi,
I have a Pocket PC application to generate XML documents, when users use
pocket pc keyboard in block or letter recognizer mode, they can write
characters not in English, or any other languages. These characters could
make the XML unparsable, that causes a lot of problems for me because I
have another program to read in these XML docs and parse them.
Thanks you in advance for suggestions Tag: systry form Tag: 91442
launch embedded VC++ application from PIE
Hello,
Is there a way that I can launch an embedded VisualC++ application from
Pocket Internet Explorer when the user clicks a button.
Thanks in advance
Khris Tag: systry form Tag: 91439
Design dilema using webservices
Hello all
I'm working on a design for a system consisting of a pocket pc applicatoin
as a client interacting with an asp.net application.
A feature in this system is that users of the pocketpc application collect
some data and post it to the asp.net application. The application running on
the pocket pc is developed by a another party. I have to provide a way for
the developers of that third party application to post the data to the
asp.net application. The data is always going to consist of a text string.
An obvious choice is to extend the asp.net application with a web service
with a method which the pocket pc application can call in order to send the
data. My concern is maintenance of the code where a third party is involved.
When I need to change the interface or make another change in the webservice
I don't want to involve the third party in order to fix and redeploy the
application. And redeployment is in this case a hassle as the users are
spread all over the country.
Would it be a better idea for me to make an assembly, which takes care of
the communication with the asp.net application, which will be deployed with
the third party application (only my assembly would have to redeployed)? Or
would it be ok to let the pocket pc application call the web service
residing on the asp.net application to be called by the third party code
directly?
The code maintenance and compatiblity as the asp.net application changes,
and the need for redeployment is my key concern. I have not much experience
with web services. Are there any issues there? What could make a web service
incompatible? What happens when the web service provider (the asp.net
application) gets upfraded to newer version? Can I extend the webservice
with more methods withould risking incompatibility? Other issues?
Rafael Tag: systry form Tag: 91435
VS.NET 2003/PPC 2003 Woes
It's been ages since I worked with vs.net 2003 and pocket pc, but I did have
it working. Since then I had to upgrade the firmware on my ipaq, and also
installed XP Sp2. Now, coming back to develop an app I find I can't get it
to work. Yes, the emulator works fine, but I cannot connect to the ipaq with
VS. I also tried building the appropriate CAB file and installing directly
on the ipaq, but it does nothing. I tried reinstalling .net cf on the ipaq.
Still no joy. Even the sample programs don't work. Oh, and I've reinstalled
VS as well. I'm missing something obvious here, but what is it?
Please give me a clue....
TIA,
Steve S
-- Tag: systry form Tag: 91431
Toggling between Landscape and Portrait modes is broken
Hi
I am still struggling with a problem in some code I have inherited.
When the application reaches a certain point in its execution I loose the
ability to toggle my PPC 2003 SE device between landscape and portrait
modes.
I have a UI component that uses a SendMessage to pass a window handle
to a background executable.
This background task turns right around and sends a WM_COPYDATA message
to the window handle.
Since both call are using a SendMessage it seems like this might be a
problem.
Another possible odd way of doing things is to have a window get created
and then
have a child window made from a dialog resource appear over the original
window,
Why they needed to structure the UI this way I don't know.
I have several other apps that work just fine.
One more possible red herring. The apps that don't work use ATL and COM.
ANY help greatly appreciated this is getting pretty aggravating. Tag: systry form Tag: 91427
Channel Control
I am trying to control the list of channels used during
OID_802_11_BSSID_LIST_SCAN request to NDIS miniport driver.
I do it in user mode through DeviceIoControl call by sending proper
IOCTL. According to OID_802_11_BSSID_LIST_SCAN documentation, the
following are the parameters used by NIC when serving the request.
BSSType indicates that both the infrastructure BSS and independent BSS
are used.
BSSID indicates that the BSSID is broadcast.
SSID indicates that the SSID is broadcast.
ScanType indicates active, passive, or a combination of both passive
and active scanning approaches.
ChannelList indicates all permitted frequency channels.
I could not find any way to define or modify the ChannelList
parameter.
Could somebody, please, clarify for me how selective control over list
of channels used during 802.11 radio scanning can be achieve? Tag: systry form Tag: 91426
save image from http
I try to save known image file from http server in specified folder inside
PPC.
I use WININET
now I can connect to source file (in specified url location),
I get connection ok,
and then I start to save the file in the following code:
HANDLE hDataFile;
hDataFile = CreateFile(
_T("Image.jpg"),
GENERIC_READ|GENERIC_WRITE,
FILE_SHARE_READ|FILE_SHARE_WRITE,
0,
CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL,
0) ;
if ( hDataFile != INVALID_HANDLE_VALUE )
{
SetFilePointer(hDataFile, 0, NULL, FILE_BEGIN);
DWORD writeSize;
char res[513];
DWORD n = 512;
while (InternetReadFile(hOpenUrl, res, 512, &n) && n)
{
res[n] = 0;
WriteFile(hDataFile, res, strlen(res), &writeSize, NULL);
}
}
CloseHandle(hDataFile);
PROBLEM:
I know the file has 30kB.
but I download only less than 2k.
I'm sure I start to download correct file,
because when I try to check this small result file,
in notepad I see the beginning of file or its header.
for example if this is a GIF file, I see that the download begin with:
GIF89anëççäÞÎëÎç
so, the problem seem to be in the above loop where I try to save all file
but I cannot.
any help? Tag: systry form Tag: 91425
How do I Open a COM-Port in Shared-Mode
Hi,
my PPC has an internal GSM-Card (Siemens MC45).
I have to switch on the Modem, and send the PIN.
From the Connectionmanager I want start one Connection.
I can open the right Port, send the PIN and I can dail a Number.
But I cant use any Connection from the Connectionmanger ("Could not open the
Port ").
I Open the Port with.
CString sPort = _T("COM4:");
m_hPort = CreateFile((LPCTSTR) sPort, GENERIC_READ | GENERIC_WRITE ,
FILE_SHARE_READ |FILE_SHARE_WRITE , NULL, OPEN_EXISTING, 0, NULL);
Any Idea?
Thank you
Ingo Tag: systry form Tag: 91417
Pocket PC emulation
Is there a way to run/demo a Pocket PC application on a PC that does not have
a development enviroment (Visual Stuidio, .NET, etc.)? Tag: systry form Tag: 91415
columnstyles in datagrid not working..
hi there,
i have a datagrid that i populated from a table... within the properties of
the datagrid control, i added a TableStyle and Column styles, but they do
not show up..
I have also looked at help on the web on this, but still cant seem to figure
it out.
anyone give me a simple code example to get me going?
thanks,
Paul Tag: systry form Tag: 91413
ToolTip in PocketPC
Hello everyone. I need to give to my application written in Visual Basic
.NET ToolTip soupport. The kind of ToolTip that appears when you tap on an
control and hold down the stylus for a few seconds (i.e: In the "Notes"
application, hold the pen 2 second on the "Record" button). I've been
looking up information but all I could find was eMbedded Visual Basic data.
Thanks in advanced,
Ignacio Oroná Tag: systry form Tag: 91412
AT Commands via IR port
Hello
Does anyone know if it is possible to send AT commands via the IR port on a
pocket PC. I am new to Pocket PC and need to develop an app that will
transmit ATDT then the telephone number
I would appreciate any assistance
Cheers
Peter Tag: systry form Tag: 91410
catching the events of the input keyboard
hi there,
i want to know if its possible to catch which keys are being pressed on the
input keyboard..
i noticed the InputPanel control only has 2 events (EnableChanged and
Disposed) but i want to catch when the Enter key is pressed...
Paul. Tag: systry form Tag: 91396
Dear All,
How to make a form that show systry icon on Pocket Pc 2003 ?
Where can I read some tutorial about it ?