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 > july 2007

Filter by week: 1 2 3 4 5

Handling the back key doesn't work if the form has a LinkLabel (.NET CF)
Posted by spit.respectable NO[at]SPAM gmail.com at 7/31/2007 6:13:34 PM
I'm porting a Pocket PC app to SmartPhone. Certain forms within the app contain buttons -- these are not supported on SP so I've switch them to LinkLabels. They work fine, but the issue is that overriding the back button does not work on these forms. For handling the SP back button, my keypr...more >>

DockTop, ZOrder and TabIndex
Posted by Eu Man at 7/31/2007 3:17:49 PM
Hello there in my .NET Compact Framework 2.0 SP2 C# WM 5 Smartphone application, I've a form with some panels, all panels are Dock = Top and in any panel there is a TextBox. I need this layout because depending on some settings we hide or show some panels and in this way the panels are alw...more >>

onfly Installation for CF 2.0 Application
Posted by patilmmilind NO[at]SPAM gmail.com at 7/31/2007 3:50:45 AM
Dear all, I found lot of articles on creating Installation package for windows mobile app which uses CF 2.0. I am using c# and .Net 2005 for the development of Pocket PC application . I want to create installation package so that users will download the "setup.exe" from web on their Pocket PC...more >>

Battery life WinCE
Posted by Catalin Lungu at 7/31/2007 12:00:00 AM
Hi, How can I find the battery level on M3 (Mobile Compia) which runs WinCE 5.0? I'm working with VS2005 C#. Thanks, C. ...more >>

Drawing Text in OnPaint problem
Posted by vijay at 7/30/2007 7:46:23 PM
Hi I am trying to create a class which acts a Bordered label control. i have derived TextLabel class from forms.Control and i implemented OnPaint function. i am enclosing the code. I declared two variables in my form . Dim txtLabel As New TextLabel Dim txtLabel1 As New TextLa...more >>

Interrupt a thread
Posted by Hitesh Ashar at 7/30/2007 7:29:17 PM
I'm working with a CF project and I need to interrupt a thread. Thread.Interrupt() is not supported in CF. Would anyone know if there are any alternatives to do the same? TIA -- Hitesh Ashar hitesh (at) asharism (dot) com...more >>

MessageBox.Show and MessageBoxButtons.OK question
Posted by Minerva Jones at 7/30/2007 6:58:48 PM
If I specify most combinations of available buttons in MessageBox.Show, I get nice large and finger-friendly buttons underneath my message. If I just specify MessageBoxButtons.OK, then the OK button appears in the top right corner of the MessageBox in a decidedly un-finger-friendly fashion. Is...more >>

Hide cursor
Posted by JMB at 7/30/2007 6:02:39 PM
How I can to hide cursor while application is running. I tryed .hide() but turn showed when i push a button. Sorry my english Thank's ...more >>



Set System Time to Windows CE 5.0
Posted by sheeeng NO[at]SPAM gmail.com at 7/30/2007 5:38:20 PM
Hi all, How do I set system time from my .NET application that runs on Compact Framework 2.0 to Windows CE 5.0? Thanks in advance. ...more >>

Accessing SQL Server database via Activesync
Posted by Andy Baker at 7/30/2007 2:00:41 PM
We have an VB.NET 2003 application running on windows CE.NET devices that access an SQL Server 2000 database on a PC network. Usually, this is done via a WLAN card in each device, and each device logs into the network wirelessly, uploads and downloads data, then disconnects, which works well. ...more >>

Check if app is already running?
Posted by Dan at 7/30/2007 1:42:26 PM
Can anyone point me in the right direction to check if the application is already running for a .NET CF 2.0 application? Code for the regular .NET framework does not work because it uses process.GetCurrentProcess.MainWindowHandle which is not supported in the CF. Dan ...more >>

Garbage collector behavior
Posted by Vinz at 7/30/2007 9:14:01 AM
Hi, I've seen a strange behavior with a C# application on Windows CE 5.0. As you probably already know, in Windows CE 5.0 we only have 32 MB of memory. I create multiple instance of a really big object (1 MB of Data). My free virtual memory for the process after all these allocations is 12...more >>

Blank Screen
Posted by ykw at 7/30/2007 8:04:01 AM
I'm new to Windows CE and have begun developing an image file. After I setup the bootloader I put the NK.bin file on a compact flash card that I use as the hard drive for my computer. When I boot the computer the Windows CE startup screen comes up along with the progress bar. However, after...more >>

lock the barcode reader
Posted by stranigiorni at 7/30/2007 2:49:39 AM
hi, is there a way to switch programmatically the barcode reader off (and avoid the user to use it), without using own device sdk? i've tried using opennetcf led notification, but nothing... any suggestion? i want to avoid the user to read a barcode when a message box is displayed (otherwise ...more >>

Beginners question: get playstate of windows media player
Posted by nazneen84 at 7/30/2007 12:52:58 AM
I need to execute a certain code when a soundtrack stops playing on windows media player i m trying to avoid using Opennetcf libs is there any way i can do this? i have gone through the APIs but couldn't figure it out ...more >>

How to PInvoke the MAKEINTRESOURCE macro
Posted by dev15 at 7/30/2007 12:00:00 AM
Hi, I need to pass the result of the MAKEINTRESOURCE macro to the FindResource function whihc i have PInvoked in my VB.NET CF code. How do i do invoke MAKEINTRESOURCE in VB.NET CF code? ...more >>

determine thegprs connection....
Posted by Adam One at 7/29/2007 11:47:18 PM
Hi , in WM 5.0 or 6.0, how can i determine if gprs connection is established ? And, is there any way that i can decide the type of the connection ? Thanks Adam ...more >>

How to get accurate elapsed time ?
Posted by silverfox at 7/28/2007 6:48:46 PM
I was surprised to find that DateTime.Now.Ticks on my Pocket PC always returns a value like 633212192210000000. And about 4 seconds later the value returned is 633212192250000000. You always get seven zeros on the end, meaning that there are no significant digits past the seconds. I need at l...more >>

Setup.dll => too big, why?
Posted by James Hetfield at 7/28/2007 4:54:05 PM
Hello I'm new to C++. I am trying to create a setup.dll in VS 2005. The samples in the SDK didnt work for me: => removed the CAB-Project in it, then tried to build the DLL, I got: 1>------ Skipped Build: Project: SetupDLL ------ 1> ========== Build: 0 succeeded or up-to-date, 0 failed, 1...more >>

Porting from .NET Framework to .NET Compact Framework
Posted by Susumu at 7/27/2007 7:44:40 PM
I am attempting to port a C# library written under .NET Framework 3.0 to .NET Compact Framework 2.0, and am running into several issues where I am not sure how to proceed. As there are a number of classes that the library references that are not in the Compact Framework, I have been taking t...more >>

TcpClient dont work in CF1.1
Posted by Benjamin at 7/27/2007 5:08:35 AM
Hello, i got problems with the TcpClient in CF1.1 (WinCE 4.2) When i try to connect to a server i got immedently the exception "No such host is known". If i try the same code in Framework 1.1 (WinXP) or in Compact Framework 2.0 (WinCE 5.0) it works. code* client = New TcpClient(ServerNam...more >>

Display Two Lines of Text in Button.Text
Posted by sheeeng NO[at]SPAM gmail.com at 7/26/2007 11:19:29 PM
Hi all, Is there anyone know how to display two lines of text within the button.text? Thanks in advance. ...more >>

Cannot find dbnetlib.dll
Posted by Marco Minerva at 7/26/2007 3:45:34 PM
Hi all! I have a very strange problem with .NET Compact Framework 2.0 SP2. I have created a C# application that connects to a remote SQL Server database. If I try it in debug mode, everything works well. However, If I start the program directly from the device, when it should execute the Sq...more >>

Access SQL Server 2005 Everywhere/Mobile Edition data
Posted by Edward at 7/26/2007 3:42:00 AM
Hi In Visual Studio .NET 2003 you could use SqlCeDataReader to access SQL Server 2000 Mobile data. What is the equivalent of that in Visual Studio .NET 2005 and what class must I import to find it? I am using C#. Does anyone know of a good site that might also have info about .NET 2 ...more >>

How to stop the application from restoring?
Posted by Rithesh at 7/26/2007 12:00:00 AM
Hello, I have an application "ABC" which requires the user to enter a pin to login. This ABC application has multiple forms. The user can switch to an other application either by using the back button or the "call end" button - which is normal smartphone behavior. But then when he clicks on ...more >>

silently installation
Posted by aLiTaN at 7/25/2007 11:28:51 PM
while installing .cab files over windows ce 4.1. ,i block promt screens with "//noaskdest //noui //delete 0" commands. But i cant skip "confirm file replace" message while installing compactframework. How can i do? ...more >>

Win CE 5.0 Pro vs. Core
Posted by steveinbeloit via DotNetMonster.com at 7/25/2007 7:53:25 PM
Can anyone tell me the difference between these two, especially as it relates to vb .Net development? thanks, Steve -- VS 2005, VB .NET, SQL Server Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-compact-framework/200707/1 ...more >>

Idle state background application
Posted by Felix at 7/25/2007 6:12:14 PM
Hi, I'm writing a Pocket PC Phone application that polls a URL every minute. Problem is when the phone goes idle it goes into Idle (sleep) mode. The application keeps running but now it can no longer access the data connection. I know I can keep the phone running by reseting the idle timer, b...more >>

how to transfer files from the pc to pda w/o activesync
Posted by DanielGifford NO[at]SPAM gmail.com at 7/25/2007 4:52:27 PM
Hi- I'm trying to transfer files directly to a PDA via a Csharp program I'm writing. Does anyone know how to do this (I obviously can't use active sync). Ohh yes, I'm running Vista. -Thanks -Dan ...more >>

SetSystemTime() behaviour: Timezone jump
Posted by Marcel Ruff at 7/25/2007 4:37:51 PM
Hi, on my two PDAs I get the current UTC time from a server (for testing purposes the server runs 7 minutes too fast) and i'm setting it with SetSystemTime(). The time is correctly set on my PDAs (as displayed on the PDA desktop), (C#->Coredll.dll, Windows CE 5, CF 2) but: 1) On my Psion...more >>

ListChanged event not fired when appointment collection updated
Posted by None at 7/25/2007 4:02:41 PM
hi there, i am developing a calendar application using c# and cf2 sp1, and i got stuck when dealing with the ListChanged event of the appointmentcollection. i have a datagrid to populate the appointment items of the collection. the event is only fired when the collection is updated by my own ...more >>

Tap & hold on grid doesn't fire mousedown
Posted by Tim Frawley at 7/25/2007 1:05:58 PM
If I tap & hold on the grid the mousedown doesn't fire. The mouse down will fire if I tap and hold and move the stylus. I want Mousedown to fire when I tap and hold so that I can do hittest for context menu popup. Private Sub grdSpecies_MouseDown(ByVal sender As Object, _ ByVal e As Sys...more >>

FTP file from Handheld to FTP server wireless?
Posted by elena at 7/25/2007 11:04:04 AM
Hi, All I have developed software for Casio handheld(OS Windows CE 4.1) it has Bluetooth 1.1 install with FTP profile and LAP (LAN Access profile) and can use Wireless LAN Card, my IDE is VS .NET 2003, My goal is: I need FTP text file 384 bytes to a FTP Server wireless... example handheld...more >>

TimeSpan -Negative() ?
Posted by elena at 7/25/2007 6:34:04 AM
Hi, All How can check if timespan has negative value after subtraction? Thank you,...more >>

An error message cannot be displayed because an optional resource.
Posted by Rob S at 7/25/2007 2:56:02 AM
Hi there, Keep getting this error, i've installed the System_SR_ENU.cab file and it still isn't showing me the error message. Help. I'm running windows mobile 5.0 (british english), although changing it to US doesn't make any difference either. Any ideas?...more >>

Performance Issue With SQL Server Mobile
Posted by JDee at 7/25/2007 12:36:42 AM
Hello, I have a .Net CF application that uses SQL Server Mobile 3.0 on the backend. The problem is that when I run a query from the application that results in joining 4 tables and returning denormalized data, it takes too long to execute, around 4 to 5 seconds to return 10 rows. This is ...more >>

Can't show error messages on localized PDA
Posted by Ralfeus at 7/25/2007 12:00:00 AM
Hi, all I have a localized PDA (Czech one). The Message property of any exception thrown by system (not by myself) contains same text saying it's impossible to show error message because required assembly is not found. English PDAs show all error messages without any problem. Is it possible to ...more >>

Gprs Traffic Counter
Posted by Simone at 7/24/2007 5:54:30 PM
Hi all. I want to create a gprs traffic counter in c# for PPC 2003/WM 5. Anyone have an advice? Simon. ...more >>

Exceptions after upgrade to WM6
Posted by Boris Nienke at 7/24/2007 1:45:01 PM
I got a mail of a client that has upgraded his "O2 Trion"-Device from WM5 to WM6. The .NetCF-1 Application was running fine on WM5 but now gives exceptions when started. Exception is: MissingMethodException Der Typ 'System.Windows.Forms.FormBorderStyle' konnte nicht aus der Assembly 'Syste...more >>

Can't get form to go full screen over space at bottom of screen
Posted by Dan at 7/24/2007 1:06:08 PM
I;'ve tried various things and cannot get my form to display in the whole window in a Kisok/Full Screen mode. I tried following the advice on this page to no avail. http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/3bcaaff859f43bce/93325afb9...more >>

Transparent controls
Posted by Rticul8 at 7/24/2007 5:26:29 AM
hi All, I am developing using C#, .net CF2.0, WinCE5.0. Does anyone know a C# .NetCF2.0 equivalent I can use for the Graphics.CopyFromScreen method? I need to capture an area of my window in order to manilpulate the pixels.. thanks....more >>

Can't find PInvoke DLL - BUG?
Posted by Michal Rizek at 7/24/2007 4:46:02 AM
Hi, i have strange problem using PIvoke. When i call function from native library i get "Can't find PInvoke DLL" error sometimes. The .dll is located in the same directory as app. When i restart system, then it works fine. It seems to like that os can't see or access library file on so...more >>

coredll.dll ReadFile
Posted by Empi at 7/24/2007 12:00:00 AM
Hi, is [DllImport("coredll.dll", EntryPoint="ReadFile")] managed or not ? If not, how come I find no sample that relate to the byte[] array with marshal unmanaged to avoid memory buffer mismatch (none sequential memory area) ? Thanks. ...more >>

WtchDog
Posted by Empi at 7/24/2007 12:00:00 AM
What is the best way to add a watchdog that will detect software hangup and restart it? Thanks. ...more >>

WinCE6.0 COM+ & WebServiceHost support
Posted by Sunny at 7/23/2007 6:38:31 PM
Hello every body, We have an application runing on XP which consists of following...... 1) Web browser accessing the ASP application running on remote XP machine. 2) Web Service host developed using System.Web.Services.Webservice namespace running on local machine, this service serves the requ...more >>

Send beeps/tones to CE 4.2 scanner device
Posted by Dan at 7/23/2007 4:03:37 PM
How can I tell the windows mobile CE 4.2 device to raise a certain beep tone. Is this possible? When the user is scanning bar codes, they may not be looking at the screen for errors. I'd like to raise an "Error" tone so the user can audibly hear there was an input error and then look on to ...more >>

~ character does not invoke KeyPress event
Posted by Dan at 7/23/2007 3:39:55 PM
We use ~ as a post amble character for our mobile device scanners. I am trying to trap this event in the KeyPress event but pressing this key does not invoke this event on our CE emulator or on our CE 4.2 device itself. I can't trap it in the KeyDown or KeyUp events either because they just ...more >>

Date/Time format question
Posted by elena at 7/23/2007 12:34:06 PM
Hi, All I need to convert short time to long time and display it w/o seconds I don't want to use this -> FormatDateTime(dt, DateFormat.LongTime) it return seconds here is example: dt.ToString("MM/dd/yyyy HH:mm") it displays short time Is it possible to display long time w/o seconds dt.ToStrin...more >>

Control.Invoke in CF 1.0
Posted by hassanmushtaq at 7/23/2007 6:03:44 AM
hi i m using VS 2003 (C#) CF 1.0. i have a problem while accessing any control from any other thread. i see alot of examples from web but it rather always gives exceptions Argument exception. now my code didn't give any exception but it is not working as i code to. i have a form having a list...more >>

autorun from SD card - how to determine the original autorun directory
Posted by Buthrakaur at 7/23/2007 6:02:44 AM
Hello, I'm trying to develop an autorun application, which will perform some actions (copy files, install cabs, setup registry etc) described in XML file located in the same directory as the autorun.exe file. The problem is that I'm not able to get path the autorun application on storage card us...more >>


DevelopmentNow Blog