how can I let FileExplore show extension of file?
Also how can I let it show the hidden files (eg. the driver files) to me? I
can explore them via the browse function of ActiveAsync, but I do like to
know how can I do that with my PocketPC only. Thanks. Tag: Constants used with the INF file. Tag: 65520
.net cf equivalent
what's the .net cf equivalent of sendmessage? pocket pc 2002 is the os.
tia,
steve Tag: Constants used with the INF file. Tag: 65519
SqlCeReplication property values for replicating a SQL Server db via IIS using VS.NET 2003 -
in order to create the database for my PPC, all of the following have to be
correct for the replication process to work;
oRpl = new SqlCeReplication();
oRpl.Publisher = "";
oRpl.PublisherLogin = "";
oRpl.PublisherPassword = "";
oRpl.InternetUrl = "http://PPC_db_shuttle/sscesa20.dll";
oRpl.InternetLogin = "";
oRpl.InternetPassword = "";
oRpl.Subscriber = "";
oRpl.Publication = "";
oRpl.PublisherDatabase = ""
is there a "paint by number" kind of explanation for each of the properties
above? SQLServerCE online help isn't very helpful. Like this;
"The PublisherLogin property specifies the login name used when connecting
to the Publisher."
O.K?? !!!
or
"The InternetPassword property specifies the Microsoft® Internet Information
Services (IIS) password used when connecting to the SQL Server CE Server
Agent."
and where do I find this?? !!
A picture would be so so helpful for each one of these properties eg. a
screenshot from Enterprise Manager or IIS as appropriate.
That would be HUGE ly helpful.
I have read some very helpful knowledgebases and explanations but none that
have really helped me on my WinXP Pro dev machine.
I "think" I can guess where to get Publisher and Subscriber ....
and then my confidence drops off sharply after that;
thank you,
-Greg
ps. I posted this previously in the sqlserverce newsgroup but i was given
info that was usefull, but info I already had which gave instructions for
win2k and RDA, and general security concepts, but not specifically for this
replication process. Tag: Constants used with the INF file. Tag: 65518
2003 Emulator Memory Setting Broken?
Supposedly, the Pocket PC 2003 emulator can be invoked from the command
line with a /MemorySize switch that allows the emulator up to 256 MB of
memory. However, Start -> Settings -> System -> Memory indicates "Total
main memory: 43.68 MB" whether I start the emulator with 64 MB memory or
256 MB memory. I also noticed a "Memory" key in the registry for the
Pocket PC 2003 emulator that I tried bumping to 256 from 64.
To see how much memory was available in practice, I wrote a C program
that counts how many 1 MB memory chunks can be allocated in a row. I
was only able to allocate 28 1 MB chunks.
My desktop system is Win2K with over 1280 MB RAM so available memory
should not be an issue. We saw the same behavior on a Windows XP
Professional machine with 512 MB memory.
Is the /MemorySize switch on the Pocket PC 2003 emulator broken or do I
need to try something different?
Thanks,
Mike Tag: Constants used with the INF file. Tag: 65517
PCMICA device detectionr help
I am developing a driver for a PCMCIA card (not a storage card). The first
thing is to register a key under HK_LOCAL_MACHINE\PCMCIA\Detect\92 for my
driver DLL and the DetectMyDriverentry. And the detect function has the
following format: LPTSTR DetectMyDriver(CARD_SOCKET_HANDLE hSocket, UCHAR
type,LPTSTR key,DWORD keyLen).
The question is: what should I do to determine whether the card is my card?
Thanks. Tag: Constants used with the INF file. Tag: 65510
Application Delivery
I created the .cab file. How can I trigger the device's CAB installer to
autorun my .cab file as soon as I send the .cab file to the device by using
either ActiveSync or network connection. Can someone point me to the right
direction. Thanks in advance. Tag: Constants used with the INF file. Tag: 65506
Ce.NET Vs PPC .Net
Can someone explain the main differences between PPC 2002/3 and Windows
CE.Net.
I've been developing a SQL Server CE based application for PPC2K and now
find I have to port the application over to Windows CE .net but I am
experiencing problems. Specifically I find that many of the methods are
missing in the SQL Server CE dlls such as the Engine.Create for setting the
DB up.
Any help is appreciated. Thanks. Tag: Constants used with the INF file. Tag: 65505
Centralized Exception Handling
Hi,
Is there a way to centralize exception handling by catching untrapped
exception. "ThreadException" event is unfortunately not supported by the
.NET compact framework. Maybe a solution through platform invokes ?
Any help will be appreciated.
Thanks
Greg Tag: Constants used with the INF file. Tag: 65502
RDA Pull - can anyone tell me what I am doing wrong.
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C38835.3FDE8DE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The scenario is as follows:
1.. I installed MSDE 2000 using sql2kdesksp3.exe, with the command:
setup SAPWD=3D"..." SECURITYMODE=3DSQL
2.. I installed SQL Server CE using SQLCE.exe.
c.. I applied the patch sql20sql2ksp3a.exe, to configure IIS.
d.. I downloaded SQL CE to a PocketPC 2002 device,
and successfully migrated an ADOCE program.
e.. I successfully tested the URL http://.../sscesa20.dll, using =
Pocket IE.
f.. But when I try an RDA pull, I get error 29022:
The version of the Microsoft OLEDB Provider for SQL Server is not =
correct.
g.. ODBC says that the version of SQL Server is 2000.81.9041.40
My code is:
Private Const SDF As String =3D _
"Data Source=3D\My Documents\....sdf"
Private Const SQL As String =3D _
"Driver=3D{SQL =
Server};Server=3D...;UID=3Dsa;Password=3D...;Database=3Dmaster"
Private Sub Form_Activate()
Dim RDA As SSCE.RemoteDataAccess
Set RDA =3D CreateObject("SSCE.RemoteDataAccess.2.0")
=20
RDA.InternetURL =3D "http://...dll"
RDA.LocalConnectionString =3D SDF
RDA.InternetLogin =3D ""
RDA.InternetPassword =3D ""
=20
On Error Resume Next
=20
RDA.Pull "PRODUCTS", "select ProductID, Description from PRODUCTS", =
SQL
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/03
------=_NextPart_000_0012_01C38835.3FDE8DE0
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>
<DIV><FONT face=3DArial>The scenario is as follows:</FONT></DIV>
<OL>
<LI><FONT face=3DArial>I installed MSDE 2000 using =
sql2kdesksp3.exe, with=20
the command:</FONT><FONT face=3DArial><BR>setup SAPWD=3D"<I>...</I>"=20
SECURITYMODE=3DSQL</FONT></LI>
<LI><FONT face=3DArial size=3D2><FONT size=3D3>I installed SQL Server =
CE using=20
SQLCE.exe.</FONT></LI>
<LI><FONT face=3DArial size=3D3>I applied the =
patch sql20sql2ksp3a.exe,=20
to configure IIS.</FONT></LI>
<LI><FONT size=3D3>I downloaded SQL CE to a PocketPC 2002 =
device,<BR>and=20
successfully migrated an ADOCE program.</FONT></LI>
<LI><FONT size=3D3>I successfully tested the URL =
http://.../sscesa20.dll, using=20
Pocket IE.</FONT></LI>
<LI><FONT size=3D3>But when I try an RDA pull, I get error=20
<STRONG>29022</STRONG>:<BR>The version of the Microsoft OLEDB Provider =
for SQL=20
Server is not correct.</FONT></LI>
<LI><FONT size=3D3>ODBC says that the version of SQL Server is=20
2000.81.9041.40</FONT></LI></OL>
<DIV><FONT size=3D3>My code is:</FONT></DIV>
<DIV><BR><FONT size=3D3>Private Const SDF As String =3D _<BR>"Data =
Source=3D\My=20
Documents\....sdf"</FONT></DIV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT size=3D3>Private Const SQL As String =3D _<BR>"Driver=3D{SQL=20
Server};Server=3D...;UID=3Dsa;Password=3D...;Database=3Dmaster"</FONT></D=
IV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT size=3D3>Private Sub Form_Activate()<BR> Dim RDA As=20
SSCE.RemoteDataAccess</FONT></DIV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT size=3D3> Set RDA =3D=20
CreateObject("SSCE.RemoteDataAccess.2.0")<BR> <BR> =
RDA.InternetURL =3D=20
"http://...dll"<BR> RDA.LocalConnectionString =3D SDF<BR> =20
RDA.InternetLogin =3D ""<BR> RDA.InternetPassword =3D ""<BR> =
<BR> =20
On Error Resume Next<BR> <BR> RDA.Pull "PRODUCTS", "select=20
ProductID, Description from PRODUCTS", SQL<BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>---<BR>Outgoing mail is certified Virus Free.<BR>Checked by AVG =
anti-virus system (<A=20
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: =
6.0.520 /=20
Virus Database: 318 - Release Date: =
18/09/03</FONT></FONT></DIV></BODY></HTML>
------=_NextPart_000_0012_01C38835.3FDE8DE0-- Tag: Constants used with the INF file. Tag: 65501
LandScape Mode for PocketPC
I was wondering if there is a simple way to allow my pocket pc application
to display a gridbox/winform in "landscape" mode so that I can turn the
entire pocket pc on its side in order to view the data. I downloaded a cool
app that plays golf and utilizes this concept of rotating the entire screen
to landscape mode, so I know it's possible...
Any suggestions would be appreciated!
Thanks! Tag: Constants used with the INF file. Tag: 65499
very basic SQL CE question
I'm just looking at creatintg a simple PPC database (as opposed to text
files I currently use)
Can I download the SQL CE and use in with evc3/4 without any extras ?
Or is my only choice the 'properties' database methods talked about in some
books
TIA
Andrew Kennard Tag: Constants used with the INF file. Tag: 65498
Heap fragmentation results in memory leaks?
Hi,
I'm using PPC2002 version 3.0.11171 on iPaq,
My app does many small allocations, then frees them and reallocates,
I've written a testing program for monitoring the heap's state:
void* pA = new BYTE[10];
void* pB = new BYTE[10];
void* pC = new BYTE[10];
Heap's state:
00090000 18 Fixed
00090018 18 Fixed
00090030 18 Fixed
...
000921E8 E18 Free
Then I called delete() and again pB = new BYTE[10];
Heap's state:
00090000 18 Fixed
00090018 18 Free
00090030 18 Fixed
...
000921E8 18 Fixed
00092200 E00 Free
I can see that the allocation was done not in the 'freed up' place, but in
another place,
Is this behavior might lead to leaks, as the heap might grow?
Thanks,
Ziv Tag: Constants used with the INF file. Tag: 65492
Determine connected device.
A question about ActiveSync and the registry
Is it possible by reading from the registry to determine
if there currently is a connected device. And if so also
find out its DeviceID for its partnership.
The only reg-value I have found is "Last Device", but it
is not updated until the ActiveSync manager is shut down.
Thanks,
/Jonas Tag: Constants used with the INF file. Tag: 65491
any graph library for Pocket PC?
I want a graph which can draw data array, zoom in/out,
etc. Is there any graph library exsisted for Pocket PC? Tag: Constants used with the INF file. Tag: 65490
Can't set single precision font size.
Hi,
I am trying to set a label font size to 8.25
but the objects gets only 8. I tried
from 8 to 9 stepping with 0.01 and nothing!
(VS.NET 2003, VB Smart Device Application)
Can you help me please.
Thanks,
Rafael Tag: Constants used with the INF file. Tag: 65489
Postal Lottery: Turn $6.00 Into 60.000 In 90 Days
Postal Lottery: Turn $6 into $60,000 in 90 days,=20
GUARANTEED
I found this in a news group and decided to try it. A=20
little while
back, I was browsing through newsgroups, just like you=20
are now and
came across a message just like this that said you could=20
make
thousands of dollars within weeks with only an initial=20
investment of
$6.00!!!=20
So I thought yeah right, this must be a scam!!! But like=20
most of us, I
was curious, so I kept reading. Anyway, it said that you=20
send $1.00 to
each of the 6 names and addresses stated in the message.=20
You then
place your own name and address at the bottom of the list=20
at #6 and
post the message in at least 200 news groups. (There are=20
thousands to
choose from). No catch, that was it.
So after thinking it over, and talking to a few people=20
first. I
thought about trying it. I figured, what have I got to=20
lose except 6
stamps and $6.00, right? So I invested the measly=20
$6.00!!! Guess what?
Within 7 days I started getting money in the mail!!! I=20
was shocked!!!
I figured it would end soon, but the money just kept=20
coming in!!! In
my first week, I had made about $25.00. By the end of the=20
second week,
I had made a total of over $1,000.00!!! In the third=20
week, I had over
$10,000.00 and it is still growing!!! This is now my=20
fourth week and I
have made a total of just over $42,000.00 and it is still=20
coming in
rapidly!!! It's certainly worth $6.00 and 6 stamps!!! I=20
have spent
more than that on the lottery!!!=20
Let me tell you how this works and most importantly, why=20
it works!!!=20
Also, make sure you print a copy of this message now. So=20
you can get
the information off of it as you need it. I promise you=20
that if you
follow the directions exactly, that you will start making=20
more money
than you thought possible by doing something so easy!!!=20
Suggestion: Read this entire message carefully!!! (Print=20
it out or
download it.) Follow the simple directions and watch the=20
money come
in!!! It's easy!!! It's legal!!! Your investment is only=20
$6.00 (plus
postage).=20
IMPORTANT: This is not a rip-off!!! It is not=20
illegal!!! ? It is
almost entirely risk free and it really works!!! If all=20
of the
following instructions are adhered to, you will receive=20
extraordinary
dividends!!!=20
Please note: Follow these directions EXACTLY, and=20
$60,000.00 or more
can be yours in 20 to 90 days!!! This program remains=20
successful
because of the honesty and the integrity of the=20
participants!!! Please
continue its success by carefully adhering to the=20
instructions.=20
You will now become part of the mail order business. In=20
this business
your product is not solid or tangible, it is a service.=20
You are in the
business of developing mailing lists. Many large=20
corporations are
happy to pay big bucks for quality lists. However, the=20
money made from
a mailing list is secondary to the income which is made=20
from people
like you and me asking to be included on your mailing=20
list!!!=20
Here are the 4 easy steps to success:-
Step 1:- Get 6 separate pieces of paper and write the=20
following on
each piece of paper.=20
PLEASE PUT ME ON YOUR MAILING LIST
=20
Now get 6 U.S. dollar bills and place ONE inside each of=20
the 6 pieces
of paper so the bills will not be seen through the=20
envelopes (to
prevent mail theft). Next, place one paper in each of the=20
6 envelopes
and seal them, you should now have 6 sealed envelopes.=20
Each with a
piece of paper stating the above phrase, your name and=20
address, and a
$1.00 bill.=20
THIS IS ABSOLUTELY LEGAL!!! YOU ARE REQUESTING A=20
LEGITIMATE SERVICE
AND YOU ARE PAYING FOR IT!!!=20
Like most of us, I was a little skeptical and a little=20
worried about
the legal aspect of it all. So I checked it out with the=20
U.S. Postal
Service and they confirmed that it is indeed legal!!!
Mail the 6 envelopes to the following addresses:-
S. A. Blair
14601 Portland Ave #219
Burnsville, MN 55306=20
D. Kumar
Room 2.36 Burkhardt House
Oxford Place, Victoria Park
M14 5RR Manchester
ENGLAND
T. Perce
11505 Headley Avenue
Cleveland, Oh 44111
T. Beckers
Rijksweg 46
6267AH Cadier en Keer
The Netherlands
J. Eddolls
144 Pursey Drive
Bradley Stoke
Bristol
BS32 8DP
United Kingdom
W.Scott Moniz
2460 Aumakua
Pearl City HI 96782
Step 2:- Now take the #1 name off the list that you see=20
above, move
the other names up (6 becomes 5, 5 becomes 4, etc.) and=20
add your name
as number 6 on the list.=20
Step 3:- Change anything you need to, but try to keep=20
this message as
close to what you see as possible. Now, post your amended=20
message to
at least 200 news groups. I think there are close to=20
24,000 groups!!!
All you need is 200, but remember, the more you post, the=20
more money
you make!!! This is perfectly legal!! If you have any=20
doubts, refer to
Title18 Sec. 1302 & 1341 of the postal lottery laws. Keep=20
a copy of
these steps for yourself and whenever you need money, you=20
can use it
again.
Please remember that this program remains successful=20
because of the
honesty and the integrity of the participants and by=20
their carefully
adhering to the directions!!!=20
Look at it this way. If you are of integrity, the program=20
will
continue and the money that so many others have received=20
will come
your way!!!=20
Note: - You may want to retain every name and address=20
sent to you,
either on your computer or hard copy and keep the notes=20
people send
you. This verifies that you are truly providing a=20
service. Also, it
might be a good Idea to wrap the $1 bills in dark paper=20
to reduce the
risk of mail theft.=20
So, as each post is downloaded and the directions=20
carefully followed,
six members will be reimbursed for their participation as=20
a list
developer with one dollar each. Your name will move up=20
the list
geometrically so that when your name reaches the #1=20
position, you will
be receiving thousands of dollars in cash!!! What an=20
opportunity for
only $6.00!!! ($1.00 for each of the first six people=20
listed above).
Send it now, add your own name to the list and your in=20
business!!!
DIRECTIONS FOR HOW TO POST TO A NEWS GROUP!!!
Step 1:- You do not need to re-type this entire message=20
to do your own
posting. Simply put your cursor at the beginning of this=20
message and
drag your cursor to the bottom of this message and select=20
copy from
the edit menu. This will copy the entire message into the=20
computer
memory.
Step 2:- Open a blank note pad file and place your cursor=20
at the top
of the blank page. From the edit menu select paste. This=20
will paste a
copy of the message into notepad so that you can add your=20
name to the
list.
Step 3:- Save your new notepad file as a txt file. If you=20
want to do
your posting in a different setting, you'll always have=20
this file to
go back to.
Step 4:- Use Netscape or Internet Explorer and try=20
searching for
various news groups (on-line forums, message boards, chat=20
sites,
discussions, etc.)=20
Step 5:- Visit these message boards and post this message=20
as a new
message by highlighting the text of this message from=20
your notepad and
selecting paste from the edit menu. Fill in the subject,=20
this will be
the header that everybody sees as they scroll through the=20
list of
postings in a particular group. Click the post message=20
button. You've
done your first one! Congratulations!!! All you have to=20
do is jump to
different news groups and post away, after you get the=20
hang of it, it
will take about 30 seconds for each news group!
REMEMBER, THE MORE NEWS GROUPS YOU POST IN, THE MORE=20
MONEY YOU WILL
MAKE!!! (But you have to post a minimum of 200).
That's it!!! You will begin receiving money from around=20
the world
within days!!! You may eventually want to rent a P.O. Box=20
due to the
large amount of mail you will receive. If you wish to=20
stay anonymous,
you can invent a name to use, as long as the postman will=20
deliver it.
JUST MAKE SURE ALL THE ADDRESSES ARE CORRECT!!!=20
Now the why part. Out of 200 postings, say you receive=20
only 5 replies
(a very low example). So then you made $5.00 with your=20
name at #6 on
the letter. Now, each of the 5 persons who sent you $1.00=20
make the
minimum 200 postings, each with your name at #5 and only=20
5 persons
respond to each of the original 5, that is another $25.00=20
for you. Now
those 25 each make 200 MINIMUM posts with your name at #4=20
and only 5
replies each, you will bring in an additional $125.00!!!=20
Now, those
125 persons turn around and post the minimum 200 with=20
your name at #3
and only receive 5 replies each, you will make an=20
additional
$625.00!!! OK, now here is the fun part, each of those=20
625 persons
post a minimum 200 messages with your name at #2 and they=20
each only
receive 5 replies, that
just made you $3,125.00!!! Those 3,125 persons will all=20
deliver this
message to 200 news groups. If just 5 more reply you will=20
receive
$15,625.00!!! All with an original investment of only=20
$6.00!!! Amazing
isn't it!!!! When your name is no longer on the list, you=20
just take
the latest posting in the news groups and send out=20
another $6.00 to
the names on the list, putting your name at number 6=20
again.
You must realize that thousands of people all over the=20
world are
joining the internet and reading these messages every=20
day!!! Just like
you are now!!! So, can you afford $6.00 and see if it=20
really works?
I'm glad I did!!! People have said, "what if the plan is=20
played out
and no one sends you the money?" So what!!! What are the=20
chances of
that happening, when there are tons of new honest users=20
and new honest
people who are joining the internet and news groups=20
everyday and are
willing to give it a try? Estimates are at 20,000 to=20
50,000 new users,
every day!!!
REMEMBER PLAY HONESTLY AND FAIRLY AND THIS WILL REALLY=20
WORK!!!
-- Comments/Feedback (please post your=20
feedback/experiences here) --
Not bad for 1 hr's work....made me around $5320 in=20
roughly 35 days
Anthony M - TX
Hello, I rcvd 269 bucks in the post in 2 weeks.
Dan Miami - FL
I had to wait around 10 days before I had any results -=20
$13,450 as of
3rd Jan 2003 to date (14th Feb 2003).Am gonna re-post it=20
again for
more money!!
Del from Alberta - Canada
Only received around =A3588 in the post the last 2 months=20
since I
started the program but I'd posted to approx. 100=20
newsgroups.
James P - Manchester, UK
Cool....didn't expect much out of this "scam" initially=20
but I have pay
my credit card bill
Mustafa - Jordan
For $6,I made $246 in 2 weeks
ROMEO2326 - Little Rock, AR -US of A=20
Hey, just droppin a line to say that after posting to=20
well over 820
newsgroups on google and my ISP newsgroup server over a=20
period of 4
1/2 months ,Ive raked in $54280 . Mucho dinero baby!!!! =20
Peace.
Drew Dallas - TX Tag: Constants used with the INF file. Tag: 65487
Creating ADOCE Objects with JScript
Hello everyone
I would like to have access to a database in my pocket PC via an html page
(wich also is located on the same Pocket PC). I have written the following
simple page that tries to create an
ADOCE.Connection.3.0 (or 3.1) object, to show the problem I get:
<html>
<head>
<title></title>
<script language="JScript">
function OpenDB()
{
var con;
alert('inside the function');
con = new ActiveXObject('ADOCE.Connection.3.1');
}
</script>
</head>
<body>
<input type="button" onClick="OpenDB();">
</body>
</html>
When I load this page in the web Browser of my pocket PC and Press the
button displayed, the onClick event fires (I can see the messagebox with
the text 'Inside the function'. Then I press OK and the webbrowser tries to
create the ADOCE connection object, but it displays the following error :
" Microsoft JScript runtime error
Line: 6 character:1
Error: Automation server cannot create the object "
The odd thing is that I have a similar code writen with eVB 3.0 and it works
just fine.
The same happens if I try to create a ADOCE recordset object or a filesystem
object. Maybe there is some kind of registry setting I have to set to allow
automation objects to be created
Any ideas as to how to solve this?
I have MS Pocket PC 3.0 installed on my fujitsu Pocket Loox device.
Thank you in advance for any reply
Antonio Miguel Tag: Constants used with the INF file. Tag: 65483
Toolkit visual basic to evb3
i have a project with visual basic toolkit for vb6
now i use the same project with evb 3.0
after its installation with new tools of the program .vb on pocket pc
I have noticed that is much slowest one than that one realized with toolkit
for vb6
Cordiali saluti
Luigi Galdi Tag: Constants used with the INF file. Tag: 65482
menubar wierdness
Hi all,
Ive got a slightly strange problem with a dynamically created menubar. I use
a minimal menu from the resource file, and create it using SHCreateMenuBar,
and then use the following code to add a couple more menus to the bar:
HMENU hMenu1 = CreatePopupMenu();
AppendMenu(hMenu1, MF_ENABLED | MF_STRING, 1001, TEXT("1one"));
AppendMenu(hMenu1, MF_ENABLED | MF_STRING, 1002, TEXT("1two"));
AppendMenu(hMenu1, MF_ENABLED | MF_STRING, 1003, TEXT("1three"));
HMENU hMenu2 = CreatePopupMenu();
AppendMenu(hMenu2, MF_ENABLED | MF_STRING, 1004, TEXT("2one"));
AppendMenu(hMenu2, MF_ENABLED | MF_STRING, 1005, TEXT("2two"));
AppendMenu(hMenu2, MF_ENABLED | MF_STRING, 1006, TEXT("2three"));
PTBBUTTON tbb1 = new TBBUTTON;
PTBBUTTON tbb2 = new TBBUTTON;
tbb1->iBitmap = I_IMAGENONE;
tbb1->fsState = TBSTATE_ENABLED;
tbb1->fsStyle = TBSTYLE_DROPDOWN |0x0080| TBSTYLE_AUTOSIZE;
tbb1->iString = (int)(TEXT("ONE"));
tbb1->dwData = (DWORD)(hMenu1);
tbb2->iBitmap = I_IMAGENONE;
tbb2->fsState = TBSTATE_ENABLED;
tbb2->fsStyle = TBSTYLE_DROPDOWN |0x0080| TBSTYLE_AUTOSIZE;
tbb2->iString = (int)(TEXT("TWO"));
tbb2->dwData = (DWORD)(hMenu2);
::SendMessage(hMenuBar, TB_INSERTBUTTON, 0, (LPARAM)tbb1);
::SendMessage(hMenuBar, TB_INSERTBUTTON, 0, (LPARAM)tbb2);
BUT both menu "ONE" and menu "TWO" display the same popup menu (2one, 2two,
2three).
Anyone got any ideas what I am doing wrong?
TIA
Mark Tag: Constants used with the INF file. Tag: 65481
Help needed on RAS
Hi
Below is the code snippet I have written for PocketPC device to connect to
the RAS services in Win NT/2000. This code is working perfectly in PPC
2000/2002 devices. Recently, I ported this code to PPC2003 and compiled it
using eVC4.0. I test the code using the HP2210 device but it does not work
properly. I tried many times connecting to the RAS services but not every
attempt is successful. The error value return from RasDial() function is
619. I have never encountered this problem using PPC2000/2003 devices.
Do anyone have any ideas how to solve this problem?
Thanks in advance.
Tham
...
...
memset(&recRASDialParams, 0, sizeof(RASDIALPARAMS));
recRASDialParams.dwSize = sizeof(RASDIALPARAMS);
_tcscpy(recRASDialParams.szEntryName, _T("`115200 Default"));
_tcscpy(recRASDialParams.szPhoneNumber, _T(""));
_tcscpy(recRASDialParams.szCallbackNumber, _T(""));
_tcscpy(recRASDialParams.szUserName, _T("user1"));
_tcscpy(recRASDialParams.szPassword, _T("user123"));
_tcscpy(recRASDialParams.szDomain, _T(""));
// Dial to the RAS
dwRes = RasDial(NULL, NULL, &recRASDialParams, 0xFFFFFFFF, NULL,
&hrasconn);
if( dwRes != 0 )
{ // error dial to RAS server
// dwRes is 619 (Port Disconnected)
}
else
{ // connected to RAS server
}
if( hrasconn )
{ RasHangUp(hrasconn);
while (!RasGetConnectStatus(hrasconn, &recRASConnStatus))
{ ::Sleep(0); }
hrasconn = NULL;
}
...
... Tag: Constants used with the INF file. Tag: 65477
Bluetooth serial CRASH!
Hi everybody,
I wrote a program to connect a serial port Bluetooth device and it worked
perfectly on PocketPC 2002 reading data on COM8 (or other ports).
Now on the IPAQ 2210 with Windows Mobile 2003, it crashes and also the PDA
turns off!
I also tested the connection with Zterm and also Zterm makes the same.
My question is : how to read data from the Bluetooth serial port on Windows
Mobile 2003?
Thanks for help!
Claudio Tag: Constants used with the INF file. Tag: 65476
How to detect the full path to a SD memory card?
Using FindFirstFlashCard also finds the flash file stores which are
available on Compaq and Toshiba devices.
Under Pocket PC 2002 it was not possible to open the flash store as a
volume and therefore this method could be used to detect it.
But under Pocket PC 2003, the trick does not work any longer. There i
can open all devices as volumes.
The 2003 functions FindFirstStore and FindNextStore work but the
fields dwDeviceType and dwAttributes are always 0 and do not report
the correct information while deviceName, storeName ... are reportet
correctly!
Any ideas!
... Helmut Tag: Constants used with the INF file. Tag: 65472
active x and pocket pc
do you know if i can use an active x to connect to a pocket pc . Does active
x have support for sockets or active sync ? If yes could you show me which
classes , methods,interfaces to use or even give me some sample code ?
Thanks Tag: Constants used with the INF file. Tag: 65471
Adding Hyperlink to dialog box
Hi
I would like to create a hyperlink in my dialog box that will open up
pocket ie but i have no idea how to go about doing so.
any help is appreciated.
thanks!
Li Tag: Constants used with the INF file. Tag: 65467
Download location from evc++ 4.0 to pocket pc 2003
Is there a way to specify where the program is going to be downloaded
onto the pocket pc 2003 pda when i press the build button for an arm
release on evc++ 4.0?
Thanks!
Li Tag: Constants used with the INF file. Tag: 65461
Send Key VK_RETURN to Pocket Excel Failed by PostKeybdMessage
Dear All
I have a trouble in send key "VK_RETURN" to Pocket Excel.
I wish to send key "VK_RETURN" from my AP to Pocket Excel and
make the StringGrid move to next Grid in Pocket Excel.
UINT uiShift = 0, ascii = VK_RETURN;
PostKeybdMessage( (HWND)-1, 0, 0, 1, &uiShift, &ascii );
it is work in NotePad and Pocket Word but Pocket Excel not worked.
any one help me please. Tag: Constants used with the INF file. Tag: 65459
Intel C++ Compiler for Microsoft eMbedded* Visual C++
Is anyone using this compiler? I need to target an IPAQ 5550 with the PXA255
processor, so I got the 30-day trial of this compiler to use with Embedded
Visual C++ 3.0 and installed it. At least, I did the steps that ought to
have installed it. Trouble is, I can't find any evidence that it put
anything other than the decompressed install files themselves anywhere. I
don't see any difference in the eVC++ environment like a new CPU type, so I
don't know how this compiler gets used, although Intel claims in the product
blurbs that it "plugs into the Microsoft eMbedded Visual C++ development
tools." The Intel "support" is useless on this subject. Can anyone tell me
what's going on with this? Tag: Constants used with the INF file. Tag: 65458
Pocket PC 2003 SDK Installation - Internal Error 2229., InstallExecuteSequence
Hi guys,
I have installed evc 4.0 with sp2, active sync 3.7 and
vs.net 2003 as a pre-requisites for ppc2k3. Now, When I
try to install ppc sdk 2003, I am getting an error which
says
"Internal Error 2229. ,InstallExecuteSequence, SELECT
`Action`, NULL, `Condition` FROM `InstallExecuteSequence`
WHERE `Sequence` > 0 ORDER BY `Sequence`.
This error is immediately after I run the Microsoft Pocket
PC 2003 SDK.msi
Need some help here asap. Tag: Constants used with the INF file. Tag: 65456
Help!pc connect to ppc or smartphone using winsock
I wrote a socket client application on pc,and a socket server application
on smartphone.But I don't know what ip address and port should my client
application connnet to?It seems my smartphone has an ip adress ,e.g.
192.168.55.101,
but it was not recognized by pc application. Tag: Constants used with the INF file. Tag: 65455
WSIWYG not working properly with VS.NET
Hi,
I am using "Smart Device Application"
template of VS.NET 2003 to develop
a Pocket PC 2003 app. I am getting
in trouble when designing the user
interface with VB Forms.
When I deploy the app to the emulator
the fonts seems to be changed. Doing
this, my label and text boxes "becomes
too small" for its contents. And I don't
get the WSIWYG benefit.
Any Help?
Thanks
-------------
Rafael Pivato Tag: Constants used with the INF file. Tag: 65443
MenuBar
The control MenuBar1 ({00AB0E66-7888-4321-A443-
E3FB7843A789}) could not be creates..
Using eVB 3.0, PPC SDK2002 and Emulator..
Help. Tag: Constants used with the INF file. Tag: 65442
Error Compiling.,..
Hello All,
I am trying to use VC++ 4.0 embedded to compile onto an HP
pocket pc running CE 4.2.
This code compiles under version 3.0 of VC++, but gives
this error for 4.0.
Linking...
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved
external symbol _WinMain referenced in function
_WinMainCRTStartup
emulatorDbg/WorkingCopy1.exe : fatal error LNK1120: 1
unresolved externals
Any clues?
Thanks,
Abhilash. Tag: Constants used with the INF file. Tag: 65441
Windows CE Control Manager
Error "failed to find suitable control manager server for
your device" when trying to Assess Pocket PC 2002 Default
Device or Emulator.
I am trying to register a MenuBar Control to the above
Devices...
Help...I am stuck. Tag: Constants used with the INF file. Tag: 65438
Change Toolbar Button Bitmap Dynamically
I would like to show some information like space available and
connection status in the tool bar. For memory available, I was
wondering if there was a way to maybe redraw the bitmap of a button in
the toolbar to show the disk space in a circle/pie format.
Or maybe show the status of the bluetooth connection with a toolbar
button that is first colored red when disconnected and green when
connected.
I was thinking I could subclass the CeCommandBar and rewrite some of
the paint functions for the buttons but that seems like a lot of work.
Has anybody tried this before? or can give me some tricks or
suggestions?
thanks
-Gary; Tag: Constants used with the INF file. Tag: 65437
Problem button enter
I have met a problem with button for Pocket Microsoft CE
V. 3.0.111 in others Pocket Microsoft CE V. 3.0.93 work.
When a program in Java Script use function Click() or
Focus(), one Pocket work, but other no, click in Enter
too no, only work when click in button criated.
This case can problem hardware?
Or problem this version pocket?
Thank you.
Carina Tag: Constants used with the INF file. Tag: 65436
Connect to MySQL database server
Hello,
I am developing application using PocketPC 2002 eVB 3.0. I need to
connect my application to a MySQL server.
I find one DLL which can be used to connect MySQL server. It is DALP. But I
don't know how use this DLL.
Can anybody help me?
(\_ _/) Tomas Matulik
(o)(o)
(( X )) (__) matulik@e-it.cz
XX ___ / /
\ \_/ _ \_/ /
\___/ \___/ Tag: Constants used with the INF file. Tag: 65434
Storage format for a App
I have to develop and application for pocket PC 2003 it is kind of a
shopping list, I need to add items and update them, now my questions is what
type of file should I use to storage the information, can I use Database
access, MSSQL, or just a binaty file ? The app have to be able to run in any
PPC 2003 with out installing anyhting extra, any Ideas ?
Note : this is my first app in ppc 2003.
Thanks
Carlos Tag: Constants used with the INF file. Tag: 65430
Anyone know of a Secure Digital serial card?
Has anyone seen a serial card that will fit into a Secure Digital slot on a
PDA? I need another serial port on an IPAQ and all I'm finding is Compact
Flash or PC Card formats. I'd prefer not to have to add an extension sleeve
just for this. Please reply in the newsgroup; somebody else is bound to be
looking for the same thing. Thanks for any info. Tag: Constants used with the INF file. Tag: 65425