Groups | Blog | Home


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 > june 2008

Filter by week: 1 2 3 4 5

OpenNETCF Webbrowser or visualize a html-file
Posted by Wolfgang Maier at 6/23/2008 3:23:20 PM
Hi, I have to show a html-file without other navigation on WinCE 4.2 and .Net 1.1 I try to use the Web-Browser from OpenNETCF V 1.4 But I don't understand to handle this part and I have'nt found any help about V 1.4 I only want to open a form with 'frm.ShowDialog()' and show the htm...more >>

Problem with the Soft Input Panel (SIP)
Posted by Manfred Denzer at 6/23/2008 5:27:04 AM
Hello, I have a problem with the "Soft Input Panel" (SIP). Please have a look at this screenshot of my application: http://img517.imageshack.us/img517/668/sipproblemzu9.png I have an own button to show the SIP. But if a click on this button, a second default button appears. Is it possible t...more >>

Restarting message loop with new form after exception
Posted by Scott Gifford at 6/22/2008 6:21:28 PM
Hello, In my Main() method in Program.cs, I have an exception handler around my Application.Run(). If I catch an exception, I would like to bring up a dialog box asking the user if they would like to send an error report. In my first attempt, I created the form for the dialog box, then tri...more >>

how to wait for data from the serial port
Posted by gol at 6/22/2008 9:53:01 AM
Hi, I'm developing in c# .NetCF 2.0. I have two operations that need to come one after another(in fact there are more than two but the basic idea is the same). However, before starting the second, I must read and process the data from the serial port(which is generated as a result of the first...more >>

Controlling GPIO using Compact Framework c# under Wince 5 on qq244
Posted by selmaguzel at 6/21/2008 5:25:00 AM
Hi, The subject explains what i want to do simply. How can i access GPIO using compact framework?And is it necessary to have gpio driver for this sbc(arm9 based qq2440)? Thanks in advance....more >>

Threads help
Posted by Armando Rocha at 6/20/2008 4:44:39 PM
Hi, I want a know if is possible launch a separeted thread that run with a interval of time like a Timer object (Timer.Tick). my goal is put to buttons (Start and Stop), when user click Start i want launch a thread that do something with a interval of 30 seconds at least, but user can wo...more >>

Create Installation Package for VB2008 Project
Posted by Lou Civitella at 6/20/2008 2:33:21 PM
I recently created a Windows Mobile application using Visual Basic. Net 2008. I also created a Deployment Project and am now ready to create the cab files and distribute it. The application uses SQL CE and requires the Compact Framework to be installed on the Mobile device. I have all the cab ...more >>

Help with custom 'clickable label' control
Posted by chris-s@mailcity.com at 6/20/2008 4:18:34 AM
I've created a basic clickable label derived from System.Windows.Forms.Control which works fine, BUT, I want to use it in a situation where it will be 'scrolled' around the screen and this is where it goes wrong, the 'OnPaint' event is not doing the background so it ends up being 'smeared' rathe...more >>



MouseDown event not firing after ContextMenu closing
Posted by mind_the_gap at 6/20/2008 1:53:04 AM
Hi, I have the (reproducible) problem that no MouseDown event is firing if I close a contextmenu by clicking besides it. I have a panel in which I do custom drawings, on some places there pops a contextmenu up and offers some options. If one clicks not on the menu, but somewhere else in die ...more >>

Window Mobile 6(.NET) Remote Deletion & Detect Sim Card
Posted by I0ri at 6/19/2008 7:38:01 PM
Hi. I need the source code(with explanation if possible) or any other information/codes related for the remote deletion and detect sim card function for Window Mobile 6 (Programming Language: .NET). Below is the use case description of the 3 function for more info. Need Help ASAP. Thanks. ...more >>

INFORMATION_SCHEMA.Tables DATE_CREATED
Posted by Jerod Houghtelling at 6/19/2008 12:46:05 PM
Does anybody know if an RDA pull should update the DATE_CREATED column of the INFORMATION_SCHEMA.Tables table for an SQL Compact Edition 3.1 database? In my tests the only columns that seem to be set are TABLE_NAME and TABLE_TYPE. Could somebody please verify that the DATE_CREATED is not set whe...more >>

EventWaitHandle & CeRunAppAtEvent
Posted by Micha³_Sakowicz at 6/19/2008 9:40:59 AM
Hey, I found that EventWaitHandle is now implemented in the .NET CF 3.5, but I can't find any managed method to create named events. Do I have to still use P/Invoke and CeRunAppAtEvent? Cheers Michal...more >>

How to check WCF support
Posted by saravana at 6/19/2008 5:28:01 AM
Hi, I have a CE5.0 and WM5.0 device. I just want to check whether my terminals support WCF( Windows Communication Foundation) or not. Is there any applications to check this support in our terminals? Or If not how i can add this support for my devices basically what are the components are re...more >>

Converting .lib to .dll
Posted by Andy Baker at 6/18/2008 11:01:48 AM
I have been given an SDK for a CF network card that consists of a .lib static library file and a .h C header file. I want to be able to use the functions in the library in my .NET code. As far as I can see, I have to convert the .lib file to a .dll file, and then use DllImport to P/Invoke the ...more >>

IOCTL_HAL_GET_DEVICEID not returning a unique ID :(
Posted by Paul at 6/18/2008 9:05:01 AM
I've been using a call to IOCTL_HAL_GET_DEVICEID in a VB.NET project to return the unique 2 part device ID of a PDA and it's been behaving fine on many different devices, however, we've recently got some iPAQ 214 PDAs in and all of a sudden the code is returning exactly the same ID for each iP...more >>

Calendar Application
Posted by kedar at 6/18/2008 3:54:45 AM
Hi, Currently I m developing calendar application. I would like to know the implementation algorithm for repeat event feature. Eg: Once I repeat the event every day and delete the repeated event on some specific days the that event should disappear for those specific days and for other days ...more >>

Marshal.StructureToPtr supported in compact framework?
Posted by Abhi at 6/17/2008 7:06:33 PM
Hi, I am repeatedly getting the NotSupportedException with Marshal.StructureToPtr and Marshal.PtrToStructure in compact framework. Could someone please clarify if they are supported on compact framework? I am using a WM6 professional T-Mobile phone in the VS 2005 environment. Below are the...more >>

Blackjack II GPS <75d58271-8df7-4084-bece-113d731463ee@8g2000hse.googlegroups.com>
Posted by Jeff G at 6/17/2008 5:25:47 PM
I have used the api, as promoted on the MSDN, but have not had any luck getting it to work with the Blackjack II. Though it does work fine with on all the emulators for WM6 Standard and Pro (combined with FakeGPS.cab). Any ideas? MoCaDo has no effect. Tip for the BJII: Accessing some cool real...more >>

Deploy CF to a device along with the application
Posted by Ole at 6/17/2008 4:42:24 PM
Hi, I have created an installer MSI for a Pocket PC device according to this: http://msdn.microsoft.com/en-us/library/aa446504.aspx But I would also like to be able to detect and if needed, install the correct/newest version of CF2 from my MSI. Does anyone have a decription on how to do tha...more >>

data binding with combobox
Posted by Diego at 6/17/2008 4:29:06 PM
that wrong with this code? namespace Consulta_Rodeos { public partial class cereal : Form { public cereal() { InitializeComponent(); } private void cereal_Load(object sender, EventArgs e) { //Creamos la cadena de conexion string pathDir = System.IO.Path.GetD...more >>

Which values are possible for PhoneSignalStrength?
Posted by juvi at 6/17/2008 4:50:01 AM
Hello, I cannot get the cellular emulator to get work. Which values are possible for PhoneSignalStrength ?? is it returned as string or is it an integer value? thx for any help juvi...more >>

DB Corruption
Posted by MDB at 6/16/2008 4:55:51 PM
Due to memory issues, I recently changed my application to open,close and dispose the db connection on the "fly" rather than using a shared connection. According to the article in the link below, this is recommended. Now that I have done this, A lot of my devices in the field are getting c...more >>

SQLCE db sync with Windows Mobile
Posted by Steve at 6/16/2008 2:45:42 PM
I am writing a sample app to learn Windows Mobile development. I have been able to get the app working in the emulator but now would like to sync the data so it does not get reset on the next deployment to the mobile device. So, does anyone know of a tutorial that explains how this is done? ...more >>

Replace characters outside of area with "..."
Posted by juvi at 6/16/2008 5:11:00 AM
Hello, I am drawing a string on a graphic. How can I replace a part of the string if it goes outside of the area with "..." (if the text is too long)? thx juvi...more >>

.NET CF / ActiveX / COM Confusion!
Posted by ToeKneeSee@googlemail.com at 6/16/2008 3:34:53 AM
Hi all, I'd be really grateful if anyone could help clear up a point of confusion reagrding the .NET Compact Framework, supported languages, and the use of COM & ActiveX controls. We have a PocketPC app, currently written in eMbedded Visual C++ 4.0, which depends heavily on a set of COM Dll...more >>

Vertical Sync
Posted by JoshVote at 6/15/2008 9:08:01 PM
Hi, Currently I am developing for Windows CE 5.0 using .NET CF 2.0. I have a custom control that displays a subset of a long (vertically) bitmap. The user is able to touch their stylus on this bitmap and drag up / down to visually drag the image up / down so they can explore the length of ...more >>

WCF DataContractSerializer
Posted by Sonic at 6/14/2008 12:39:16 PM
Hello, I've a .net application application already exposed via WCF using [ServiceContracts] and [OperationContracts] tags, and I need to consume its services using CF, but it seems to miss DataContractSerializer. Is it possible to "hardwire" XmlObjectSerializer with DataContractSerializer? Ho...more >>

Xml, Xpath and Xsl support in Compact framework?
Posted by barnum@bluezone.no at 6/14/2008 10:48:45 AM
Hi, am I right in assuming that .NET Compact Framework does support most of System.Xml, but not System.Xml.Xpath or System.Xml.Xsl? Is there any good _overview_ over what classes are supported in Compact Framework? Thanks!...more >>

Using WZCEnumInterfaces using interop in C#
Posted by Abhi at 6/13/2008 6:30:26 PM
Hi, I am trying to use the native WinCE API WZCEnumInterfaces using interop in C# .NET compact framework. I have to develop this without the OpenNetCF wrapper. But whenever I call the function, I get the exception "System.NotSupportedException". I looked at the help page for this exception a...more >>

Detect process running on PPC WM 5
Posted by Pato Orquiden at 6/13/2008 4:22:24 PM
My questions is, how can i detect from my desktop ( my device is attached by ActiveSync ) that any particular process is running ? Thanks in advance ...more >>

Read all SMS in inbox?
Posted by James Redclaff at 6/13/2008 12:58:17 PM
Hello I dont want to intercept the SMS message, but I want to read all SMS that I have in an inbox (for backup) How can I do that with .NET CF? Thanks ...more >>

ANN: MSDN Mobile & Embedded Developer chat
Posted by Neil Cowburn at 6/13/2008 11:23:53 AM
When: Thursday, June 19. 10am - 11am PST Add to Outlook: http://www.microsoft.com/communities/chats/vcs/08_0619_msdn_SDD.ics Please join experts from the Windows Mobile, Windows CE, SQL Server CE and .NET Compact Framework communities in a chat around application development for smart devi...more >>

Load/Instance Assembly/Class whose Constructor contains an enum value param
Posted by Benjamin Lukner at 6/13/2008 10:36:06 AM
Hi! I got a CE device that ships with a specific .Net dll. Our software shall run on every device but load a special class from that dll if it exists. Unfortunately one of the parameters is a public enum value. If I pass the corresponding int value I get an ArgumentException. I was not able...more >>

serial number
Posted by Felix González at 6/13/2008 10:25:51 AM
Hi It´s posible to read PDA serial number? thanks ...more >>

How to enumerate all the forms
Posted by brambilla@elsyst.it at 6/13/2008 6:24:36 AM
Hi to all I use windows CE embedded 6.0 R2 and i develop in VB.NET 2005. My device is an x86. In my application i need to enumerate all the forms (not only the forms opened). My.Forms is not a collection and i cant use it into for...each instruction... Thanks in advance, any suggestions/...more >>

Application's form collection
Posted by nazneen84 at 6/13/2008 3:02:34 AM
Hi, On a certain event, I need my application to behave in a certain way if it is in the foreground (any of its windows) and differently if it is isn't. the target platform is Windows Mobile 5.0 Smartphone SDK. hence i can't get my application's form collection using openforms and compar...more >>

Mixing C# and native code in the same DLL?
Posted by Norbert Unterberg at 6/12/2008 7:15:11 PM
I have successfully created a native PocketPC C++ DLL and a C# wrapper class to use the DLL from managed .NET code. It all works fine now. Now I wonder if there is any way to pack the two components together into one DLL file that can be used like a standard .NET assembly and can be reference...more >>

Datagrid Issues
Posted by Steven Clark at 6/12/2008 2:19:01 PM
I have an application in development on Windows Mobile 2003 using compact framework 3.5 and SQL CE 2008. I have suddenly developed an issue with the DataGrid component. The code I use creates a recordset using the SqlCeCommand and SqlCeResultSet objects to create the structure and bind to ...more >>

Installing CF app on a desktop or server
Posted by Michael Ray at 6/12/2008 12:18:38 PM
I'm new to both .Net and subsequently CF development. The app I'm creating will run on a Win CE 4.2 unit on forklifts to access a database to handle the orders for the plant. Screen resolution is 800x600 with Intel XScale processor. None of the emulators in VS 2008 or the Mobile 6 SDK (why i...more >>

Hiding an application.
Posted by TC at 6/12/2008 10:11:33 AM
Hi all. I have an app that I need to hide, it basically runs in the background and sends data to other apps. The working of the application is fine, but I need a way for user to 'hide' it so it doesn't show on screen. I also need a way for the user to quickly 're-activate' the application...more >>

C# event Handles
Posted by Nina at 6/12/2008 9:01:01 AM
I have the code in VB with Handles event that creates clickable labels on a form. I’m trying to write same code in C#. However it doesn’t work. Please help me to find a solution for event Handles in C#. VB Handles --------------------- Public Class clsLabel Inherits Control ...more >>

Graphics.DrawIcon Not Working
Posted by neemarr@gmail.com at 6/12/2008 1:24:01 AM
Im trying to create a custom control that has a background and a few icons drawn in it. The background draws but the icons don't. In my override OnPaint method I have: e.Graphics.FillRectangle(new SolidBrush(CustomColors.CarouselBG), this.ClientRectangle); for(int i...) { e.graphic...more >>

How to get RuntimeTypeHandle of a Type?
Posted by mind_the_gap at 6/12/2008 1:20:48 AM
Hi, I need to get the TypeHandle of Type since it is much more efficent to store and to reference types. The Type.GetTypeHandle method isn available but throws (like stated in MSDN) a NotSupportedException. But the Type RuntimeTypeHandle is there - have you any idea how to obtain a Type Handl...more >>

Emulator ID
Posted by Harry Simpson at 6/11/2008 2:49:01 PM
We have three developers hitting one server as far as syncing. We're giving out data based on the hardwareID of the device which is an emulator - welp we're all looking like the same device when we hit the server. How can I designate my device to be unique even though it's only an emulator? ...more >>

Scrolling a Panel in a Form
Posted by james_c at 6/11/2008 2:09:01 PM
Hi, I have a bunch of LabelFields on a Panel. The Panel's parent is a Form. The Panel has the AutoScroll property set to true, and when the app. is run, the vertical scrollbar is displayed. However, I am not able to scroll the Panel using the up/down keys of the DPAD. Anyone know how I ...more >>

CAB installation
Posted by Ganesha at 6/11/2008 9:58:00 AM
Hi, I want to install a .NET framework CAB file onto the handheld device - CASIO IT600. I was using wceload.exe with /noaskdest option and it was installing in windows folder by default. Now i want to specify the destination directory. i want to do a silent installation without any user ...more >>

Need dll to convert sdf to dbf
Posted by The Mad Ape at 6/11/2008 9:54:16 AM
Hi I have tables that I need to convert to dbf format from MS SQL Compact 2005 (sdf) format that reside on my desktop. I was hoping that I could embed the utility and call it from some code I put behind a button. Does anyone have anything like this or know where I can get it? Thanks The ...more >>

Installation problem (repost)
Posted by Leif Eirik Olsen at 6/11/2008 9:36:48 AM
Hi again, Yesterday I had a installation problem and thought I solved it, but I was wrong:) Everything was okey until I moved my dev enviroment to a new dev machine and did some minor changes to my app and rebuild the app and my installation. Case: VS2003 ver 7.1.6030 ..Net 1.0 (1.1?)...more >>

data doen't show in datagrid
Posted by Don at 6/11/2008 9:31:00 AM
Hi I have been trying to populate a data grid on a Windows CE 6.0 target with the following code: public void populateDataGrid() { dsMachineParameters = new DataSet("MachineParameters"); dsMachineParameters.EnforceConstraints = true; this.dataGrid1.DataSource = dsMachineParameters;...more >>

Any possible way?
Posted by TJ at 6/11/2008 8:44:00 AM
Hi, Environment : VS.NET 2005/CF 2.0 DataGrid control is used for Pocket PC application. Q: is there any way I can hide a row programatically in the datagrid? The thing I want to achive is to mark deleted row somehow. Well, I know that I can bind DataTable/DataView object into DataSourc...more >>


DevelopmentNow Blog