eVB Run Time and deployment
I have created an application with eVB 3.0 and created a
setup package with Application Install Wizard. I copied
the whole CD1 folder to Pocket PC. On Pocket PC, I
clicked on the file TestApp.Arm 1100 (4K) v3.00.CAB and
the application was installed. When I tried to run the
application, I got the message that the application
requires MS eVB Runtime to install.
What are the eVB runtime files? I can see Pvbform2.dll,
Pvbhost2.dll and vbscript.dll in the Windows folder from
my PC when Pocket PC is connected to my PC.
I am totally new to Pocket PC development. How can an eVB
application be deployed to Pocket PC. Thank you for any
advice. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71162
Wildcard search in POOM API?
Hi. I'm Sangho Lee.
I'm developing Pocket PC 2003 application using POOM API and CeDB API in eVC
4.0.
I can use only eVC 4.0 currently.
I'd like to know if there's way to search a substring of a property value of
a Contacts item using POOM API,
eg. pItems->Restrict(L"[FileAs] = \"*aa*\"") for the item collection with
"maa", "caab", or "aadd" etc. of FileAs value.
Or, something like LIKE clause in SQL: [FileAs] LIKE "%aa%"
I'm desperately searching the way...
Thanks in advance.
Sangho Lee <chicgeon@yahoo.com> Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71161
code generation error!
Hey,
I just created a PPC 2002 program by entering in the project name, and
accepting all defaults except , I created a dialog based project.
and before adding a single line of code, the compiler gave me the
following error:
"syntax error : identifier PAstruct"
(in afxext.h)
I mean what the hell, so I then deleted the project and tried to
create a new one with the same properties. Same error. This is
something that really shouldnt be happening. Please let me know if
you have tackled this problem and if you know how to fix it.
Thanks Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71160
evc 3/4 and edit control fonts
In EVC 3/4 how do you change the font/weight etc of the edit control ?
I've done an approx screen layout in EVB and now need to code it in EVC
Is it something like ... will use the 'currently selected' font ?? like
textout does ?
TIA
Andrew Kennard Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71159
Troubles with web services
Hi
I am trying to consume a web service (Hello World example) from a Pocket PC.
The web service is on a different computer running IIS and I can navigate to
the .asmx file and see the methods via internet and also invoking them. It
also works using the Internet Explorer built in to the Pocket PC Emulator.
Im running Visual Studio 2003.NET.
In my smart device project i added a web reference to this web service and
used the following very simple code. Just trying to get the first step into
the world of web services.
computer2.WebServiceHello ws = new computer2.WebServiceHello();
textBox1.Text = ws.HelloWorld();
and the error im getting is a System.Net.WebException with the following
message.
"Unable to connect to the remote server"
Now im puzzled what im doing wrong. Can anyone give me some ideas...
<Best regards>
//P Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71148
Troubles with web services
I am trying to consume a web service (Hello World example) from a Pocket PC.
The web service is on a different computer running IIS and I can navigate to
the .asmx file and see the methods via internet and also invoking them. It
also works using the Internet Explorer built in to the Pocket PC Emulator.
Im running Visual Studio 2003.NET.
In my smart device project i added a web reference to this web service and
used the following very simple code. Just trying to get the first step into
the world of web services.
computer2.WebServiceHello ws = new computer2.WebServiceHello();
textBox1.Text = ws.HelloWorld();
and the error im getting is a System.Net.WebException with the following
message.
"Unable to connect to the remote server"
Now im puzzled what im doing wrong. Can anyone give me some ideas...
<Best regards>
//P Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71147
Pocket PC Internet Explorer & Pocket PC Keyboard
while developing a Web Application for a Pocket PC MDA with keyboard I have discovered that the Pocket PC Internet Explorer does not react to the TAB or ENTER keys, except to move the cursor in and out of the address field. Ideally, the TAB key should move the cursor from field to field inside of the HTML Page and the ENTER key should activate command buttons. Can anyone offer me advise? Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71146
evc++ and pocket-excel
How can I read and write data from my application running
on my pocket pc to an excel-sheet on my pocket pc?
At the moment I develop with ecv 3.0, is it better to
use .NET to solve my problem? Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71143
SDE download required
I am presently trying to develop an application to run on
Pocket PC 2002 using VB.NET. I have already installed
the .NET Compact Framework. I need to get the Smart Device
Extension Beta version. I am unable to get it on the
microsoft website. I happened to come across a page on
online msdn (link as given below)
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnroad/html/road04242002.asp
which provides a link to download the beta version of the
SDE
(http://msdn.microsoft.com/vstudio/device/sdebeta.asp) .
But when i click the link provided i don't seem to be
going to the URL that i had clicked. Please let me know
where can i download a copy of sde. Thanks in advance. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71142
Sub doesn't work after focus is set to grid
This is a multi-part message in MIME format.
------=_NextPart_000_000F_01C3D127.F1785230
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I have the following code:
Private Sub Text4_Change()
Dim Rs As ADOCE.Recordset
Dim SQL As String
If Len(Text4.Text) =3D 0 Then Exit Sub
SQL =3D "Select * from ARTICLE where DESCRIPTION LIKE '%" & =
Text4.Text & "%'"
Grid2.Rows =3D 0
Set Rs =3D CreateObject("ADOCE.Recordset.3.1")
Rs.Open SQL, Conn, adOpenKeyset, adLockOptimistic
While Not Rs.EOF
Grid2.AddItem Rs.Fields("PLU") & vbTab & =
Rs.Fields("DESCRIPTION")=20
Rs.MoveNext
Wend
Rs.Close
Set Rs =3D Nothing
End Sub
With this sub each record is shown in grid2 from the Article table =
containing what is typed in text4. This all works perfect.
But, as soon as I scroll the grid down, it doesn't work anymore.=20
When i then type some characters in the textbox, it doesn't show the =
contents of the article table anymore.
------=_NextPart_000_000F_01C3D127.F1785230
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.2734.1600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have the following code:</DIV>
<DIV> </DIV>
<DIV> Private Sub Text4_Change()</DIV>
<DIV> Dim Rs As=20
ADOCE.Recordset<BR> Dim SQL As=20
String<BR> If Len(Text4.Text) =
=3D 0 Then=20
Exit Sub<BR></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV> SQL =3D "Select * from ARTICLE where =
DESCRIPTION LIKE '%"=20
& Text4.Text & "%'"<BR> Grid2.Rows =3D =
0</DIV>
<DIV> </DIV>
<DIV> Set Rs =3D=20
=
CreateObject("ADOCE.Recordset.3.1")<BR> &nbs=
p;=20
Rs.Open SQL, Conn, adOpenKeyset,=20
=
adLockOptimistic<BR>  =
; While=20
Not=20
=
Rs.EOF<BR> &nb=
sp; =20
Grid2.AddItem Rs.Fields("PLU") & vbTab & =
Rs.Fields("DESCRIPTION")=20
</DIV>
=
<DIV> &n=
bsp; Rs.MoveNext<BR> =
Wend<BR> =20
Rs.Close</DIV>
<DIV> Set Rs =3D Nothing</DIV>
<DIV> </DIV>
<DIV>End Sub</DIV></BLOCKQUOTE>
<DIV>With this sub each record is shown in grid2 from the Article table=20
containing what is typed in text4. This all works perfect.<BR>But, as =
soon as I=20
scroll the grid down, it doesn't work anymore. </DIV>
<DIV>When i then type some characters in the textbox, it doesn't =
show the=20
contents of the article table anymore.</DIV></BODY></HTML>
------=_NextPart_000_000F_01C3D127.F1785230-- Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71141
File searching in pocket pc
I've asked similar things months ago but couldn't get
reply... so I'd like to ask in another way.
I'm writing a English-Chinese dictionary for pocket pc.
But the problem is the it's very time consuming and also
seems impossible to load all data (word and meaning) to
an array before perform searching.
So shall I use some file-based searching techniques? If
yes, can anyone give me some suggestions? Or there's some
other methods for pocket pc actually? I'm writing the
program by evc.
I've searching for informations for few months already
and really feel so hopeless.
Thanks alot! Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71137
Interrupt signal
Hi,
I am developing a hardware for PPC using CF slot. I use
interrupt signal. It works well on Dell Axim but not
function at all on Toshiba PocketPC e740 and iPAQ H3800.
The driver is also written by me and I did register my
interrupt function.
Thanks!
Regard,
NKH Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71134
emulator problems
I have been having so much problem using evb and the emulator ppc 2002. I try to use the samples but when I push the Icon it says on the emulator(can't open control). I tried to use the control manager it says "can't find suitable control manager". I tried to use the application install wizard it says (can't find list of processors)
Please help
thanks for previous input
Pat Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71133
newbie question on data storage for PPC windows mobile 2003
hi,
Can anyone explain to me how i can create a database in the databases folder
on the pocket pc? i know how to create xml files or even sql server ce
databases on the PPC but i've notice that there is a databases folder that i
can see from my desktop on the PPC but i have no idea how to access or
create files in that directory can anyone guide me on this.
Thank you very much Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71132
Databases & Pocket PC Development
I'm new to Pocket PC development.
Just wondering how to develop a smart device app'n and use
the controls from the data tab on the toolbox (ie to
connect to a database). It seems when I use the smart
device app'n template, none of the data controls are
enabled.
How do you connect to a database? Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71128
TreeView
I'm using a TreeView control and C#. When I taps to open the contect menu
the red ring-thingy circles twice prior to the menu popping up. I've checed
the resco file browser and there all is ok. Has anyone any ide wzy the
thingy is shown twice?
/SåA Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71126
Determine when Scrollbar is tapped in datagrid control
Happy New Year, I can not seem to figure out how to
determine when a scroll bar is tapped from within a
datagrid control. My problem is that when the user taps a
cell I reposition a text box over the cell and allow them
to edit its contents. However, when the user taps the
scroll bar, my textbox is no longer covering the
appropriate cell. I can I determine when the datagrid
scrolls so I can hide my textbox or reposition it
accordingly? Thanks for any help. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71124
application error when evb3.0
Dear all,
I have installed evb 3.0 on my pc of profeesional 2000 with sp 4. When I
run the program, I open a new project, and compile it without writing
anything. However, I get application error that "The memory could not be
"read" ". And then the evb program is terminated. Anyone can tell me how to
solve this problem? Thank you very much.
Best regards,
William Wong.
-- Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71119
Copying files to emulator
Hi,
I am using EVC3 to develop my app, but I am slowly going crazy
copying files to the emulator using the Windows CE remote file viewer.
I need 30 small data files copied across each time I test my app, but
the remote file viewer only allows one file to be copied at a time,
one cannot select multiple files. This must be the most braindead
piece of software ever written.
There does not seem to be a command line tool capable of copying files
to the emulator, if there was, life would be simple. Someone suggested
that I could add the files to my project, and they would be copied to
the emulator automatically with my exe, however try as I may, I cannot
figure out how to do this.
PLEASE, somone tell me how I can get my data files copied to the
emulator, before I go absolutely crazy!!
Thanks,
Allen Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71110
GPSboy and the PC2002 emulator
HI, I have been trying to use the program GPSboy on the
emulator for PC2002. When I hit the Icon, I get an error.
It says, "can't find pvbDecl.dll". I found it on my PC
ans copied it to the windows file on the emulator using
the export function of the remote veiwer. I still have
the problem, and when I open the windows file I don't see
it on the emulator but it is clearly there on the remote
veiwer. (I tested another txt file and it is visible on
the emulator.) Why is the emulator not finding the
pvbDecl.dll and why won't the emulator make it visible.
Thank you such much for your help
Pat Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71107
tmail.exe
Can anyone give me the low down or point me at some real documentation for
this PPC exe?
Many thanks
~A Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71097
Cannot establish a connection.
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C3CF85.252CD140
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Just upgraded to ActiveSync 3.7.1 and then went into an older VS2003 =
compact framework project and tried to deploy to my device which has an =
active (all green circle). And i get the following error:
Deploying to Pocket PC using TCP Connect Transport
Error: Cannot establish a connection. Be sure the device is physically =
connected to the development computer.
How can i trouble shoot this? Do i need to reinstall VS2003 AFTER I =
reinstalled ActiveSync??
Sure hope not!
Harry
------=_NextPart_000_0008_01C3CF85.252CD140
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.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<P><FONT face=3DVerdana size=3D2>Just upgraded to ActiveSync 3.7.1 and =
then went=20
into an older VS2003 compact framework project and tried to deploy to my =
device=20
which has an active (all green circle). And i get the following=20
error:</FONT></P>
<P><FONT face=3DVerdana size=3D2>Deploying to Pocket PC using TCP =
Connect=20
Transport<BR>Error: Cannot establish a connection. Be sure the device is =
physically connected to the development computer.</FONT></P>
<P><FONT face=3DVerdana size=3D2></FONT> </P>
<P><FONT face=3DVerdana size=3D2>How can i trouble shoot this? Do =
i need to=20
reinstall VS2003 AFTER I reinstalled ActiveSync??</FONT></P>
<P><FONT face=3DVerdana size=3D2>Sure hope not!</FONT></P>
<P><FONT face=3DVerdana size=3D2>Harry</FONT></P></BODY></HTML>
------=_NextPart_000_0008_01C3CF85.252CD140-- Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71096
Winpcap compiling with EVC4 missing wdm.h?
I was trying to compile the winpcap drivers for pocket pc with the embedded
compiler from microsoft. Thing is now, that i get those errors about a
missing wdm.h file. Since im no developer i have no clue at all what this
means execept that there is a file supposed to which is not.
So my question now is:
1. How can i include this file or where can i get it?
2. Is this problem only because of the compiler, and should i use another
one?
3. Is there any way to obtain the already compiled winpcap drivers for an
arm processor?
and last
is there anything i forgot to ask thats important to solve the problem?
Thanx to all replies in advance! Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71090
Getting CE device hardware ID
Is there way to get Pocket PC and Smartphone hardware ID through ActiveSync
or RAPI? Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71089
ActiveX in eVB
I am unable to add ActiveX controls (just MS grid ctrl, file ctrl) to a eVB appln. The Pocket PC 2002 is unable to create the component. The Control Manager says Unable to find a Control Manager Server for the Device. So I am unable to install any ActiveX components on the device. Please help me out... Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71086
Is Compact Framework support Regular Expression
Hi there,
I would like to know is Regular Expression support in
Compact Framework? And if there is any example can be
provided.
Thank you in advance.
Linda Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71082
RTC Client API
I am developing an application on Pocket PC 2003 using
RTC Client API.
When initializing
CoCreateInstance(CLSID_RTCClient,
NULL,
CLSCTX_INPROC_SERVER,
IID_IRTCClient,
(void **) (&pIRTCClient) )
call returns REGDB_E_CLASSNOTREG
Any help?
Balaji. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71079
CryptoAPI and PPC Signature Application
I am using VS .Net 2003 to develop an VB.net Pocket PC
application which encrypts connection string information
for a SQL Server Database. I have copied the Crypto Class
code from the Pocket PC Signiture Application Sample into
my project
(http://msdn.microsoft.com/mobility/understanding/articles/
default.aspx?pull=/library/en-
us/dnnetcomp/html/ppcsignatureapp.asp).
I can not get the text I send it, to be decrypted. I
error out with an 'unhandled exception'. One thing I
notice is that I get different hProv, hHash, and hKey
values when running the CryptoSvc2.Decrypt function versus
the CryptoSvc1.Encrypt function (this may be correct, I
don't know). The following is my code:
Dim EncryptString As String
Dim DecryptString As String
Dim CodedArray() As Byte
Dim EncryptArray As Byte()
Dim DecryptArray As Byte()
Dim CryptoSvc1 As New PEdgeCF.Security.Crypto
CodedArray = System.Text.Encoding.ASCII.GetBytes("AnyText")
EncryptArray = CryptoSvc1.Encrypt("123456789", CodedArray)
EncryptString = System.Text.Encoding.ASCII.GetChars _
(EncryptArray)
MsgBox("Encrypted Data: " & EncryptString)
Dim CryptoSvc2 As New PEdgeCF.Security.Crypto
CodedArray = System.Text.Encoding.ASCII.GetBytes _
(EncryptString)
DecryptArray = CryptoSvc2.Decrypt("123456789", CodedArray)
DecryptString = System.Text.Encoding.ASCII.GetChars _
(DecryptArray)
MsgBox("Decrypted Data: " & DecryptString)
Any help would be greatly appreciated!!
. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71070
Invoke program on PC from pocket PC
Does anyone know how to start a program on a desktop PC from a pocket PC?
..Using VB.NET, PocketPC 2003, bluetooth connection Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71068
how to catch the hardware button event?
I try to catch the iPAQ's hardware button event in C#.
But I failed. The code as following:
======================================================
using System;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using Microsoft.WindowsCE.Forms;
using System.Runtime.InteropServices;
using System.Data;
namespace Hello_CSharp
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
MyMessageWindows myMessageWindows;
public Form1()
{
//
// Required for Windows Form
Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code
after InitializeComponent call
//
myMessageWindows = new
MyMessageWindows(this);
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool
disposing )
{
base.Dispose( disposing );
}
#region Windows Form Designer generated
code
/// <summary>
/// Required method for Designer support -
do not modify
/// the contents of this method with the
code editor.
/// </summary>
private void InitializeComponent()
{
//
// Form1
//
this.Text = "Form1";
this.Load += new
System.EventHandler(this.Form1_Load);
}
#endregion
/// <summary>
/// The main entry point for the
application.
/// </summary>
static void Main()
{
Application.Run(new Form1());
}
private void Form1_Load(object sender,
System.EventArgs e)
{
bool reg=false;
reg=Utility.RegisterHotKey
(this.myMessageWindows.Hwnd,100,Utility.KeyModifiers.None,
(int)Utility.KeyHardware.Hardware1);
if(reg == false)
MessageBox.Show("register
failed");
}
}
public class MyMessageWindows:MessageWindow
{
public const int WM_HOTKEY = 0x0312;
Form1 frm;
public MyMessageWindows(Form1 frm)
{
this.frm = frm;
}
protected override void WndProc(ref
Message msg)
{
switch(msg.Msg)
{
case WM_HOTKEY:
this.frm.Text
= "WM_HOTKEY has been sent!";
break;
}
base.WndProc(ref msg);
}
}
public class Utility
{
public enum KeyModifiers
{
None = 0,
Alt = 1,
Control = 2,
Shift = 4,
Windows = 8
}
public enum KeyHardware
{
Hardware1 = 193,
Hardware2 = 194,
Hardware3 = 195,
Hardware4 = 196,
Hardware5 = 197
}
[DllImport
("coredll.dll",SetLastError=true)]
public static extern bool
RegisterHotKey(IntPtr hWnd, int id, KeyModifiers
modifiers, int key);
[DllImport
("coredll.dll",SetLastError=true)]
public static extern bool UnregisterHotKey
(KeyModifiers modifiers, int key);
}
} Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71067
PocketPC and Windows CE.NET
Hi,
I'm an experienced developer, but on standard PC's
I am interested to start developing for Pocket PC, but I have some issues I
need to clarify. I'll appreciate any answer to my questions
1. What is the difference between PocketPC 2003-2003 and Windows CE.NET? Is
it a different OS? Or just the name for Compact NET Framework for PPC?
2. What is the difference between embedded Visual Tools 3.0 and 4.0?
3. What is the best way to go for developing PPC applications? Using eVC/eVB
or using Compact Net Framework?
4. Is Compact Net Framework available for old PPC (PPC2002, PPC2000, Windows
CE OS)?
5. I'm interested to buy a PPC to test the applications on it, but first I
might be interested to test them under an emulator. Is any emulator
available? Where can download it? I want to be able to test the application
on my development PC before deploying them on PPC.
Any other suggestions and links to web pages providing startup information
for developers about PPC will be greatly appreciated.
Happy New Year to all of you! Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71065
Remote Target Path
Hi all,
I'm using eVC 3.0 for programming PocketPC. The PocketPC is connected with
ActiveSync. After building the project eVC starts to copy the executable to
the PocketPC. How can I change the target path where eVC copies the
executable.
Thanks in advance.
Mathias Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71063
Recursive search help!
Hello all,
I want to create a recursive search into the dir of my pocket pc to get the
file link I want. However, after two night struggling, I couln't get any
luck.
Could anyone indicate where I might be lost?
Here is my piece of code :
int mySearchIt(TCHAR *folderPath,TCHAR *fileName,TCHAR *str){
HANDLE hFind;
TCHAR szDir[200]; // search full path
TCHAR szLowDir[200]; // Recurse to the lower dir
WIN32_FIND_DATA fd;
INT rc, nErr = 0;
wcscpy(szDir,folderPath);
wcscat(szDir,TEXT("\\"));
wcscat(szDir,fileName);
// Find matching files.
hFind = FindFirstFile (szDir, &fd);
if (hFind != INVALID_HANDLE_VALUE) {
do {
// Report all matching files.
if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { // Not
dir
//wprintf (L" %9d\t %s%s\n", fd.nFileSizeLow, szNew,
// fd.cFileName);
wcscpy(str,szDir); // Copy the dir
}
rc = FindNextFile (hFind, &fd);
} while (rc);
FindClose (hFind);
}
else { // File couldn't find
rc = GetLastError();
if ((rc != ERROR_FILE_NOT_FOUND) &&
(rc != ERROR_NO_MORE_FILES)) {
sShowMessage (L"1Find Error. ");
return -1;
}
}
// Create generic search string for all directories.
//lstrcat (szNew, TEXT ("*.*"));
wcscat(szDir,TEXT("\\*.*"));
//found2=FindFirstFile(temp,&data);
hFind = FindFirstFile (szDir, &fd);
if (hFind != INVALID_HANDLE_VALUE) {
do {
if (fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { //dir
// Recurse to the lower directory.
wcscpy(szLowDir,folderPath);
wcscat(szLowDir,TEXT("\\"));
wcscat(szLowDir,fd.cFileName);
//lstrcpy (pPtr, fd.cFileName);
//lstrcat (pPtr, pSrcSpec);
nErr = mySearchIt (szLowDir,fileName,str);
if (nErr) break;
//*pPtr = TEXT ('\0');
}
rc = FindNextFile (hFind, &fd);
if ((wcscmp(fd.cFileName,TEXT("icon.lnk")))==0) // For Game folder
break;
} while (rc);
FindClose (hFind);
} else {
rc = GetLastError();
if ((rc != ERROR_FILE_NOT_FOUND) &&
(rc != ERROR_NO_MORE_FILES)) {
sShowMessage (L"2Find Error:%d");
return -1;
}
}
return nErr;
}
Thanks a lot.
Nancy Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71056
Initial screen for file selection
I wonder, is there any source code available that demonstrates the initial
"file select" scrren shown when starting word or excel in PocketPc 2003.
Which control is used?
/SåA Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71055
iDeskBand support
Does the PocketPC support the iDeskband interface? We have a product
which runs applications and groups of application and it sit inside of
the taskbard using the iDeskband interface. We are looking to port it
to the PocketPC.
Thanks
Ralph Krausse
** www.consiliumsoft.com **
CSFastRunII -
Check out our application or group application
laucher intergrated directly into the taskbar...
CSPrintEngine
Easy to use printing ActiveX control, create
outstanding looking printouts, supports images,
tables, different fonts.... Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71054
Pocket PC 2003 Phone Edition Question
Dear all,
Does anyone have sample code in C# that shows how to trap the receiving of a
phone ring event? I want to launch an app in C# once the phone start
ringing before the user answers it. Thanks.
Regards,
Kueh. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71053
all pocketpc have record button - reprogrammable
do all pocketpc's have the record button.
can it software re-defined. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71051
Need help in DESKTOPTODEVICE API
Hi All,
I'm using DESKTOPTODEVICE for downloading .MDB from
desktop to device. It is working fine. But my requirement
to cancel the download while downloading .MDB is in
Progress.How to handle this situation.
Any kind of suggestion is most welcome.
Regards
Patra Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71050
how to get data from resources???
Hi,
Is it possible to load any kind of data from resources?
I have added some files to resources, and try to access them through
FindResource, LoadResource... but I fail on FindResource. GetLastError
returns error 1814 - "The specified resource name cannot be found in the
image file "
HRSRC hResInfo;
hResInfo = FindResource(hInst, "IDR_ARC1", "ARC");
int er = GetLastError();
if (hResInfo == NULL)
return FALSE;
Actually I need to get a buffer with bytes of my file. can I achieve it this
way?
thanks ahead,
PS Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71049
Bluetooth Question?
Dear all,
I would like to know if someone has any sample code in C# that can activate
and deactivate the "Bluetooth Headset Mode" programmatically. FYI, I am
working on the Pocket PC 2003 Phone Edition device. Thank you.
Regards,
Kueh Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71048
seek and index with ADOCE and .cdb files
Hi all,
I am trying to use the index and seek instructions to find a record by a
index. at the moment I am not able to get this working. I am using eMbedded
Visual Basic 3.0 and the code I am trying is this:
Dim rs As ADOCE.Recordset
Dim rsArt As ADOCE.Recordset
Dim objConn As ADOCE.Connection
Dim cCon As String
Dim cConN As String
Dim nReg As Long
'Dim Id(1) As String
Set rs = CreateObject("ADOCE.Recordset.3.0")
Me.Buscar.Caption = "Busca.."
'Abre la conexion
Set objConn = CreateObject("ADOCE.Connection.3.0")
objConn.Open "Provider=CEDB;" & _
"data source = \My Documents\Articulos.cdb"
cCon = "ARTICULOS"
rs.Open cCon, objConn, adOpenDynamic, adLockOptimistic, adCmdTableDirect
rs.Index = "PrimaryKey"
Id(0) = Trim(refart.Text)
rs.Seek Id(0), adSeekFirstEQ
If Not rs.EOF Then 'si encuentra el articulo
'MsgBox ("entra")
If IsNull(rs.fields(1).Value) Then
codbar.Text = ""
Else
codbar.Text = rs.fields(1).Value
End If
If IsNull(rs.fields(2).Value) Then
descrip.Text = ""
Else
descrip.Text = rs.fields(2).Value
End If
rs.close
Set rs = Nothing
Please help me, Thanks in advance.
Javier Martinez Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71046
IRTC Client on PocketPC 2003
I am trying to develop an application using IRTC Client
APIs on my PocketPC 2003 device.
I am unable to do a cocreateinstance on the IRTCClient
I get the following error....
error LNK2001: unresolved external symbol CLSID_RTCClient
error LNK2001: unresolved external symbol IID_IRTCClient
More importantly I am unable to find the
Rtccore.dll even after installing the IRTCClient SDK...
Any help ? Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71043
Infrared Communication
Hi All,
I have developed a application for PPC that make the
Infrared communication between two pocket pcs.I am using
the Coredll.dll to make it possible.This application is
running fine on my Compaq ipaq and HP jorneda.
But when i run the same application on the Toshiba PPc
this receives the "?" for each bytes that i send from the
sender PPc.Could anyone please guide me to solve this
problem .Its Urgent.
Thanks in advance.
Neeraj Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71039
[About POOM Api]
I have a PDA which has CE.net 4.2 OS, and I want to make a PIMS software.
But sample source (about PIMS) does not work on it with the message
"CoCreateInstance() fail.."
Because it has not any dll files such as pimstore.dll , calstore.dll and
etc.
I thought ,when the PDA maker built the OS, they have not included POOM
module.
so, I tried to copy some dll files(pimstore.dll , calstore.dll and etc) to
my PDA,
and then I trited to register pimstore.dll to registry, but, I saw a error
message "Invalid dll file".
How can I use POOM api on my PDA?
Please let me know your idea..
Thank you. Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71038
development
I am developing my app using c# visual studio 2003
professional for pocket pc 2002 with the emulator.
Im finding that i get errors when adding new items from
the toolbox.
i.e I have created a mainMenu with the menu item File and
sub menu exit, This is ok.
If i add another menu item, view next to file. when i run
in emulator i get A managed NotSupportedException occurred.
OK to terminate.
Im finding this is now happening very frequent. Just
adding a new button to my tabctrl and so on.
does anybody know why this is. is it a bug or something.
thanks
adam Tag: How to develop a SMS send/receive program based on PPC 2003? Tag: 71036
I have PPC 2003 (not phone edition), and a GPRS CF-card, How can i
develop a Short message send and receive program?