SQL server does not exist or access denied - .net compact
I am developing an application for Pocket PC Mobile 2003. I am trying to
connect to a sql server with the following connection parameters in vb.net
compact framework:
Dim cn As SqlConnection
cn = New SqlConnection
cn.ConnectionString = "Data Source=192.168.1.109;database=TRAKSTAR;User
ID=TRAKSTAR ; password = warehouse"
cn.Open()
I cannot get connection to the sql server DB - I get an error of "SQL server
does not exist or access denied. Source: .net sqlclient data provider
procedure:connectionopen(connect())
I have tried the following for datasource : local , (local) ,localhost ,
adlhplaptop[server name], IP address , IP address with port (1433) and cannot
get a conenction.
I can connect from Networked PCs to the sqlserver Db both via named
instanaces and as well as by IP address alone. I have the same problem trying
to connect either from the Pocket PC device or from the Emulator. I need
some ideas on how to get this connection made.
Thanks in advance. Tag: PDA Button problem Tag: 89514
Vb .NET Mobile HTTPWebRequest Question
I found the following code in an article titled "Improving .NET Compact
Framework HTTP Communications using HttpWebRequest and Custom ASP.NET
Providers" written by Jim Wilson for the PocketPC 2002 OS and when executed
using this OS it runs fine. But when I run this code using PocketPC 2003 SE,
the code returns a ConnectionFailure error after the last line. Anyone know
why?
Thanks for any help, Marc.
Public Sub DownloadFileBinary(ByVal localFile As String, ByVal downloadUrl
As String)
Dim req As HttpWebRequest = CType(WebRequest.Create(downloadUrl),
HttpWebRequest)
req.Method = "GET"
Dim resp As HttpWebResponse = CType(req.GetResponse(),
HttpWebResponse) Tag: PDA Button problem Tag: 89511
Limit User Access to PPC settings
I've posted similar in the CF ng too.
We have a CF app which we bundle with a PPC device for sell. We'd like to
limit the users to our program and keep bored, idle users from mucking with
the settings on the device. IS there a way to set up Pocket PCs to limit
what a user can do with it. ie Protect the user from themselves.?
I've manually set the calendar button to open the app but the rest of the
settings are wide open. I'm also opening the app with minimize set to false
so the two screens completely close the app if the OK clicked.
Realize Windows CE may give greater control but was hoping to stay with PPC
if possible.
TIA
Harry Simpson Tag: PDA Button problem Tag: 89507
When is Soft-Reset Complete?
I have a Today Screen plug in that communicates with a .NET CF application
with windows messages. If the .NET CF app is not running, the TodayScreen
starts with ShellExecuteEx. This works excellent in most cases.
Upon startup from a Soft-Reset the call to ShellExecuteEx appears to
"lock-up" the device (has OEM boot screen and doesn't display Today Screen)
Is there any way I can query the device to see if the startup process from a
soft-reset is complete? Tag: PDA Button problem Tag: 89504
Database Properties
Hi,
I´m using CeReadRecordPropsEx to retrieve some information about
a special database item. The used return value is a CEPROPVAL struct.
It works fine and the function returns probably all existing values for
that item.
But how to find out what the returned values in the .val
parameter represents? What is its meaning?
Its no problem to find out the type of the values but not the meaning
of those values.
And what´s the meaning of the application-defined identifier?
Any hints appreciated and thanks for your time.
Best regards,
Jope Tag: PDA Button problem Tag: 89503
how to check a Device is Connected to ActivSync
Hi,
I need to check frm my Pocket PC 2003 (vb.net) application the status my
Device whether it is connected on Cradle or ActiveSync is connected.
This status is required for application prior to execute RDA.Pull method.
Any help... shall highly be appreciate. Tag: PDA Button problem Tag: 89501
Emulator Crash
Hi All,
Recently I ran into a problem (a crash) that has everything to do with
Pocket PC 3.0 Emulator (comes with Pocket PC 3.0 SDK).
I have been working on developing applications (MFC - EVC 3.0) for windows
CE and Pocket PC for 4 years now. Everything was going fine until I started
getting this weird behavior on the emulator on some of the machines (not
all). When I run my application (the application that I'm developing) the
emulator crashes after a random time (1 sec - 1 min). The error message that
gets displayed indicates that shell32.exe (emulator's executable) was trying
to read from address xxxx and the memory could not be read. When I hit OK my
application gets closed.
Similar behavior does not occur on the real handhelds and never happens on
the emulator on many other desktop machines.
I know some of you might say that the program I'm writing seems to have a
problem. I don't like to think like this because the program runs perfectly
on the emulator on other machines and on the real handhelds.
The facts are:
- I'm using EVC 3.0 for development.
- The project is based on MFC.
- The emulator causing this is the Pocket PC emulator that comes with Pocket
PC 3.0 SDK.
- Not all desktop machines have this problem but the number of machines that
have this is huge
- All the machines that have this emulator problem are up to date (Latest
service packs, latest updates from Microsoft, etc...)
Can anyone help me figure out what is going on?
Have anyone encountered something similar to this?
Thanks,
Khalid. Tag: PDA Button problem Tag: 89500
Windows Forms
Hello,
One problem occured in my developed Mobile Application which has very
negative impact on the performance and is a very bad solution. I want to
explain my problem with an example because otherwise it is very difficult to
explain for me. My appication has a MainMenu were different Jobs are listed.
When I want to see further details to a certain Job I have to mark the
certain job and then the details would be displayed by the Details-Form. Now
I have implemented it in that way that every time the user chooses another
job to look for details a new Details-Form is created and displayed. But this
is a very bad solution. I tried it like in the MSDN article with a Global
class which contains an instance of every form and these instances are always
used if the corresponding form is needed. This works with the following code:
if(Global.details ==null)
{
Global.details = new Details();
}
Global.details.Show();
The problem with this technique is that when I choose a new Job in my
MainMenu the Details-Form is always displayed with the details of the
previous choosed Job. Thus the Global.details form is only displayed and not
modified in any way. Does anybody approximately know what I mean and know a
solution? :-/
Best Regards
patrick Tag: PDA Button problem Tag: 89484
ContextMenu
Hello,
Can anybody tell me the Windows Message to select the text within a textBox?
I tried it with WM_IME_SELECT = 0x0285 but this does not work. I used a
little contextMenu for the textBoxes and offer the possibility to
copy,paste,cut,clear and undo any action. Does anybody know how this could be
work?
regards
mathon Tag: PDA Button problem Tag: 89483
Cannot DHCP, Cannot Ping, Cannot Access Internet
I have just received a Symbol PPT-8846 (Window CE 4.1 .NET). I am
trying to use it to establish a wireless connection to an existing
802.11b access point (just 15 feet away). Somehow, I cannot set the
wireless connection to use DHCP (no signal). I kind of get around with
this problem by assigning a static IP address to it. Now, I can at
least get strong signal.
But I find that I cannot ping. I have no problem in pinging a IP
address using a desktop PC. But when I try to ping the same IP address
using the handheld, it fails to ping.
Moreover, I cannot get access to any external or internal web page
using Internet Explorer. I enter the IP address of the in-house web
server as the URL; but it still cannot get access to it.
Anyway to get around with these problems? Thanks in advance for any
help.
Jay Chan Tag: PDA Button problem Tag: 89479
CfileDialog problem ?
CFileDialog fd(TRUE,
NULL,
file_name,
OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
NULL, NULL);
if (fd.DoModal() == IDOK) {
/////
}
fileDialog can't list files of folder? PPC2003 WINCE,
what's the problem?
--
================================
Yanwei Liu
ywliu@jdl.ac.cn
Institute of Computing Technology
Chinese Academy of Sciences
Beijing,100080 Tag: PDA Button problem Tag: 89476
msdxm.dll to play MP3 files
Hello all
I have a quick question.
I am trying to write an MP3/WMA audio player for windows CE. I know the
windows media player 9 tech preview 2 includes msdxm.dll. How can I use
EVC++ to access the methods of this library? Does it include capabilities to
play media files? Thanks for your help in advance. Tag: PDA Button problem Tag: 89473
Windows Media Player SDK version 10
Hello,
Is there an SDK for Media Player version 10 available for Pocket PC similar
to the Pocket PC Media Player version 9? I need to be able to implement the
Mediabookmark example to work using Media Player version 10.
Thanks in advance
Sam Tag: PDA Button problem Tag: 89472
install on the device what is wrong?
Hello,
created a new project for the target hardware using the MFC App
wizard to produce a simple single document document/view support, windows
socket, not shared new,
basic menubar
using Microsoft Embeded VisualC++
statically linked library base class CFormView
when i start the application i call wininit function(please look down)
the code works fine on Emulator pocket pc 2003
i take the file in ARMV4Rel folder
and download it to device
i receive this error
can't find WLDB or one of its components
-can anyone help me is any dependency MFC files requiered?
-for picture preview i use this code but in dialog called from the menu
-do i need to make an installer cab package?
i use this device
http://www.symbol.com/products/mobile_computers/mobile_ppt8800.html
I use only API supported in WINCE 4
SHLoadImageFile
void CImageViewer::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: Add your message handler code here
// Do not call CDialog::OnPaint() for painting messages
// assuming code is in the OnDraw method of a view....
//szImageName is valid picture path and works fine on emulator
CBitmap bitmap;
// Attach the bitmap object to the HBITMAP returned by SHLoadImageFile
bitmap.Attach(SHLoadImageFile(szImageName));
BITMAP bmpInfo;
bitmap.GetBitmap(&bmpInfo);
CDC bitmapDC;
bitmapDC.CreateCompatibleDC(&dc);
CBitmap* pOldBitmap = bitmapDC.SelectObject(&bitmap);
dc.BitBlt(0, 0, bmpInfo.bmWidth, bmpInfo.bmHeight, &bitmapDC,
0, 0, SRCCOPY);
bitmapDC.SelectObject(pOldBitmap);
bitmap.DeleteObject();
}
and this is application some function from my code
//and this function calls web using wininit
void CallWeb(CString webURL, CString& webData )
{
CInternetSession session;
CInternetFile *pFile = NULL ;
CString line;
CString dBuff = _T("");
char ch;
TRY
{
pFile = (CInternetFile*)session.OpenURL(webURL, 1,
INTERNET_FLAG_TRANSFER_ASCII | INTERNET_FLAG_NO_CACHE_WRITE |
INTERNET_FLAG_RELOAD | INTERNET_FLAG_EXISTING_CONNECT , NULL, 0 );
if(pFile)
{
//this method is safe that all data is converted automatic
//into unicode data
while (pFile->Read(&ch, 1))
{
// To do: store file content somewhere:
webData += ch;
}
}
}
CATCH (CInternetException, pEx)
{
AfxMessageBox(_T("Error In URL"));
//cout << "error call " << endl;
//pFile = NULL;
pEx->Delete();
//return;
}
END_CATCH_ALL
if(pFile)
{
pFile->Close();
delete pFile;
}
session.Close();
} Tag: PDA Button problem Tag: 89471
Confusion in 2003 SE - Dpi Aware CF .Net
Despite all the good resources and previous posts, I admit to having some
confusion over Dpi Aware applications in the Compact Framework.
This is what I've learned so far:
1. "Normally" a Compact Framework application will look just fine, because
all the standard controls get resized automatically.
2. But custom controls, images especially, may benefit from taking advantage
3. You use res2exe -c -r hidpi.res to mark your binary as aware.
Here's my questions:
1. Is there any way to include that resource in your project instead of
using res2exe? I ask just because it is an annoyance. to run this from the
command line outside the project. Plus I don't know how I will *ever* be
able to debug it in high dpi mode, because the debugger will copy over the
unrezzed exe file.
2. Can I get the best of both worlds by allowing standard controls to resize
automatically but doing some work on my custom controls?
a). In this case, can I detect I am in a highres environment?
b). In this case, will the user still get the warning that my program is
an inferior product for an old OS (paraphrasing)?
3. Do I have to support rotation if I support high dpi?
The alternative, writing four sizing routines, is a bit overkill. I realize
this is what may be required. It will require some more time, and the
designer will cease to work, so it seems better to be done as late as
possible, at a time when one is sure the UI is stable and the human factors
people have no more advice to give.
Something tells me I can't be the only person who would want to leave most
standard controls to the default, yet modify some custom ones for the high
dpi. Any others have experience here?
Thanks for any advice.
Nathan Tag: PDA Button problem Tag: 89468
vb .net Form Load
I have written a calendar/logbook program in vb .net. The main object is a
data grid which reads text files to display a schedule. Since I have always
used modules, I use Sub Main as the start-up object to show the main Form
using frmMain.showdialog. I initialize everything in the Form Load Event
because this seems to bee the fastest way to load the program, but it still
takes 9 seconds. Is there a faster or better way to do this? I know that I
need to learn C#, but it is taking a while for me to transition. Thanks...
--
rudeef Tag: PDA Button problem Tag: 89465
mobile web question for ppc
pocket pc's arent detected as "isMobileDevice", what method can I use to
redirect this device to a mobile web site? Tag: PDA Button problem Tag: 89464
select ListView
Hello,
I have a ListView with many articles. Is it possible to select several
articles of a ListView? If yes how does it work?
regards
mathon Tag: PDA Button problem Tag: 89461
How Video/Audio Playback?
Hi
Can someone please tell me how i can integrate video and audio playback in
my ppc03 application using .net cf?
Unfortunately, the .net cf doesn't support COM and i can't afford CFCOM
Anyone got an idea?
thanks,
peter Tag: PDA Button problem Tag: 89454
developing on Toshiba e800
hi, i am developing a 3d game on toshiba e800 handheld pc.
do u know a good emmulator for it!? i want an emmulator for the machine not
just the OS.
thx alot for time, salam. Tag: PDA Button problem Tag: 89452
checkstate binding
Hello,
i am trying to bind a boolean datatable value to a checkstate value of
checkbox. i use a binding.format to cast boolean to checkstate enum.
the problem: it throws an System.InvalidCastException. (pocketpc2002 &
netcf sp2)
the code:
private void deliveredBinding_Format(object sender, ConvertEventArgs
cevent)
{
if((bool)cevent.Value == true)
{
cevent.Value = System.Windows.Forms.CheckState.Checked;
}
if((bool)cevent.Value == false)
{
cevent.Value = System.Windows.Forms.CheckState.Unchecked;
}
} Tag: PDA Button problem Tag: 89449
Reading windows mobile call history
Hi,
I would like to read windows mobile call history (one of the goals is to get
list of missed calls).
I can use EVC++4 or VS.NET.
I didn't find any information about this topic.
Someone can help ?
Thanks. Tag: PDA Button problem Tag: 89447
How to utilize PC Internet connection from Pocket PC ?
Hi , All ,
We developed an application and we want to utilize activesync pass
through function.
Thus pocketpc or smartphone can access internet from PC internet connection.
We need to solve two issues:
1) know when pocketpc or smartphone are connected successfully with
activesync on PC ?
Is there an event which can trigger this ?
2) when synced with pc , we tried to access an internet server , if it
succeeds ,
how do I know this connection is establish from PC internet connection
sharing , or it 's phone
GPRS or cdma connection ( wireless connection will be much expensive ).
Function "InternetGetConnectedState" seems not work on pocket pc side.
thanks.
Ricky Tag: PDA Button problem Tag: 89439
EmuASCfg
when using EmuASCfg to creat a connection btween the emulator to activesync
>EmuASCfg /PPC
i get the following message:
Connecting to specified device [Platform:POCKET PC 2003, Device:POCKET PC
2003 E
MULATOR]...
ERROR: Invalid Platform name: [POCKET PC 2003]
I have eMBEDED vc++ 4 installed Plus smartphone/ppc/.net/ sdk's Plus
everything else i could find :)
how can i solve the problem?
thanks in advance!
GUY Tag: PDA Button problem Tag: 89429
hx 4700 serial communication via COM1
Hello dear all,
I have a problem with communication HP iPAQ hx 4700 with custom serial
(RS232) device via COM1. The custom device we're communicating with is made
by us and it has the following singularity: after receiving each byte via
serial port it pulses CTS line, so although CTS line still stays asserted
most of the time, it goes down for short period of time every time new byte
arrives to the device from the host. This is done in hardware long time ago
in order to signal to the transmitter, that recently sent byte has arrived
and this behaviour we can't change. This device works well with Windows 9x
and 2000 and with iPAQ COM6 via additional CF Card. Communication with PC
works both via COM1 and COM6.
Communication via COM1 with our device, however, works very slow and
unstable, no matter how we set up the port. We see via registry, that COM1
works through com16550.dll and COM6 through serial.dll, so implementation is
definetely different and this is probably explains it, but doesn't help to
solve.
We think, that the problem relies in some interrupt or similar event, that
occurs every time when CTS line toggles, but we don't know a way to
neutralize it, probably it's hardcoded (?).
Our question are:
do you know about any patches, that correct above effect?
how can we make serial communication work via different dll (changing
registry value + reboot makes communication unusable)?
maybe there are some settings to the communication port, that change this
behaviour?
Thank you,
Leonid Taouz
-----------------
System:
hx 4700
Windows Mobile 2003 SE Ver. 4.21.1088 (Build 14132) Tag: PDA Button problem Tag: 89421
about 64-bits encryption and 128-bits encryption
How do I encrypt the gived string using 64-bits or 128-bits on PC and
pocketpc platform?
How do I decrypt them after encrypt?
Thanks.
Regards,
Miken
_____________________________________________________
http://www.msale.net/bbs
a Chinese-language message board for developers,including
palm,ppc,symbian,and etc.
http://www.zirong.net
Miken's private life,and digital diaries Tag: PDA Button problem Tag: 89417
Installer and Access database sync
How do I make an installer or script that set up the Access database
syncronization relationship between the desktop and the device? Use an
interface? Function call? Hack it into desktop and device registry?
Letting the users do it manually in ActiveSync options dialog will only
generate a massive amount of support requests :-(
--
Johan
-------------------------------------------------
Johan Karl Larsen http://www.itlarsen.net
Senior Software Engineer (B.Sc)
Skype callto://johankarl Asker/Norway Tag: PDA Button problem Tag: 89416
device detection
Hi. How can I detect the bluetooth device (by my C# codes) ?
I shouldn`t press any button to see the device, or I shouldn`t activate or
refresh any windows! I should just run my code and wait for a bluetooth
device to detect.
Thanks in advance Tag: PDA Button problem Tag: 89414
device detection
Hi. How can I detect the bluetooth device (by my C# codes) ?
I shouldn`t press any button to see the device, or I shouldn`t activate or
refresh any windows! I should just run my code and wait for a bluetooth
device to detect.
Thanks in advance Tag: PDA Button problem Tag: 89413
How to access camera on HP rx3715 in C#?
Hi,
I have been looking for way to access the camera from my own program so that
is posible to make a photo. I have seen software like bistia but for some
reason i don't get no respons from them. So my question is does anyone know
how to access the camera on a HP rx3715 (build in camera) in C#?
Thx,
Armin Tag: PDA Button problem Tag: 89411
How to load a bitmap from a picturebox?
The idea is take an existing image in a picturebox control and to add
graphics to it. Seems simple, but I get nullArg exeption:
Dim myBitmap As New Bitmap(picturebox1.image)
Dim g As Graphics = Graphics.FromImage(myBitmap)
g.FillEllipse(New SolidBrush(Color.Blue), 20, 20, 15, 15)
PictureBox1.Image = myBitmap
g.Dispose() Tag: PDA Button problem Tag: 89400
DateTimePicker - Time??
Hello,
I use the DateTimePicker from the Smart Device Framework from the OpenNETCF
community. I use a custom format to quote also the time next to the date in
the control. But how can I inidicate when I type in the time in the control
with the stylus and the keyboard if I mean for example 9 o' clock in the
morning or 9 o' clock in the evening?
thx
robert Tag: PDA Button problem Tag: 89395
How does windows mobile phone detect the type of internet connection
Hi, All ,
PocketPC / smartphone can connect to internet either via wireless (
GPRS/CDMA ect ) connection
or PC LAN connection ( when sync with PC with LAN to internet ). But how can
we program to detect
the connection type , is it from GPRS or PC LAN ? thanks in advanced.
Ricky
Your sincerely Tag: PDA Button problem Tag: 89394
eVB Problem
Hi;
I'm trying to learn PPC programming using eVB. I've
downloaded/installed the eVB package from MS. The problem
I'm finding is when I try using ANY of the components using
the project/components dialog. The control is able to be selected
and appears in the toolbox when added, and is able to be added
to the form/project, and appears to work (able to chk/chg properties,
etc.) The problem is when I start the emulator, and run the project I
get a dialog indicating "The control TreeViewCtl1" plus a long UID
code " then "could not be created." Each addin control that I try
gives this same base error, with the control name being different for
each one. The dll listed for each control giving this error exists in
the project/component's listed directory.. A project based on just
the default controls (ie: label, checkbox, textbox) works fine in
the emulator. I've tried uninstalling and reinstalling eVB several
times without any changes. Anybody have any input on this?
Also, I noticed that there appears to be no documentation included
with eVB.. I notice also that eVB appears to be based on VB5/6, and
I've assumed that most of my knowledge of VB5/6 would pass over to
eVB, but one thing I can't seem to figure out is how to generate an
executable that I could ActiveSync to my Dell PPC for testing... HELP!
Dave Frandin
daveATfrandinDOTorg Tag: PDA Button problem Tag: 89385
landscape mode support
Hi All,
Switching my application from portrait to landscape mode is introducing a
auto scrollbar if the controls cannot fit in the landscape mode. But the
controls are not aligned, I see almost the right half of the screen is blank.
How do I align the controls? Is there any API/property in the new windowsCE
second edition to align the controls to fit in the landscape mode or I have
to write code for each control?
Am using evc++4.0.
Any help would be appreciated.
Thanks,
Bhupathi. Tag: PDA Button problem Tag: 89384
STL and eVC++ 4.0
I am ane to pocket pc development. I am using the STL class 'string' in my
application. The linker doesn't seem to be able to finfd the STL library.
What am I doing wrong? Tag: PDA Button problem Tag: 89378
String Manipulation!
Hello,
im reading a simple text file and gettings the values from that
heres the part of code.
FILE* file = _tfopen(_T("\\Storage Card\\test.txt"), _T("r+b"));
while(_fgetts(tstr, 10, file)!= NULL)
im gettings values such as
{box}then followed with my data in the file.10122004
and also how to assign this as
int a = 10
int b = 12
int c = 2004
any ideas?
Thanks,
Arvind Tag: PDA Button problem Tag: 89369
reminder
i'm developing a program in which i would like to give a reminder option.
how can i do this in my program, with out touching the POOM.
do my application have to run to make this up, or is there any API which can
register the time and will send a notification message on the exact time, or
can i start my application which is registered to a particular time.. Please
help me..
Thanks
S.Kumar Tag: PDA Button problem Tag: 89361
dotnet / cf interop
I would like to do something like this in the CompactFramework. Any ideas?
Currently, GetConverter throws a Method Not Implemented or something like
that.
public enum MyEnum : int
{
ONE = 1,
TWO = 2
}
MyEnum myName =
(MyEnum)System.ComponentModel.TypeDescriptor.GetConverter(typeof(MyEnum)).ConvertFromString("ONE"); Tag: PDA Button problem Tag: 89359
How to continu application when press power button and screen off?
I wrote a service application,it work well.But I found,if I press power and
screen off,I stop to run. When it happened I know OS was suspended.But if my
program had some actions periodly,for example,ten minutes,then play some
waves.
I read <Turn Off the Display While Running Applications> of MSDN,it is
different with mine.My requirement is that Continuing to run application
while turning off the display.
How to do?
Thanks in advance.
Plume-Tsee
2004-12-23 Tag: PDA Button problem Tag: 89356
Unable to read data from the transport connection
Hi !
I have an application running on pocket pc 2003 with .NETCF SP2 installed
and written in C#. A web service will be called during program execution.
Initially the web service is only install in the local LAN , which we can
access the webservice internally in the office, and every function call to
the web services is just working fine but when we open the web service to
the internet, and accessing the web service via dial up it give us a an
error 'unable to read data from the transport connection.'. The strange
thing is ,not all web service function give the same error.
Anyone encounter this problem before ? Tag: PDA Button problem Tag: 89354
Hack windows messaging...
If you are standing on a network you can easily hack people using windows
messaging!
I you are between the client and their email server you can do simple a tcp
hack and trick windows messaging that "you" are their email server and issue
a copied certificate to that user. Standing in the middle of the client and
their email server you can pass the information back and forth.
Get this. Normally, email applications check for the validity of the
certificate, however because of a flaw in messaging, all the certificates
appear invalid. THEREFORE all the users of Messaging have already gotten
used to clicking on that "Certificate appears to be invalid" message.
Also good news - the more people are used to clicking on that Certificate
invalid message, the more they will click on it in their desktop
applications of Outlook...
HA ha. Microsoft is helping the users get used to unwittingly overriding
security for the hackers! Tag: PDA Button problem Tag: 89351
How to Add Database to Pocket PC during Installation Process
Hi,
Thank for Harry and Ken for guiding me the installation process of Pocket
PC.
Now, seem to be able to install with one cab file under my ini file. Anyway
I have another problem here.
I tried to add a new Folder named DatabaseFolder with database.sdf under my
Setup Project / Application Folder. However, when I install my application,
the database.sdf is not copy to Pocket PC device. What I want is.....
When I Install my application on Pocket PC, my database file will also copy
to the particular folder of Pocket PC. Please guide me.....
Thank you very much
Regards Tag: PDA Button problem Tag: 89349
ListView/ListBox
Hello,
I want to use a ListView or a ListBox to display a list of items. At the top
of the ListView or ListBox I want to place a TextBox where the user is able
to type in a letter or more letter and the ListBox or ListView is
automatically sorted after the typed in letters.
How can I reach that? - And is a ListBox or a ListView more suitable for that?
regards
mathon Tag: PDA Button problem Tag: 89345
Persistent Memory
How do PPC 2002-2003 apps work when it comes to storing persistent data?
I come from a background in Palm programming where the state of an
application persists when the device is shut off. The state of the
application is lost when you switch to another program. If you want data to
persist between invocations of the program, you write the data to storage
RAM. If the Palm's batteries drain completely, all data is lost.
My understanding of the PPC is that the state of an application is lost when
the device is switched off. However, the state of an application persists
when you switch between applications. Is this correct?
I also would like to know the best way to store persistent data. Should I
write this data to a file?
Also, what happens when the PPC's batteries drain? Is all data lost?
Any feedback greatly appreciated,
Ollie Tag: PDA Button problem Tag: 89341
How to use CeUtil to identify the OS: PPC or WinCE
Hi!!!!
By any chance do you know how can I use the CeUtil library to identify
the operating system of a hanheld connected through ActiveSync???
Any help is greatelly appreciated!!!!
Tarh ik Tag: PDA Button problem Tag: 89337
evc4 ClassWizard add member variable bug? ("Int" the only choice)
In an EVC4 MFC dialog project, when I try and add a member variable (to a
drop-list combo box) of category "value", my only choice for variable type
is "int". However, when I open this project in EVC3, I can choose from
other types as desired. Therefore, I selected CString, re-opened the
project in EVC4, and the member variable is present.
Any comments on this behaviour?
Regards,
Dan Tag: PDA Button problem Tag: 89330
Is there a way to run a Pocket PC app on a laptop?
I am wanting to run an app for my Pocket PC on my laptop. Is there a way to
do this?
I havr d/l the SDK with the emulator, but I have not figured out how to
install the software onto this environment. This is an IBM laptop. I am
trying to install some GPS software from Dell
also, is there a skin for the Dell Axiom 50v?
Thanks
Mc Tag: PDA Button problem Tag: 89325
How do I detect that the SIP is closing?
Hi
I have been reading that an application has to be responsive to the state of
the SIP.
I have a dialog in which I want to re-arrange the controls based on the
visibility of the SIP.
Is there a particular event that gets fired when the SIP appears or closes?
I assume I'd get at least a WM_PAINT, but I'd hate to have to rely on that.
Am I stuck with having a timer that fires that allows me to continually
query the SIP state? Tag: PDA Button problem Tag: 89322
I need code example for appending shortcuts to the PDA buttons. ???