all groups > dotnet compact framework > july 2006
Filter by week: 1 2 3 4 5
.net compact framework
Posted by cmk128 NO[at]SPAM hotmail.com at 7/31/2006 11:24:48 PM
Hi
I have developed a program using vs.net 2003, the program can run on
ppc 2003. But if i run it in windows mobile 5.0 . It has an
System.exception here:
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new
System.Resources.ResourceManager(typeof(D... more >>
Problem text wrapping on a label at Runtime.
Posted by Simon Papworth at 7/31/2006 3:22:01 PM
I can’t find a way to determine how high a label control should be when the
text is longer than the width of the label. The Graphics.MesureSting on CF2.0
does not support multiple lines.
Does anybody know how to measure the number of lines a sting requires within
a given width, without us... more >>
Setting Wireless Settings Programmatically?
Posted by Tomppa at 7/31/2006 2:06:15 PM
I'm using
OpenNETCF.Net.AdapterCollection
and
OpenNETCF.Net.AccessPointCollection
To get this info but ideally I would like to be able to set the info from my
c# app and associate to the AP.
Thanks
... more >>
GAC & Assembly Versions For Same DLLs
Posted by Simon Kurtz at 7/31/2006 1:45:02 PM
I am trying to understand how to efficiently use the GAC, but I am having a
problem with an application I want to deploy to my handhelds. Specifically,
this application uses System.Web.Services.dll as it uses a web service. My
environment is Pocket PC 2003 Phone Edition and a version of this d... more >>
Hex value for GENERIC_READ or GENERIC_WRITE
Posted by Mario at 7/31/2006 10:41:32 AM
Hi,
To access a peripheral I need to provide AccessCode and ShareMode. The
values for AccessMode, per MSDN docs, are 0, GENERIC_READ, and
GENERIC_WRITE. For ShareMode, they are FILE_SHARE_READ and
FILE_SHARE_WRITE. If I want to read and write I would need to OR the
values. However, VS2005... more >>
RAPI question
Posted by Chuck Hecht at 7/31/2006 8:26:47 AM
Hello all
From a desktop app I need to find the name of the active partner ship in
active sync? I also did the path to the "files" folder that is created when
they check the "files" option during the setting up of a partnership. I have
looked at the Rapi functions but I am confused. HELP
Tha... more >>
Creating a CAB in CF2
Posted by Chuck Hecht at 7/31/2006 6:07:56 AM
Hello,
I am looking for documentation on how to create a CAB of my app for my
customers?
Thank you
chuck
... more >>
HELP! HELP!! Can't use SerialPort Class to open COM10 or higher
Posted by BenRu at 7/31/2006 3:38:48 AM
CE5.0
..Net CompactFramework 2.0 sp1
Try
Dim com10 As New SerialPort("COM10", 115200, Parity.None,
8, StopBits.One)
com10.Open()
com10.WriteLine("1234567890")
com10.Close()
Catch ex As Exception
System.Console... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Simple question about hardware button
Posted by intelinside at 7/30/2006 10:19:39 PM
Hi to all,
my device are CE 4.2 and have an external keyboard.
My simple question are:
a simple way to 'disable' HOME button ?
I tread to implement a class that derive from MessageWindow (i see
above this solution) but i dont want to 'trap' home button, but simple
'disable'.
In my devic... more >>
Copy a text file from my desktop to my pda using c#
Posted by Ivan Sammut at 7/30/2006 4:20:18 PM
Hi,
Is it possible to copy a text file from my PC directly to my PDA using c#.
Is it possible from my PC to call an application which resides on my PDA.
Thanks
Ivan
... more >>
Disable user input
Posted by intelinside at 7/28/2006 11:23:49 PM
Hi to all,
a simple question for my current developing session on a CE 4.2 device
(i user CF 2.0 sp1).
When from the main form (showed as dialog) i want to open a new form
(in dialog mode) exist a way to 'disable' user input during loading and
re-enable after showed form ?
Thank you!
... more >>
CEAppMgr "Cannot copy the file"
Posted by JW at 7/28/2006 4:25:43 PM
Dear NG,
CEAppMgr is giving me the following error when it trys to deploy my PPC
application:
"Cannot copy the file. Make sure the mobile device is connected, that
the mobile device has space available and is not write protected, and
that all setup programs on the device have been completed.... more >>
trigger a network dial from compact fw
Posted by S c o t t K r a m e r at 7/28/2006 1:27:40 PM
Is there a nice way to trigger a network dial from within an cf vb.net
app...?
it's a socket bluetooth modem, I'd like to mimic the behaior of IE, you try
to go to a website & the bluetooth modem dials out to the isp
automatically--
thanks!!
... more >>
A simple example on how to access the SQl database on my PDA
Posted by Ivan Sammut at 7/28/2006 1:21:46 PM
Hi ppl.
Can any one give me a simple example on how I connect to my sql database
on my PDA. I created a database named ("Ivan") gave a password & then I
created a table. Now I need to know what is the syntax in my SqlConnection
to connect to then named database.
Sorry if it sounds dumb bu... more >>
Registry limitation ? UnauthorizedAccessException
Posted by Cocotteseb at 7/28/2006 12:13:22 PM
Hello!
I encounter a problem with deleting a key in registry with CF2. I did
not have this error with CF1 and OpennetCF registry class.
I try to delete a key in HKCU\Software\Microsoft\Internet
Explorer\Main\FavoritesEntries\
The CF2 allow me to create one but it is impossible to delete it ... more >>
Secured apps with smart minimizing.
Posted by David D Webb at 7/28/2006 12:08:55 PM
We have a medical app that requires a user to log in every time they use the
app. For HIPAA compliance, all data is encrypted, the user must log in with
a personal account and pw, and if the app is left idle for X minutes, it
will automatically log the user out.
Up until this point, we hav... more >>
Monitor.Exit ArgumentException
Posted by MDB at 7/28/2006 11:22:05 AM
Hello all, I am getting an ArgumentException error when I call this code.
Anyone know why, I am new to the monitor class and don't have a clue what is
causing this. I get the error when I call Monitor.Exit.
Monitor.Enter(myApp.Classes.Globals.gobjCopyDB);
myApp.Classes.Globals.gob... more >>
Installing Fonts
Posted by shashivrat NO[at]SPAM gmail.com at 7/28/2006 3:12:18 AM
Hi,
I would like to display Japanese|Chinese
| Korean | etc. text within an application based on user selection of
language.
I'm in search of Asian Fonts for my PocketPC
iPAQ Model ID: hpiPAQ hw6510a,
OS Version 4.21 .
I tried downloading the following fonts:
Microsoft MingLiU true type f... more >>
exception message is empty
Posted by tony at 7/28/2006 12:03:26 AM
Hi.
if im using the Emulator in the vs.net ,and get sqlce exception or
system.exception, i can get
the exception.message with the cause of the error.
if i get the exception in the device, there is no info except the type of
the exception.
why is that ?
thanking in advance.
... more >>
Fingerprint/Biometric API
Posted by Bill at 7/27/2006 8:42:01 PM
Ok, this seems like a no brainer but I've seen almost nothing about it.
Pocket
PC's can be purchased with fingerprint readers for security purposes. Surely
this functionality could be packaged into and API and integrated with Windows
Authentication. I know my users would be well served by... more >>
SIP issue
Posted by Chuck Hecht at 7/27/2006 5:27:34 PM
Hello,
I am getting the SIP poping up on the following line of code
dataset.readxml("filename")
It happens all of the time each time I try the readxml method of a dataset.
Any ideas!!!!!
chuck
... more >>
Native Exception 0xc0000005
Posted by sarwasva NO[at]SPAM gmail.com at 7/27/2006 3:51:55 PM
Hi All,
I am facing a wired problem in my .net CF application which is written
in
C#. The application some times shows Native Exception :
A native exception has occurred in MyPDAApp.exe. Select Quit and then
restart this program or select Details for more information." Selected
details and... more >>
Pocket Pc Focus indication in Compact Framework
Posted by Blair at 7/27/2006 11:28:38 AM
I have noticed that buttons, checkboxes, and radio buttons do not
display any focus rectangles (dotted line around border or thick button
border) in the compact framework. Does anyone know how I can get this
behavior? Is there a way to turn it on?
Thanks,
=Blair... more >>
app.config
Posted by Jon Vaughan at 7/27/2006 9:47:04 AM
Im using the opennetcf to recreate app.config and im getting a null
reference error, I believe this can be sorted with an alteration to the
machine.config, how can I do this programatically, is it as straight forward
as adding an xml file to my app called machine.config ?
... more >>
Can't get SQL Connection string with IP address to work
Posted by Bryan at 7/27/2006 9:36:49 AM
Hello,
I am using a windows mobile device with pocket PC, for some reason I cannot
get the sql connection string to use IP address instead of machine name. I
can get the IP to work with same connection string on my desktop PC to
server. I am thinking that there must be something different in ... more >>
CF2 SP1 COM Connection point Framework bug?
Posted by Kory at 7/27/2006 8:57:03 AM
Hi,
I have a CF2 SP1 C# application running on WinCE 4.2 device built with the
latest release of Platform Builder that includes CF2 SP1.
I have imported some COM objects into my C# project in Visual Studio
2005(including the beta patch for CF2 SP1).
I am seeing 2 issues.
1. When I... more >>
Manual install SQL Mobile (3.0) on Ce 4.2 device
Posted by intelinside at 7/27/2006 8:43:45 AM
Is possible to install manually SQL Mobile (3.0) on a CE 4.2 device ?
I have installed CF 2.0 SP1, but SQL Mobile ?
... more >>
SqlCeDataAdapter.Fill() missing
Posted by RV at 7/27/2006 8:13:02 AM
Hi,
I develop a application for Windows CE with SqlCE database.
So I reference
System.SqlServerCe and System.Data
A part of my code is :
DataSet ds = new DataSet("MyDataSet");
SqlCeConnection sqlConn = new SqlCeConnection("MyConnectionString");
SqlCeDataAdapter da = new SqlCeDataAdapter();... more >>
.NET CF PC/PPC connectivity
Posted by Alberto Cardoso at 7/27/2006 7:21:02 AM
Let me explain:
This is a 3 layer project that each layer is still under construction.
Desktop layer | Pocket PC Layer | Datalogger (hardware) Layer.
Our first goal is established the connection between the datalogger ( that
will have a real time SO with some connectivity support like... more >>
GetKeyState Method
Posted by lakshmi at 7/27/2006 6:43:04 AM
hi,
This is for an application in VB.Net on .Net Compact Framework (1.0).
(PocketPC)
I need to trap the Tab key as it is moved over the controls on the
panel.
There is a function GetKeyState in user32.dll.
But I get a "NotSupported" exception when I try to use this function.
Is there any ... more >>
Tab Key
Posted by lakshmi at 7/27/2006 5:59:51 AM
hi,
I'm woking on a VB.Net CF (1.0)application (PocketPC).
We a few controls(Combobox, Button, PictureBoxes, TextBoxes) on a
panel.
I would like to have a control over the "tabbing" across the controls
on the panel.
The idea is that when the tab stops over the "Button" control and the
"... more >>
How to hide the SIP icon?
Posted by Gavin at 7/27/2006 4:46:01 AM
Hi
I have a form with no MainMenu control but the SIP icon is still visible
whenever the application is started. Is there I way to remove it?
I have searched around and found that using SetWindowPos solves the problem.
However this only works on Pocket PC 2003, it does not work on WM5.0.
... more >>
Application Upgrade Issue with Window Mobile 5.0
Posted by Amruta at 7/27/2006 3:41:01 AM
With operating system 2003SE or earlier, when the application upgraded
itself, The OS does not prompt the user to uninstall the older version of
application while upgrade.Hence the required files in the cab are extracted,
the older ones are maintained and the application runs successfully.
... more >>
Retrieving installed apps' info from registry
Posted by Swaroop at 7/27/2006 12:04:32 AM
Hello All,
I want to retrieve installed application's info (such as install folder
path, exe path, version number etc.). I believe that this info will be
somewhere in registry. How can I search this in registry? Is there any
thing like when any app is installed, it creates registry entries on
... more >>
Is it possible to use MSAccess table on PDAs
Posted by Ivan Sammut at 7/27/2006 12:00:00 AM
Hi,
I uploaded an Access Database on my pda but now I need to access it thru
my c# program. Can this be done? If yes could u pls give me an example or a
link from where I can get some info.
Thanks
Ivan Sammut
... more >>
Advice Required
Posted by Chris at 7/27/2006 12:00:00 AM
I have a handheld device running Windows CE 4.2 that I need to send and
receive information from/to our Informix database using WiFi
I have a few development tools I can use to help me do this, VB6, eVB and
VB.Net 2005 (I have little experience in this though but it is my preferred
tool, it... more >>
Trasparent control (label) in Windows CE with C#
Posted by HansenM_77 at 7/26/2006 11:59:02 PM
I want to make a trasparent control (label) for windows CE.
I create a new class inherited from Control
i override the OnPaint and the OnPaintPackground
in the on OnPaintBackground i to nothing:
protected override void OnPaintBackground(PaintEventArgs e)
{
//
... more >>
How to display diffrent languages in PocketPC ?
Posted by vikash at 7/26/2006 11:08:52 PM
Hello
How to display diffrent languages in PocketPC ?
I am using iPAQ Pocket PC and .Net CF 2.0 for development.
I Want that my user should be able to use my application in their
native language like French, Japanese etc.
Is it possible then how, Please Suggest.
Any kind of help will... more >>
GetHostEntry
Posted by Kent Briggs at 7/26/2006 9:29:57 PM
I'm trying to get the IP address of a named computer in my local
network. The problem is, my code below only works when my Axim
(WM_Kent1) is cradled and connected via active sync to my desktop
(Dell4600). Then I can enter Dell4600 into the textbox and it returns
two IP's, one for the Active... more >>
Detect wakeup of Pocket PC
Posted by Markus Humm at 7/26/2006 8:54:33 PM
Hello,
is it possible to detect within a VB .NET CF 1.0 programm whether the
pocket pc has just resumed from standby or supend?
If yes, how? Is there anything like a event for that?
Greetings
Markus... more >>
Registry
Posted by Jon Vaughan at 7/26/2006 7:50:02 PM
Am I correct in thinking the pocket pc has no registry and if so whats the
best practice for storing user config data thats enter via a config screen ?
Thanks
... more >>
P/Invoke BYTE *
Posted by Mario at 7/26/2006 1:44:13 PM
Hi,
I have this function in a dll
void myfunction (HANDLE myhandle, BYTE byAddress, BYTE* pDataBuffer,
int iSize)
Invoking using Platform invoke by using the following:
[DllImport("mydll.dll")]
public static extern void myfunction(IntPtr myhandle, Byte byAddress,
ref Byte pDataBuffer,... more >>
Threading Question
Posted by MDB at 7/26/2006 10:59:58 AM
Hello All,
I have a background thread whose job is to check for messages. In order to
set values used in the message thread I set global values. My question is,
is it okay for 2 threads to read a global value at the same time? I also
change the global value using the code below, is this ... more >>
Problem with mscorlib 1.0.3 and 1.0.5
Posted by vallelop NO[at]SPAM gmail.com at 7/26/2006 10:58:52 AM
Hi all of you.
My problem is I get the tipical error
Error: no se puede copiar la dependencia 'mscorlib, Version=3D1.0.3300.0,
Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089' del proyecto
'SmartDeviceApplication1' en el directorio de ejecuci=F3n porque
entrar=EDa en conflicto con la d... more >>
Sending email to Pocket PC 5.0 local inbox
Posted by Santosh at 7/26/2006 6:54:02 AM
Hello,
I wanted to send email to Pocket PC 5.0 local inbox from C++
application. I mean to create an inbox entry locally.
Can anybody help me how to do?
Thanks,
-Santosh... more >>
East Asian font in WinCE Pocket PC
Posted by shashivrat NO[at]SPAM gmail.com at 7/26/2006 4:25:57 AM
Hi
I am trying to read text file saved as UTF - 8 encoding, its
working fine with English & European language (French, German &
Spanish) but not with Asian
(Japanese, Korean & Chinese). How can i install the East Asian font on
my Pocket PC With winCE 4.1. Where
Should i get it.
Any ... more >>
Asian Fonts
Posted by lakshmi at 7/26/2006 4:08:17 AM
hi,
I have a iPAQ Model ID: hpiPAQ hw6510a, OS Version 4.21 .... Is it
possible to load Asian Fonts(Japanese, Chinese, Korean) in it ?
I'm working on an PocketPC appplication in Vb.Net and we need to allow
the
user to view text in the following Asian languages(japanese, Chinese,
Korean).
I t... more >>
Capture Stylus cooridnates on Smart Device
Posted by sunil at 7/26/2006 1:39:01 AM
Hi,
I need some help with capturing stylus coordinates on a SmartDevice. I am
not talking about capturing the x,y on a particular form or application but
it could be anywhere on the device irrespective of which application is
currently running on a mobile device. So it needs to be a utility... more >>
Microsoft.WindowsCE.Forms.Notification Control. VS2005.
Posted by Steve at 7/26/2006 12:00:00 AM
Hi,
I'm trying to use the notification control which works and pops up the
bubble notification thing but this gets shown at the bottom of the
screen(and the menu bar looks like it cuts the bottom bit off) without the
little speech bubble pointer pointing to the icon in the title bar. Is th... more >>
How to change Listview item Backcolor
Posted by Murthy at 7/25/2006 11:05:02 PM
Hi,
I am writing an PPC 2003 Application in which i want to change the back
color of some selected listview items.
This can be done with just this line in windows Framework
listView1.Items[1].BackColor = Color.Green;
Can some one tell me how i can do it in Compact Frame work.
Thanks,
R... more >>
|