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
all groups > dotnet compact framework > may 2007

Filter by week: 1 2 3 4 5

Watch Registry for changes (RegNotifyChangeKeyValue)?
Posted by Benjamin Lukner at 5/31/2007 3:40:18 PM
Hi! I need to watch if data in a registry key changes. On Windows XP there is the function RegNotifyChangeKeyValue() that WinCE does not provide. What is the preferred way of doing so under CE? Regards, Benjamin Lukner...more >>


How do I find which function caused the fault
Posted by Ken Beauchesne at 5/31/2007 11:27:02 AM
I have the infamous 0xc0000005 or the 0x00000002 exception that comes up at address 0x02FC1768 I have traced it to NetcfagL1_0.dll which starts at 0x02FA0000 and has a size of 167936 what can I use to determine which function is being called this is a C# program tia Ken ...more >>

Need help fixing code that retrieves data from SQL CE Server database to populate textbox and combobox
Posted by Loogie at 5/31/2007 9:07:09 AM
Hello Using VB.Net 2005 compact framework and SQL CE Server I have code that is supposed to retrieve data from an SQL CE Server database and populate a textbox and a select a value in a combobox. I have verified that the code driving data to the tables works using Query Analyzer so the ...more >>

Access Right Problem
Posted by Lorenzo at 5/31/2007 12:48:45 AM
Hi, I renamed an audio file and I launched windows media player with CreateProcess API or with Process.Start method and with parameter the audio file , but when when media player finished and WaitForSingleObject return, i tried to rename that file audio with no success. Why? To rename the...more >>

Smart device, .NET and... Flash
Posted by Carlos Sosa Albert at 5/30/2007 5:27:21 PM
Hi guys, I have a Flash (SWF) application that is intended to work in Smart devices. Is there a way to embed/include/call this .SWF from within .NET, so I can run it as a full screen application? (.NET wold be working only as a kind of "wraper"). We used to work with MDM Zinc (http://www....more >>

DOWNLOAD CRACKED 2007's SOFTWARE: ARCHICAD 11,UNIGRAPHICS NX5,SOLIDWORKS 2008,XSTEEL 13,AUTOCAD 2008
Posted by William Eistenach at 5/30/2007 3:22:34 PM
Our team provide different types of services such as: - proffessional cracking of any kind of software (CAD,CAM,CAE,EDA,GIS,PCB,FEA,FEM,CNC,CFD,PDS,3D,Optics etc.) designed for any kind of operating systems(Windows 95/98/ME/2000/XP, Linux, FreeBSD, OS/2, MAC OS etc.) - producing keygens...more >>

C# read .hex file incorrectly on Chinese PDA
Posted by cgladd87 NO[at]SPAM adelphia.net at 5/30/2007 2:51:47 PM
I'm using a stream reader to read a hex file on the pda from a C# program that I am converting from VB.net. The problem is that on some of the lines, the hex is changed from its actual values. The same file reads in fine in the VB.net program and I have checked to the bytes in the file and ...more >>

Create a web service under compact framework
Posted by ajennings NO[at]SPAM gmail.com at 5/30/2007 12:24:03 PM
Hi, Can anybody provide any pointers to documentation as to how to create web services under Windows CE and the .NET Compact Framework? Thanks ...more >>



compact framework on regulat PC for hardcore .NET developers
Posted by David at 5/30/2007 8:36:01 AM
Hi question to comapct .NET gurus This may sound strange or even silly but anyway... Is it possible to create comapct .NET app which will run on regular PC machine (WIn XP pro +sp2) ? I'll explain : we have very weak PC machines Celeron 900 + 256MB RAM + no HD - only flash disk 1 GB + no page ...more >>

Need help copying listbox items to database table
Posted by Loogie at 5/30/2007 8:30:15 AM
I am using VB.Net 2005 Compact Framework with SQL CE Server. I am attempting to add the entire contents of a listbox to a SQL CE Server database but my code is throwing an error and I do not know how to fix it. Here is my code: 'Create product species table sqlCreateT...more >>

Keep WM5.0 device On
Posted by sync at 5/29/2007 10:37:01 PM
Hi all, Is there a way to keep WM5.0 device "on" overriding any settings to turn off the device when not in use? The reason for this is that I developing an application that keeps pulling data from GPS device connected via bluetooth. However, it gets interrupted due to "Turn off device ....more >>

OnPaintBackground not called on a form
Posted by neemarr NO[at]SPAM gmail.com at 5/29/2007 7:13:00 PM
On a smartphone (C#, Compact Framework 2 SP1) project and trying to add a background image to my form. So I do override the OnPaintBackground method and the method is never called. I tried to do an invalidate on the OnActivated event but...even if I add an event handler for the OnPaint event, th...more >>

sqlceDataAdapter : insertCommand and updateCommand
Posted by mauro at 5/29/2007 6:30:18 PM
hi , probably a simple question , but i don't know ho tobe over : i have a dataset filled by a dataadapter , until now i could insert rows OR change rows : for updating data to server , in the first case i do : daOrdiniRighe.InsertCommand.CommandText = "INSERT INTO [OrdiniDetailDetail]([...more >>

MS - PLEASE HELP (ListView, Back Key)
Posted by Hilton at 5/29/2007 8:39:20 AM
Hi, Your UI guidelines state that we need to treat the Back Key appropriately (on the SP). However, your ListView doesn't seem to behave correctly. Do you have any suggestions on how we can 'intercept' the Back Key when a ListView has the focus, then do something and set Handled=true? ...more >>

OpenNETCF WebBrowser - catching keys?
Posted by Hilton at 5/29/2007 8:36:50 AM
Hi, Is there any way to be notified on a key press using OpenNETCF's WebBrowser? i.e. if the user presses a key on the Smartphone. I'd like to be able to detect any key press, but at the moment the Back key is practically impossible to treat correctly. MS's ListView seems to gobble it up ...more >>

CF card GPRS Modem (pocket pc)
Posted by Sheikko at 5/29/2007 5:22:05 AM
I have a GSM/GPRS compact flash card inserted in my pocket pc. I have configured it with all connection settings because I want to use it to connect to the internet with a C# socket. I want to know how Ican wake up the modem and enable the connection and also how I can stop the connection. than...more >>

Reusing Embedded Images in the application
Posted by Murthy at 5/29/2007 4:49:01 AM
Hi, We have an windows mobile application in which we are using some images in around 20 forms. And these images are now included as part of the resource files in all these forms. Does this increase the size of my exe..... Will the compact framework take care of duplicate image while bui...more >>

How to close windows media player window ?
Posted by Lorenzo at 5/29/2007 3:15:54 AM
Hi, I have a main form that launch wmplayer application and play an audio file. I used Process.Start method to launch it. My problem is that when the file is totally played , i don't know how to close media player window programmatically? Does anyone know how to do it? Thanks in advance. ...more >>

help with parallel port
Posted by bule at 5/29/2007 2:19:01 AM
hi all i have this probem, question: i have an x86 industrial device with windows CE and NETcf2.0. this device has a parallel port and three serial port. using the serialports.getPortsName() method i can see the 3 serials but not the parallel port..but here the strange things if i call : ...more >>

Available COM Ports on Pocket PC (C#)
Posted by Khalid at 5/29/2007 1:53:22 AM
Hi all. There is any way to know what are COM ports available/active on Pocket PC throught C# Compact Framework? And if possible also the name of the card/program that use these ports. Thank you very much ...more >>

Invalid cast exception when adding values from SQL CE SERVER table to a lsitview - Why?
Posted by Loogie at 5/28/2007 10:12:17 PM
I am trying to add values to a listview but it keeps throwing an error saying System.InvalidCastException was unhandled Message="InvalidCastException" I am using VB.Net 2005 compact framework Here is my code and I put a message beside where the error is thrown Dim cmd As New System...more >>

SQL Server Mobile Edition does not support calls to HasRows property if the underlying cursor is not scrollable."
Posted by Loogie at 5/28/2007 8:31:01 PM
I am trying to write some code to see if a table of a certain name does not exist then it is to be created. However I am getting the following error message: system.InvalidOperationException was unhandled Message="SQL Server Mobile Edition does not support calls to HasRows property if...more >>

What does the 0 represent in .SelectedIndices(0)?
Posted by Loogie at 5/28/2007 6:29:45 PM
What does the 0 represent in SelectedIndices(0)with respect to a listview in VB.net 2005 Compact Framework? Thanks :L...more >>

Please help me fix my code to check for existence of table
Posted by Loogie at 5/28/2007 12:16:40 PM
I am using vb.net 2005 compact framework. Having a problem checking to see if a table exists. I want to create the table if it does not exist. If it does then no action. In my code below the word exists throws an error as it is not a member of System.Data.SQLServerCe.SQLCeCommand... So h...more >>

Capturing the Back Key
Posted by Hilton at 5/28/2007 11:31:50 AM
Hi, ListView lv; Neither this.lv.KeyDown or this.lv.KeyPress see the Back key. How do I get my code to 'see' it? FYI: KeyDown does see the Up and Down arrow keys. Thanks, Hilton ...more >>

What is up with - The Targeted Version of the .net Compact Framework does not support latebound overload resolution
Posted by Loogie at 5/28/2007 7:42:11 AM
I am trying to add contents of a table to a listview. I am using VB.Net 2005 compact framework. I can not add the subitems using code below. I get an error for each subitem as follows: The targeted version of the .net Compact Framework does not support latebound overload resolution Dim c...more >>

I can't connect a pocket pc emulator with a windows service
Posted by Cristobal at 5/27/2007 11:46:01 PM
Hi gays!! I've a problem, i'm trying to connect a simple web service to a pocket pc emulator. When i try to run my application i get the "Connetion failed exception". I've installed the activesync. My lan have a proxy for internet connections. Please i need help!!! (i'm using vs2005) Thank...more >>

How to implement a copy protection?
Posted by flik at 5/27/2007 12:00:00 AM
Hey, I think about a way to implement a copy protection for my app. The user is only allowed to install the app on 10 different devices.... I already read that the deviceID (-> GetDeviceID) is not really unique because two devices of one manufacturer might have the same ID... So is the...more >>

Error 120 calling MessageBeep?
Posted by Craig Setera at 5/25/2007 4:10:29 PM
I'm trying to call the MessageBeep function via P/Invoke from CF 1.0. I'm getting back a 120 (decimal) error from GetLastError when making the call and the FormatMessage call isn't giving me any more information. Does anyone know what that error message means? This is on top of the Smartpho...more >>

Drawing Rounded Rectangles?
Posted by Craig Setera at 5/25/2007 7:11:05 AM
What is the easiest way to draw rectangles with rounded corners in NetCF 1.0? It seems like the region support is minimal and doing rounded rectangles appears to be difficult. Thanks, Craig...more >>

CAB for PPC2003 with VB2005
Posted by stranigiorni at 5/25/2007 12:10:47 AM
sorry, i don't know if this topic has already been discussed (i couldn't find anything about) so... is it possible to create a CAB file for PPC2003 with VB2005? i developed a project in vb2005 telling it's for ppc2003 and the app run... but the cab i create gives me an error on installation "is ...more >>

Getting real resolution in CF1
Posted by James Caan at 5/24/2007 6:23:42 PM
Hello Is there any way to get the real resolution of a device in CF1? I mean if I run an app on a VGA-Device, I still can only get 320x240. The only thing I want is to know the resolution. I know there is a way to mark it as resolution aware, is there a way without it? Thanks James ...more >>

How to detect System Time Change in CompactFramework?
Posted by José Joye at 5/24/2007 3:41:32 PM
In my application (written for Compact Framework 2.0 ), I have to be informed whenever a system Time change occurs (NTP, daylight saving, ...). Under the normal framework, I'm able to use the "Microsoft.Win32.SystemEvents.TimeChanged" event. However, this is not available under CF. Any hel...more >>

Opennetcf DeleteSubKey "bug"?
Posted by James Caan at 5/24/2007 2:29:38 AM
Hello I have problem deleting a subkey which I've create some seconds before: Dim x As OpenNETCF.Win32.RegistryKey x = OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey("Software") x.CreateSubKey("Test") System.Threading.Thread.Sleep(10000) x.DeleteSu...more >>

Running a single instance of an app
Posted by VicToro at 5/24/2007 2:28:53 AM
Hi, I am running a background process (Console App) on a WM5 Pocket PC. I'd like to have just one instance of the process running at the same time. Something as giving the main method the property to be Static Thread or looking if the Process is unique. Since STAThread directive is not used...more >>

ADO.NET - Working with DataSet
Posted by Sheikko at 5/24/2007 12:41:54 AM
ADO.NET - Working with DataSet ========================= HI, I want to create an application that interact with a DB. I wont to use SQL statement, but I want to use DataSet. - I have created my application - From SERVER EXPLORER panel, I have added a connection to a database (MyDB) and the ...more >>

screen alignment problems (possibly software related) ??
Posted by Milsnips at 5/23/2007 12:49:35 PM
hi there, i've got a number of iMate JAMin devices all which are factory ROM installations that i use my application for. I've noticed some strange things regarding the screen alignment going off when the device goes to sleep, then i turn it on again, at times the right side of the device ...more >>

Disabling Incoming call Phone notification
Posted by Murthy at 5/23/2007 7:50:02 AM
Hi, I want to disable the Incoming Phone Call notification that comes at the bottom of an windows mobile 5.0 device. Can some one tell me how i can disable that notification? Thanks in Advance, Murthy...more >>

Re: Controls Focus
Posted by ariadna.sirianni NO[at]SPAM gmail.com at 5/23/2007 7:45:31 AM
Hi Peter. Thanks for your answer! I'm alredy doing what you say. But I have problems with the controls that are inside of other controls. For example, textboxs inside a panel or the cells inside a grid. To resolve that cases we thought about making a recursive function, but we don't want to d...more >>

Installing .Net compact on Windows CE 5.0 device
Posted by Michael5902 at 5/23/2007 6:18:02 AM
Hello I need to install microsoft dotNet compact on an HMI panel that runs windows CE 5.0. The panle doesn't support Active sync. Thanks for your help michael ...more >>

In C# Windows ce 6.0 How do I get my application to not be movable
Posted by Don at 5/23/2007 6:17:02 AM
Hi, I have a windows application in C# running on Windows CE 6.0. I don't want my application to be movable, resizeable or minimized. I just want it to be static on the screen. How do I do it? -- Don...more >>

Controls Focus
Posted by ariadna.sirianni NO[at]SPAM gmail.com at 5/23/2007 5:35:04 AM
Hi. I'm developing in C# for PPC devices. I found some code that works for WindowsForms. The code is the followin: DllImport("coredll.dll, EntryPoint=3D"GetFocus")] private extern static IntPtr GetFocus(); =B7=B7=B7 control.Focus(); IntPtr handle =3D GetFocus(); [C#] public class MyF...more >>

Fasr retreival of data from .sdf file using SQL CE
Posted by anujithsankar NO[at]SPAM gmail.com at 5/22/2007 11:10:12 PM
Hi, I am trying to develope a Pocket PC application using MS Visual Studio 2005 (C#)and the database is in the device (.sdf file). Am trying to retreive a single row from a table containing around 10000 rows. I would like to know the fastest method to retreive the values. whether it is...more >>

TimeZone conversion and utils on PPC
Posted by PB at 5/22/2007 8:52:01 AM
Hi We use PInvoke on "Kernel32.dll" to do some TimeZone conversion, Daylight savings helpers, etc on our desktop applications. I found out that there are no equivalent functions for these on PPC in "CoreDll.dll". Is there any implementation of any of the following functions on PPC? - Syst...more >>

Datagrid Header Font Style not bold?
Posted by Jo at 5/22/2007 6:16:11 AM
Hi: I m tryng to change the font style of a datagrid header so it is NOT bold . Any ideas? Thanks jo ...more >>

Split function behaviour...
Posted by Mobileboy36 at 5/22/2007 12:00:00 AM
Hi group, Look at this little piece of code: Dim test As String Dim Sepken As Char() = {Chr(13), Chr(10)} Dim message As String = "123" & vbCrLf & "456" Dim En As IEnumerator En = message.Split(Sepken).GetEnumerator While En.MoveNext ...more >>

GetWebResponse times out over HTTPS
Posted by uday at 5/21/2007 4:01:54 PM
Hi, I am using .Net CF 2.0. I have this following issue: When making a webservice call to upload more than 30KB worth of data over an HTTPS connection (TLSv1 SSL_RSA_WITH_RC4_128_MD5) I receive a WebException.Timeout exception. When sending less than 30KB of data using the same SSL connec...more >>

Hooks on uninstallation?
Posted by Craig Setera at 5/21/2007 3:49:50 PM
Our NETCF 1.0 application is being installed via CAB file over the air. We need to do some file system cleanup when the application is removed by the user. Is there any way to get hooks into the uninstall process so that we can do our cleanup? Thanks, Craig...more >>

Debugging against Windows Mobile 5 from Visual Studio 2005
Posted by Craig Setera at 5/21/2007 3:48:26 PM
Hello, I currently have a T-Mobile SDA and T-Mobile Dash (upgraded to WM 6.0) at my disposal for development and testing. In general, I keep the SDA connected via USB to my development computer most of the time. I've been using a combination of VS 2005 and VS Orcas for my development. We...more >>

how to Right Align the ListBox items ?
Posted by tony at 5/21/2007 2:18:38 PM
hi im searching alot for solution of : how to Right Align the ListBox items ? im using vs.net 2005, NCF 2.0 sp1. thanking in advance. ...more >>


DevelopmentNow Blog