Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet compact framework > august 2006 > threads for august 22 - 28, 2006

Filter by week: 1 2 3 4 5

Copy Strings
Posted by tony at 8/28/2006 10:45:52 PM
Hi , if i have string s1="s1"; string s2="s2"; when copy the strings s1=s2; 1. is this action equals String.Copy ? 2. is this action is thread safe ? ...more >>

[Cf 2.0] Custom file association and default icon
Posted by Steve B. at 8/28/2006 3:54:07 PM
Hi, I've build an application for PPC 2003 with VS 2005 and CF 2.0. The app have a custom icon and the exe file appears correctly in the file explorer. I've also created a new file association ".myapp". I associated my app with this file extention successfully. My problem is that I'd l...more >>

Dll download
Posted by Ole at 8/28/2006 3:13:20 PM
How do I let VS2005 download (when debugging) a native dll (created in eVC 4) that is used in my project. I make change s to the dll now and then so it is important that it allways is the newest version of the dll that is downloaded. Thanks Ole ...more >>

Compact Framework 2.0 and Windows CE 4.2
Posted by richard.giuli NO[at]SPAM sri.com at 8/28/2006 2:17:45 PM
HI all, My background is that we have CE 4.2 devices deployed in the field. We are adding new software and I would like to write a CF 2.0 app that uses C# and pinvoke. I got this to work by writing the C++ and C# apps in MSVC 2005, targetting the correct processor and then deploying by hand. ...more >>

Create a file in Pocket PC 2002 mode
Posted by Roger at 8/28/2006 3:50:20 AM
Hi, I created a simple Smart Device Application for my PDA to create a file on my pocket p.c. When I debug this solution with Pocket PC 2002 with Microsoft Visual Studio 2003, the file isn't created. When I debug this file in a "normal" windows application the file is created in the "debug" ...more >>

Standalone .NET CF SDK?
Posted by Guest at 8/28/2006 12:00:00 AM
Hello, at the moment I'm setting up a standalone server for continuous integration (CruiseControl .NET). The CC service builds, tests and packages all .NET and ..NET CF projects as soon as there is a new check-in in the source code repository. Building is done with NAnt scripts. Now that...more >>

Location Streamwriter Pocket PC 2002
Posted by Roger at 8/27/2006 11:55:35 PM
Hi, I created a simple Smart Device Application for my PDA to create a file on my pocket p.c. using System.IO; StreamWriter stWr = new StreamWriter("test1.txt"); When I debug this solution with Pocket PC 2002 with Microsoft Visual Studio 2003, the file isn't created. When I debug this fi...more >>

General guideline for Forms (Window) and Controls use on .NET CF 2.0
Posted by Sondre Bjellås at 8/27/2006 11:52:18 PM
I was wondering if there is some sort of guideline on the use of Forms (Windows) and Controls on .NET CF 2.0? The question is regarding to updating the UI, what is best for performance, memory usage, etc. Should I remove/show/hide controls in the main form when the user does operations, or ...more >>



ListView control takes all focus?
Posted by Sondre Bjellås at 8/27/2006 11:42:16 PM
I'm working on a form where I have a combobox, a link label and a listview control. In the load event on the form I put focus on the combobox. When the application loads up I can use the "joystick" to navigate down and put focus on the link label, and below that I have my listview control. ...more >>

exception
Posted by Erwin Zwart at 8/27/2006 4:15:45 PM
As i am i dummy user trying to debug a dummy application i've got a exception thrown at a very basic piece of code: public static Image LoadImage( string Filename ) { try { Image img = new Bitmap( Filename ); return img; } catch { } return nul...more >>

Designer NOT showing controls
Posted by baby123 at 8/27/2006 3:10:13 AM
hello, I created some controls with my own. I placed them on a form and they worked FINE! now, suddenly, they not showing them correctly. all the controls are displayed as a rectanegle with the name of the class inside them, instead of the REAL appereace. thanks, baby [ my nick :) ] ...more >>

Q: POOM and named properties
Posted by Adam Bradley at 8/27/2006 12:00:00 AM
After doing some research, I've managed to write some named properties using the Redemption in C# Now I'd like to read the on my Windows Mobile Device and I understand the POOM library will allow me to read them using .netcf in C#. Does anyone have any hints/code that might make this task e...more >>

Mobile Line of Business Solution Accelerator
Posted by Rob Tiffany (MS) at 8/26/2006 3:51:01 PM
If you're looking for resources to give you a head start in building a Windows Mobile line of business application to deploy in your enterprise, look no further than http://www.microsoft.com/downloads/details.aspx?FamilyID=80a5c2c5-4f9b-4c1a-bff6-2a3c6b68d15b&displaylang=en. Covering the us...more >>

Interoperability with orther applications
Posted by François Oliveira at 8/26/2006 2:43:01 PM
How can I use .Net Compact Framework to get control of other applications like contacts? for example, can I add a new contact from my code using .Net Framework?...more >>

Providing Arabic Support for applicaiton in Windows Mobile 5
Posted by avanza at 8/26/2006 6:19:28 AM
I am going to develop a project which would have both an arabic and an english interface. I thoght that as the CF support unicode cahrs, all i had to do for switching to arabic was to use the arabic astrings inplace of the english ones e.g title of buttons. etc. but it didnt worked out this ...more >>

Connect to SQl Server
Posted by StephenM at 8/25/2006 11:51:01 PM
Hi, I have a been asked to create an app for a company that can do the following. 1. Link remotely to an SQL server database 2. Query the data to return a result. What is the easiest way to connect to a database over the internet? Thanks for any help. Stephen...more >>

Connecting VS2005 to Freescale ADS21 development board.
Posted by Mario at 8/25/2006 3:45:44 PM
Hi, Has anyone had success in debugging their application on a Freescale ADS21 development board from VS2005? I can do everything but deploy my application on the board. Any advice on how to that is appreciated. Thanks. Regards, mario ...more >>

How can I start a PC program from a hand held device?
Posted by WayneM at 8/25/2006 2:49:02 PM
I am using a device that uses Mobile 5 and a wireless connection to a PC via an access point that connects to the network. My understanding is that ActiveSync does not run over the wireless and thus I cannot use RAPI. Is my only option to connect to a SQL Server database from the device and ...more >>

bindingsource.find method not working
Posted by Mohan at 8/25/2006 12:34:40 PM
Hi, I am having problem with the find method. It gives an error saying that the method is not supported. I am not sure why. Is there something i am missing This is the code i have. int rowindex = BindingSource1.Find("ColumnName","461"); I would appreciate any help. Thanks MB ...more >>

Send email with socket
Posted by Rogerio Jun at 8/25/2006 9:31:02 AM
How I can send mail with SMTP and SOCKET wich the server need authentication Login and TLS (GMAIL)?...more >>

implement Clean Boot on WM5
Posted by Azzi Stefano at 8/25/2006 7:03:02 AM
How i can implement a Clean Boot on WM5? I have read info on this link http://blogs.msdn.com/ce_base/archive/2006/02/09/How_OEMs_implement_Clean_Boot_on_WM5.aspx but i don't understand. How i can implement IOCTL_HAL_QUERY_FORMAT_PARTITION? Thanks in advance. ...more >>

Flip the screen
Posted by Peter Morris [Droopy eyes software] at 8/25/2006 12:00:00 AM
I've Googled but not found the answer. I have an Intermec PPC and need to rotate the screen by 180 degrees. How is this done? Thanks Pete ...more >>

Registerhotkey windows CE
Posted by Ivo van Halen at 8/24/2006 4:47:19 PM
I am trying to register a hotkey in a Windows CE .NET 4.2 application. I want that when the key is pressed the application that registered it gets the focus and then fire an event. I have made to following code: -----------CODE----------- Public Declare Function RegisterHotKey Lib "CoreDL...more >>

Custom Control Inheritance
Posted by houghtelling NO[at]SPAM gmail.com at 8/24/2006 1:02:42 PM
I have a Windows Mobile 5.0 Pocket PC project named CuiNetCF.Windows.Forms. I have created a TextBox class that is inherited from System.Windows.Forms.TextBox, which works perfectly. I have added additional properties to this textbox. From here, I have created another inherited textbox call Bran...more >>

Iterating thru a Generic Dictionary
Posted by Charles Jenkins at 8/24/2006 12:26:21 PM
What is the right way to iterate through elements stored in a System.Collections.Generic.Dictionary? I have these aliases: namespace Ui { using KeyDefinitionList = System.Collections.Generic.Dictionary<string, KeyDefinition>; using KeyDefinitionListEntry = System.Collections.Gener...more >>

device provisioning management system
Posted by handheldmaster at 8/24/2006 12:07:42 PM
Need to manage pocket pcs (windows mobile 2003) in the field ... how can one do this ? Need simple features like - capability to identify each unit uniquely - capability to do installsheild type installations a.k.a packages. - capability to do a kiosk type installation (full reinstall of ope...more >>

IOCTL_POWER_XXX method calls
Posted by Mario at 8/24/2006 12:03:51 PM
Hi, I am trying to call IOCTL_POWER_GET and IOCTL_POWER_CAPABILITIES methods through P/Invoke. Both methods have one of the input parameters as POWER_RELATIONSHIP structure. How or where can I find what are the values of these members? Thanks. Regards, mario ...more >>

Unmanaged dll debugging
Posted by at at 8/24/2006 10:56:36 AM
Hi, THere seems to be a contradiction in the following posts http://www.opennetcf.org/Articles/pinvoke-debugging/pidebug.asp This article mentions you need to use a launcher app because it is not = possible to use the VS2003 app "but even eVC would not let you to specify a managed applic...more >>

How to set WS_EX_NOANIMATION equivalent Window Style?
Posted by rucky at 8/24/2006 8:47:37 AM
I have a form that dynamically changes from full screen to windowed mode, and want to remove the exploding/imploding animation that is the default behavior. Anyone know the equivalent implementation of WS_EX_NOANIMATION in .NET CF? Thanks. ...more >>

Install directory issue with NSIS
Posted by anon NO[at]SPAM yahoo.com at 8/24/2006 8:24:19 AM
So far, the NSIS product is fantastic compared to the VS 'solution' for installing an app. I actually got the install to work, and a mutiple-CAB installation at that, with the core CF cab, SqlCE cab, and OpenNETCF cab. But I have 2 issues : 1) The program is being installed to the wrong dir...more >>

Help App ending
Posted by darren at 8/24/2006 6:49:03 AM
i have a for that loads data into ram as my application starting form, but when i open another form and close the loading form my application ends why? how can i transfer application control over to the new form...more >>

Backup PIM.VOL
Posted by Azzi Stefano at 8/24/2006 1:31:02 AM
Hi, in my application i need to create a backup of pim.vol but i have a problem with "Appointemens Database". for all database in pim.vol i don't have problem, i open original Pim.vol and create a new Pim_Backup.vol so i open all database in Pim.vol with CeOpenDatabaseInSession, get all inf...more >>

unable to exit from my application
Posted by Hari at 8/23/2006 11:57:29 PM
Hi, my application contains an "Exit" menu item, when clicked should exit from my application. Initially i used Application.Exit(). But that was hanging the application and the application was not responding. Even the form was not closing. Later i tried it with this.Close(). It was closing...more >>

Auto image capture from camera?
Posted by Sondre Bjellås at 8/23/2006 4:37:18 PM
Is there a way to automatically capture images from the camera? Using the built in CameraCaptureDialog the user has to interact with the mobile, but I'm building an application that will auto-capture a image every 30 second. I'd like to do this in C#, I guess with p/invoke calls it might b...more >>

Catching scroll event for datagrid
Posted by jamie at 8/23/2006 9:10:46 AM
I notice that there is no scroll event for a datagrid in the compactframework. How can I figure out that a scroll has taken place? The issue I have is I have a floating textbox overtop of the datagrid column that I need to reposition and change it's text value to match the selected column...more >>

Shell CE 4.2
Posted by intelinside at 8/23/2006 12:26:51 AM
Hi to all, in a Windows System the system shell is EXPLORER.EXE and in registry is a key that's run it on a system startup. In a CE 4.2 device is present this key ? Can i swap desktop shell with a my own program ? Thanx in advance ...more >>

The device security configuration disallowed the connection
Posted by Sondre Bjellås at 8/22/2006 6:02:32 PM
Yesterday I received my new HTC MTeoR SmartPhone that runs Windows Mobile 5.0. I have installed Windows Mobile 5.0 SmartPhone SDK and Visual Studio 2005 Team Suite on my Tablet PC. I also installed the SP1 Patch. Trying to deploy (debug) my application on the device I get the following e...more >>

Vibrate On/Off
Posted by Roger Odermatt at 8/22/2006 4:29:02 PM
Hello How can switch on/off the vibrate function with the Compact Framework? regards Roger ...more >>

IOCTL_POWER values and CTL_CODE macro
Posted by Mario at 8/22/2006 3:37:18 PM
Hi, I am using P/Invoke to call a method that takes IOCTL_POWER_XXX codes as an input. The values that I need to get are defined by the macro CTL_CODE as follow: #define IOCTL_POWER_CAPABILITIES CTL_CODE(FILE_DEVICE_POWER, 0x400, METHOD_BUFFERED, FILE_ANY_ACCESS) #define IOCTL_POWER_GET...more >>

Datagrid Combobox?
Posted by Some Guiy at 8/22/2006 9:13:37 AM
Hi. I was just wondering if anyone might know of a way to embed a combobox for a field in a datagrid? Thanks for your time....more >>

When the app run a warning message shows
Posted by jorge.maganto NO[at]SPAM gmail.com at 8/22/2006 8:54:23 AM
Hi everybody I'm developing a app. in C# 2.0 for a PDA. When I debug if and deploy the app. to the pda and it try to start, the pda shows a warning message saying "The application is of a unsafe manufacturer and it could damage the device, do you want to continue?" (or something like that). H...more >>

Thread Logging
Posted by Dave Thorn at 8/22/2006 8:39:02 AM
Im not sure if this is possible, but does anyone know of a way to log to file, or anything for that matter, when threads in a CF app get suspended and restarted - i think i have a problem in my application with too many threads being started which causes two threads to be executing the same bi...more >>

CF2 Development tool support for .net 4.2
Posted by Han at 8/22/2006 6:50:01 AM
Which compiler supports .net 4.2 CF 2 applications? Is it possible to develop with VS 2003? Regards, ...more >>

Creating RAS Entry
Posted by Marc S at 8/22/2006 6:20:45 AM
I have code that creates a RAS entry that runs fine on PPC 2000, 2002 and 2003. I ran it on a WIndows Mobile 5.0 device and I received an error while calling RasSetEntryProperties() but when I clicked OK the dialup connection when through fine. The only other odd thing is that the entry is not d...more >>

Windows Forms Transitions
Posted by GB21 at 8/22/2006 4:41:19 AM
Hello Group, Long time Asp.net programmer developing my first windows CE application. I have a very basic question about windows forms applications. Naturally, my application includes multiple forms between which the user can navigate. Of course, as we get deeper into the application, ther...more >>

visual studio mobile 5 project types
Posted by adas at 8/22/2006 4:24:08 AM
Hi, I am developing an application for pocket pc. Recently I have converted my solution to VS 2005. I deploy my application both to 2003 pocket pc and mobile 5.0 pocket pc. My question is whether I need to change my projects to "Windows Mobile 5.0 Pocket PC" projects or not. What are the bene...more >>

Retrieve GPS coordinates...
Posted by Sam at 8/22/2006 1:04:18 AM
Hi, I need to create an Application that uses GPS coordinates. How can I retrieve coordinates?Does the code depends by the GPS hardware(NMEA,Bluetooth)? Ps. I'm using C#, Visual Studio 2005 and windows mobile 5. Thanks. ...more >>

form lose its focus..
Posted by tony at 8/22/2006 12:00:00 AM
Hi. my application lose its focus when im not using it (pressing keys..) *for several hours*. when i come back to the device after several hours, and press some key, THEN its lose the focus . (AGAIN : it's lose the focus WHEN im pressing the key). here is log : -----------------------...more >>

Running CF2.0 application using CF1.0 dlls
Posted by Peter Hartlén at 8/22/2006 12:00:00 AM
Is it possible for a CF2.0 application to reference and run CF1.0 dlls? I have a bunch of referenced projects (CF1.0) in my application, and would like to migrate my application to 2.0 and wonder if this can be done without migrating all the referenced projects first? Eventually I will ofc...more >>

How can i get the Type and Name of the device connected to Desktop
Posted by Priya at 8/22/2006 12:00:00 AM
Hi all, I want to know the device type( Pocket PC or Smartphone)and Name of the device which is connected to the desktop. Please give me some guidelines. Thanks supriya ...more >>


DevelopmentNow Blog