all groups > dotnet compact framework > december 2006
Filter by week: 1 2 3 4 5
Sending CB_GETDROPPEDSTATE to a Combobox always returns zero
Posted by Michael Meier at 12/30/2006 9:48:27 PM
Hi
I'm writing a program for PocketPcs.
Since I want a ComboBox to automatically open when the user presses a ke=
y =
I'm using the attached code.
Unfortunately the CB_GETDROPPEDSTATE message always returns 0, so the =
program is unable to check if the
ComboBox is already opened or no... more >>
setting color
Posted by tony leake at 12/30/2006 9:09:24 PM
Is it possible to change the colors of the following things in the compact
framework?
1) List view headers
2) The color of the selected row in a list view (defaults to blue)
3) The color of the active item in a context menu.
Thanks
tony leake... more >>
P/Invoke struct some values incorrect
Posted by Lorraine at 12/29/2006 3:14:29 PM
Hi,
I am writing a wrapper for a C library to make it into a DLL and then
using P/Invoke on that DLL. My problem is that some of the values in a
structure passed by reference are funky, while other values are correct
and the function returned from the library as successful. The flow of
the ... more >>
Word Object Model
Posted by Samuel Shulman at 12/29/2006 1:40:30 PM
Hi everyone,
I wonder if there is an Object Model for Word in WM 2005
If not, can one create text files then change the file extension name so the
system will recognize it a Word file?
Thank you,
Samuel
... more >>
Working with files
Posted by Catalin Lungu at 12/29/2006 12:05:57 PM
Hi,
I need to delete, create, append files en WindowsCE 4.2 Is there any library
to do this?
Thanks,
Catalin
... more >>
Column widht in datagrid
Posted by Catalin Lungu at 12/29/2006 11:46:40 AM
Hi,
How do I set the column width for a datagrid in NetCF 1. (VS2003)
Tia, C.
... more >>
How to for Smart Minimize
Posted by Thomas at 12/29/2006 4:15:54 AM
Hello
After some weeks of developing with compact framework, I figured out
that i still do not unterstand whats going on when i press the X of the
form.
I now added a Close button in my application and want it to have the
same behavior as the "X" button of the form. I figured out that neith... more >>
Graphics.DrawString inconsistent drawing behavior on Dell Axim x50v (640x480)
Posted by holmerj NO[at]SPAM cintas.com at 12/27/2006 12:48:05 PM
We have code that creates a Bitmap object and uses the Graphics object
derived from it to draw string data on that Bitmap. When we execute
that code on on the Full Framework, or on the compact framework listed
below on a 240x320 device, the bitmaps produced are identical. When we
run that same... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Dynamic menu and item clicked
Posted by William LaMartin at 12/25/2006 11:36:14 PM
I recall being able to do this in Vb.net, but I can seem to find a way to
accomplish it in the compact framework.
I want to connect to a compact SQL database, get the list of tables and
display them in a menu. I have no trouble doing this. My problem begins
when I want to retrieve the text... more >>
file io, multithread => application exit
Posted by mcosta74 NO[at]SPAM gmail.com at 12/25/2006 5:53:33 PM
Hi
Once in a wile I have an application disappearing without sending me
any exception. It smells to a compactframework low level issue. I'm
doing several IO operations with sockets and files in a multithreaded
environment. My guess goes to file IO in a thread different from the
main one as th... more >>
2.0 SP1 and Visual Studio - Compile errors.
Posted by Nathan at 12/25/2006 1:45:23 PM
Ok.
I've setup a new machine with Visual Studio 2005. I have installed CF
2.0 SP1 redistributable.
I get some errors in designer generated code that make it obvious that
Visual Studio is not compiling against SP1.
'System.Windows.Forms.DataGridTextBoxColumn' does not contain a
definition... more >>
Inhibiting automatic QueryInterface in COM interop.
Posted by Ilya Konstantinov at 12/25/2006 10:38:11 AM
Hi,
Suppose[1] in some 3rd-party COM-based API there's a method which
returns an IFooBar object:
HRESULT GetFooBar(IFooBar **pvFooBar);
and then for interop you convert this method to:
IFooBar GetFooBar();
and then, from your .NET code, you'd do:
IFooBar myBar = GetFooBar();
my... more >>
Create WiFi connection and many connection to internet by bluetooth
Posted by sulimov NO[at]SPAM gmail.com at 12/25/2006 3:56:56 AM
Sorry my English.
I have many PocketPC > 70 in different citys
My application and config.ppc placed on SD card
Users do not understand how to setup a handheld computer
Users must connect by bluetooth and mobile phone to internet and send
information to central office
One user can have from 1... more >>
how to write a program which is able to survive after a hard reset in mobile device
Posted by sunnyy NO[at]SPAM gmail.com at 12/24/2006 11:47:22 PM
Hello, I am researching the possibility of write a program which won't
be earsed after a hard reset in mobile device.
Can anyone point me a direction or give some advice? is it possilbe to
do this using .net compact framework? or it can only be done in OS
level?
Thanks in advance
... more >>
WinMobile: Inter Process Communication
Posted by Harry Hirsch at 12/24/2006 12:49:07 PM
Hello,
I just started to program for Windows Mobile 5.0 using VisualStudio 2005 and
C#. I'm looking for "inter process communication". In C++/MFC I use named
CMutex and named CEvent objects, and I sent messages to other processes
using FindWindow() and PostMessage().
All these things are n... more >>
Font and Color Dialogs
Posted by nsimeonov at 12/23/2006 4:46:23 PM
I searched for the topic and surprisingly I couldn't find 1,000,000
articles on google on this topic. Apparently the only one I found
(http://www.inthehand.com/index.php?page=12&show=1,2) isn't available
anymore. If anyone could give me an advice which component to take, I'd
be eternally thankfu... more >>
Right-To-Left Support in Pocket PC 2003
Posted by Ehsan at 12/23/2006 6:44:01 AM
How can I enable right to left support for asian languages in Pocket PC 2003
SE?
If it includes something called "SIP" then what is SIP? Where can I find
information about SIP and font registration in pocket PCs?
In most cases, asian language characters are displayed in reverse format.
How c... more >>
Prevent CameraCaptureDialog from showing preview
Posted by cyberco at 12/23/2006 5:22:57 AM
Using the CameraCaptureDialog for taking pictures is great except for
the fact that it always shows a preview of the picture that has been
taken. Is it possible to skip the preview?
... more >>
Profiling .Net CF applications using Visual Studio?
Posted by cyberco at 12/23/2006 2:03:27 AM
How can I profile .Net CF (2.0) applications using Visual Studio?
Preferably on the device itself, but in the emulator is a good start.
I need profiling since I'm running into memory problems and I wonder
where it goes wrong...
... more >>
Debugging: Prevent upload to go via ActiveSync
Posted by cyberco at 12/23/2006 12:58:21 AM
My WinMob 5 application uploads data to a server. If I want to debug
this behaviour I have to hook my device to my computer using ActiveSync
so that debug info goes to Visual Studio (2005). Unfortunately all data
traffic is routed via ActiveSync from that moment. Is there a way to
prevent this a... more >>
Not unsafe P/Invoke
Posted by skindiver at 12/22/2006 7:36:28 PM
I am passing a struct to unmanaged code. One of the parameters contains a
pointer that should point to a local variable to return some 16 bit data.
I can do this in an "unsafe" context and it works.
Is there a way to do the same thing without using "unsafe"?
[StructLayout(LayoutKind.S... more >>
anyone used libpng with c#?
Posted by eastlands at 12/22/2006 1:52:20 AM
I am desperately trying to save PNG image files from my C# CF
application.
I have found libpng for CE (lpngce at
http://www.tenik.co.jp/~adachi/wince/lpngce/index.html) but not having
a C++ backgroung I'm having some difficulty - at the moment I cannot
even get it to compile.
Has anyone else... more >>
XML over GPRS - Is this a good idea?????
Posted by iKiLL at 12/21/2006 3:30:27 PM
Hi All
I was hoping some one could give me some guidance on the matter of sending
data over GPRS.
I have taken over an application written for Windows mobile 5.0 with VS2005.
It is currently communicating with a web service via GPRS.
The Web service places all the data into... more >>
Receive SMS API's
Posted by allanster.a NO[at]SPAM gmail.com at 12/20/2006 7:59:28 PM
Hello,
Are there any api's for smartphones which can be used to
receive SMSs, ie it should be able to check if the sms is from a
particular no and if so pass it to the application rather than to the
inbox.
Thanks in advance,
Regards,
Allan
... more >>
RE: Writing text file..CE 5.0
Posted by JN at 12/20/2006 12:05:45 PM
Hi,
I have an application that takes inputs from a barcode scanner that is
running Windows CE 5.0 and it populates a listbox with the readings.
I need to create a text file and write the items in the listbox to it so it
can be uploaded to another program.
Do I create the file on the dev... more >>
Force device restart?
Posted by rpatel4 NO[at]SPAM gmail.com at 12/20/2006 9:27:42 AM
Is there a way to programmatically force a device hard restart -- the
same effect that pulling/inserting the battery has?
... more >>
Encrypting and storing data in registry. Examples?
Posted by cyberco at 12/20/2006 8:54:36 AM
I want to encrypt and store a password in the registry (.Net CF 2.0). I
could use OpenNetCF for both, but does anybody here know some example
code of how to do that? Preferably C#
... more >>
does a toolBarButton with pushButton style not popup contextMenu??
Posted by Hari at 12/20/2006 6:21:25 AM
Hi,
I need to have a menuBar with some images, which when selected
should popup a menu. But the toolBar does'nt provide the exact thing
what i require. It does'nt popup the menu when the button style is
pushButton. It works only with dropdown style. But this style also
displays the dropdo... more >>
How to deploy code in C# for PocketPC 2003 on CompactFramework.
Posted by vidishasharma NO[at]SPAM gmail.com at 12/20/2006 12:27:55 AM
Hi,
I have made a compact framework application. I have to send this
application to my client so that he can have a look at code. I have to
write a document to instruct him to how run this application on
PocketPC 2003 emulator.
What instruction do I give him. Does he need to open the appli... more >>
Dns.GetHostEntry throws SocketException in WM2005, OK in PPC2003
Posted by Scott at 12/20/2006 12:00:00 AM
Using C#, .Net CF 2.0, WM 2005 on Symbol MC9090
IPHostEntry Dns.GetHostEntry (String)
Throws:-
{System.Net.Sockets.SocketException: The system detected an invalid pointer
address in attempting to use a pointer argument in a call
at System.Net.Dns.ResolveInternal()
at System.Net.Dns.GetHostE... more >>
Antishock PPC
Posted by Catalin Lungu at 12/20/2006 12:00:00 AM
Hi all,
Can anyone recommend me some antishock PPC?
TIA,
C.
... more >>
Is the Dotfuscator in vs.net 2003, support the net compact framework ?
Posted by tony at 12/20/2006 12:00:00 AM
hi,
when im trying to change the code with the Dotfuscator in the vs.net =
2003, to my net compact framework application i get some errors in the =
sqlce ..
i want to know, is the Dotfuscator that in the vs.net 2003 support the =
net compact framwork ?
if not, anyone can recommend about... more >>
[ANN] Introducing OpenNETCF Telephony Library 1.0
Posted by Neil Cowburn at 12/19/2006 10:27:41 PM
Introducing OpenNETCF Telephony Library 1.0
OpenNETCF Consulting releases new product for device application developers
Myersville, Maryland - Dec. 19, 2006 - OpenNETCF Consulting, LLC are pleased
to announce the release to general availability of their latest software
library for device app... more >>
What am i doing wrong or is it a bug?
Posted by doolaard NO[at]SPAM gmail.com at 12/19/2006 5:54:01 AM
I created the following code:
string postName = @"dutchnomad";
string postPword = @"dotnet";
FileStream fs = new
FileStream(selectImageOpenFileDialog.FileName, FileMode.Open);
BinaryReader br = new BinaryReader(fs);
... more >>
Keep the light on
Posted by cyberco at 12/19/2006 3:03:23 AM
As discussed here:
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/8c1207578fa7db7c/de0dcfdfd113ab3b?#de0dcfdfd113ab3b
I am able to prevent my Windows Mobile device from going into suspend
mode, but the light goes off. Is there a way to keep... more >>
Emulator Shared Folder problem
Posted by Nuyttens Xavier at 12/18/2006 10:54:25 AM
Hi,
I'm using the PPC 2003 emulator with C#2005, Sql Mobile 2005 to test my
application. I have a storage card emulated which is part of my c:\ drive
and has a sql ce database on it.
When I try to insert records, the record is inserted (Affected records : 1)
and removed right away. No er... more >>
DataGrid from bindingSource collumn width
Posted by lodzik at 12/18/2006 9:30:36 AM
Hi,
I can't make this style visible. I'm new in coding but I readed every
post about that and have still problem.
My code looks like this:
DataGridTableStyle myGridStyle = new DataGridTableStyle();
myGridStyle.MappingName = "lineBindingSource";
DataGridTextBoxColumn idColumn = new DataGrid... more >>
PsionTeklogix emulator in VS2005
Posted by joris.spriet NO[at]SPAM gmail.com at 12/18/2006 12:52:44 AM
Hi,
I've installed CF2.0 SP1 patch and latest available SDK from
PsionTeklogix (1.09), but for some strange reason I still cannot "see"
the Teklogix emulators in Visual Studio 2005, although I do see Pocket
2003 and Windows CE5.0 emulators. In VS2003 I can see both, but we want
to develop for... more >>
Help for Marshalling
Posted by Wrecked at 12/17/2006 8:57:31 PM
Below is the unmanaged code written with evc++
-------------------------------------------------------------------------------------------------------------------------------
#include <windows.h>
#include <windowsx.h>
#include <aygshell.h>
#include <msgqueue.h>
#include <pnp.h>
#include <... more >>
CF 2.0 install problem on Handheld device
Posted by ARTMIC at 12/16/2006 4:23:00 PM
Hi can anyone please help me out,
i need to install the latest CF2.0 cab files on the Handheld unit, i dont
know where to get those damn cab files, i've been banging my head against the
wall, no success, i had my Symbol 90xx-g working ok 2 months ago, i unplugged
the unit and the stuff went a... more >>
A good place to start?
Posted by LearningCF at 12/16/2006 11:20:44 AM
Hi all,
Is there a good website someone knows of from which I can download
complete CF applications to run/explore and study?
Thanks!
Steve... more >>
Selecting a particular .NET framework version
Posted by LearningCF at 12/16/2006 2:22:31 AM
Hi,
I just started developing applications on the .Net Compact Framework.
I've got .NET 1.1 and 2.0 installed on my machine along with VS 2005.
However, each time I deploy, it deploys it as a .NET 2.0 application.
How can I programmatically check and change the version of the framework
to... more >>
Selecting a particular framework
Posted by LearningCF at 12/16/2006 1:54:56 AM
Hi,
I just started developing applications on the .Net Compact Framework.
I've got .NET 1.1 and 2.0 installed on my machine along with VS 2005.
However, each time I deploy, it deploys it as a .NET 2.0 application.
How can I programmatically check and change the version of the framework
to... more >>
problem manually adding items to a dropdown list
Posted by Milsnips at 12/15/2006 10:24:52 PM
hi there,
im using a datatable to fill a combo box but when i try "dt.rows.add(new
object(){"",""}) all the items in the combo box say "system.data.datarow[]"
instead of their values.
How can i populate a combo box manually and assign the string and value to
how i want?
thanks,
Paul
... more >>
today screen example for visual studio 2005??
Posted by Milsnips at 12/15/2006 6:33:44 PM
Hi there,
Can anyone provide me with some example code/project for adding or creating
a custom today screen item using VS2005 (C++ and vb/c#)?
i've seen the one on MSDN but its for VS2003 and the C++ project is done for
eVC.
thanks,
Paul
... more >>
Predefined preprocessor for C#?
Posted by Marcel Ruff at 12/15/2006 4:20:28 PM
Hi,
are there any predefined preprocessor settings during compilation
of C# code like
CF1
CF2
DOTNET1
DOTNET2
WINCE42
which i can use in C# as
#if CF2
... using callback function pointer
#elif CF1
Uuuh ooh (Windows messages?)
#elif DOTNET2
... using Unma... more >>
C# IntPtr with moved memory location, how to apply 'fixed'?
Posted by Marcel Ruff at 12/15/2006 1:19:11 PM
Hi,
i have an unmanaged C dll and i call a function from C#
which returns a pointer on a struct inside the C dll:
// C# code:
//member variable
IntPtr intPtr;
someMethod() {
intPtr = getStruct(); // calls C dll
}
when i later use the intPtr (passing it to C dll) it see... more >>
Wait Cursor
Posted by Samuel Shulman at 12/15/2006 1:16:04 PM
The Wait Cursor is not visible in one of my devices
Can I change it in the settings somewhere
Thank you,
Samuel
... more >>
determine if pocket pc 2003 device has been disconnected from the network
Posted by Raymond Maillard at 12/15/2006 10:30:32 AM
I currently have an app running on a pocket pc 2003 that connects to a
webservice to update information. The device is using gprs for
interconnectivity. In one particular module, data is sent to the server and
waits on a feedback from the server. However, sometimes the gprs service is
droppe... more >>
ANN: OpenNETCF.Net.NetworkInformation Beta
Posted by ctacke/ at 12/15/2006 10:12:59 AM
We're pleased to announce the Beta1 release of our
OpenNETCF.Net.NetworkInformation library.
This library provides 100% coverage of the capabilities of the iphlpapi.dll
library (including routing and ARP cache coverage), 90+% coverage of the
Full Framework's System.Net.NetworkInformation names... more >>
|