Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > april 2006

Filter by week: 1 2 3 4 5

How to send a Screen Click event message to WinCE through cpfrwk
Posted by yilong.lin NO[at]SPAM gmail.com at 4/30/2006 10:22:45 PM
Hi, I'm writting a application for record how long will the battery be consumed. I would like to send a screen click event every 30 seconds, but I don't have any clues to do this. does anyone could tell me how to send a creen touch event to wince? thanks your help or clues. sincerely,...more >>

Database for small application
Posted by Rudolf Ziegaus at 4/30/2006 6:54:24 PM
Hi, to get started with .NET and the compact framework I'd like to write a small application for my private use - a vocabulary trainer to support my spanish classes. I'd like to e able to use it on my PC and on my PDA, so the data should be exchangable. What would be the best way to store t...more >>

Dispose
Posted by Hilton at 4/30/2006 6:14:11 PM
Hi, Using the standard CF 1.x System.* libraries, which objects do we specifically need to Dispose() after doing a "new"? Or more generically, as C# engineers, we tend to leave memory management to the GC. However, when do we have to be explicit about things and which object require this?...more >>

dotfuscator and HI_RES_AWARE
Posted by _dtaylorus at 4/30/2006 12:25:02 AM
I cannot get dotfuscator to work with the HI_RES_AWARE resource and a .NET CF 1.0 app. If I use res2exe to add the resource before running dotfuscator, I get the nice error "ilasm returned 1" from dotfuscator. If I use res2exe to add the resource to the obfuscated assembly, it appears to...more >>

Damn MSDN!
Posted by Peter Morris [Droopy eyes software] at 4/30/2006 12:00:00 AM
http://msdn2.microsoft.com/en-us/library/sk6k8h17.aspx Now that clearly says that WeakReference(object, bool) is supported on CF2 doesn't it? So I've changed my code to give my objects a minimum life time, and guess what? new WeakReference(this, true); throws a NotImplementedException! ...more >>

WeakReference
Posted by Peter Morris [Droopy eyes software] at 4/29/2006 6:33:28 PM
Hi all Is there any way I can get a notification of when a weak reference is about to die so that I can decide to keep hold of it for a bit longer? My scenario is that my framework loads in Stock objects on demand and then caches them using a WeakReference. These Stock instances are used ...more >>

SQL Mobile Resource Dll
Posted by Mark Dykun at 4/29/2006 10:23:46 AM
With Version 2.0 of SQL CE there was a seperate DLL that could be installed, providing the verbose error messages for the engine. I cannot seem to find the same thing for SQL Mobile 3.0. When we first execute a query through it an first chance exception is thrown and when I get the stack trace...more >>

Form not closing
Posted by chook.harel NO[at]SPAM gmail.com at 4/29/2006 2:04:50 AM
I have a cf2005 program i'm debugging on PPC2003, when I close the form, it doesn't close the program even when I added private void frmWelcomeScreen_Closed(object sender, EventArgs e) { Application.Exit(); } private void frmWelcomeScreen_Closin...more >>



Get rid of full framework assemblies in device projects
Posted by adas at 4/29/2006 12:11:03 AM
Hi, I had the same problem with the deploying time as described in the following thread : http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/b2e87c3d723b4079/48b78c122bae3c3c The problem is that i can not find the desktop assemblies in my...more >>

web service and sending binary files
Posted by tony at 4/29/2006 12:00:00 AM
hi. what is the best way, for sending binary files (images,text,etc) , from the smart device to a web service ? im using net cf 1.1 and win.ce net thanks in advance. ...more >>

WM2005 Phone Emulators...
Posted by farseer at 4/28/2006 10:46:45 PM
Hi, I'm looking for an emulator fo WM2005 that conists of a PDA Phone with a slide out keyboard. Any one know where i can download one from? I don't think VS2005 comes with such an emulator...or does it? ...more >>

Sending Mail via Outbox
Posted by Marcantonio at 4/28/2006 7:42:39 PM
hi, what is the best way to send mail (by populating the outbox folder of an existing mail account, NOT using SMTP) in CF, vb.net/c# ? Marcantonio...more >>

BarCode reader and CE framework
Posted by Skandy at 4/28/2006 6:53:33 PM
Hello All: We are planning to sit for a design of a Windows Mobile development project. The solution should be able to read barcodes and broadcast information over a wireless network. I 'm absolutely clueless on this, as I have never been involved with Mobile dev or Barcode scanning. Any po...more >>

Multiform multi-process
Posted by hakan aktan at 4/28/2006 6:16:14 PM
Hi all, I have 2 wince forms and fisrst form causes second to launh.While some process is running on first I need second form to have a hard process too. I tried thread, timer and while , they did not work. The forms are being locked after a few seconds.Is there another way ,i need anything...more >>

Number of assemblies
Posted by Thore Berntsen at 4/28/2006 5:25:58 PM
When I develop a .NET CF soulution I often end up with a rather large number of assemblies, up 10 - 15. I try to put releated functionallity in one DLL. I'm not sure if this is a good practice on a .NET CF soultion? Should it try to limit the number of assemblies. Any comments? Thore ...more >>

OutOfMemory exception
Posted by Bruce at 4/28/2006 11:22:54 AM
I am making a simple application that displays a single bitmap image in a picturebox. I am using the Windows Mobile SDK and my application works fine on the emulator, but on the phone I am getting an OutOfMemory Exception whenever I call new Bitmap(filepath). This happens the first time an i...more >>

OpenNETCF EventWaitHandle.WaitAny()
Posted by AgilentCoder at 4/28/2006 10:38:32 AM
Hello All, I have a windows CE 5.0 project and I am using OpenNETCF 2.0 Beta. I create a 2 thread app that tries to block one thread until an event comes in. I am waiting on that event using OpenNETCF.EventWaitHandle.WaitAny(MyListOfEvents); I expected this thing to block until one of t...more >>

Context menu in a dataGrid view
Posted by cu_blenge at 4/28/2006 9:22:02 AM
Hi all. I have added a ContextMenu to my DataGrid to allow the user to add and remove rows in the DataGrid. When they want to remove a row, I would like the row selected before the ContextMenu pops up. Right now, I cannot trap the MouseUp or MouseDown events when the user performs the cli...more >>

Deploying .NET CF 2.0 with applications
Posted by dermite at 4/28/2006 8:11:01 AM
Folks, I have an application which is dependent on version 2 of the CF, and I'd like my installer to deploy the CF along with the application. I have a general idea of what is required, but the only documentation from Microsoft (http://msdn.microsoft.com/library/default.asp?url=/library/en-...more >>

How to modify a CAB file?
Posted by chris-s NO[at]SPAM mailcity.com at 4/28/2006 7:09:45 AM
Hi folks, I have a CAB file in which I want to (a) replace one of the files (b) include a couple of extra files to be installed, however, I do not have the source project for the CAB file, just the resultant CAB. Any tips on how to approach this or tools to explode/modify a CAB file greatly...more >>

redistribitung .net compact framework
Posted by akos at 4/28/2006 7:07:01 AM
Hi, I would like to redistribute one cab file from CF installer with my application. Is that a legal way? I'd rather not to install the whole CF, because it would be installed from the internet for a pocket PC and it needs to be small. Where can I find documents about redistributing CF? Art...more >>

Parmas from form to form
Posted by chook.harel NO[at]SPAM gmail.com at 4/28/2006 5:44:34 AM
Maybe its not suppose to be in this group, but i'm programming CF, so maybe it is :) I'm trying to find out a good way of transfering data from one form to the next one and how is the change in forms occurs... I tried frmSales frmSales = new frmSales(); frmSales.Acti...more >>

How to implement ftp raw Comman -- "LIST"
Posted by Murthy at 4/28/2006 5:11:01 AM
Hi, I want to get the names of all the files in a directory on FTP. I tried sending the LIST commant just like the other commands but it is returning me the following error. "425 Can't open data connection." Can any one tell me how i can get the name of all the files in a directory for a...more >>

Controling Remote Desktop Program
Posted by Gandalf at 4/28/2006 3:35:01 AM
Hi, I'm working under Windows CE .NET 4.21 and wants to find a solution to launch automatically the "remote desktop" program. For example, creating a C# application which launchs the "remote desktop" program. So I wants to know the name of the executable "remote desktop" under Windows CE ...more >>

Which operation is more effective,Fill DataSet or SqlCeDataReader
Posted by Peter King at 4/28/2006 2:25:57 AM
Hi All, Because of the limit of the CPU speed and memory space,I want to use a effective operation to read the recordset.And there are two way for implement this ,using a SqlCeDataAdapter::Fill the DataSet and using SqlCeDataReader . Which one is better? Thanks. Peter ...more >>

NETCF 2.0 SP1, help !
Posted by merco at 4/28/2006 1:35:28 AM
at last http://blogs.msdn.com/netcfteam/archive/2006/04/21/580901.aspx is available for download. I have some win ce net 4.2 devices to test it. The download has 2 different files: NETCFSetupv2.msp (patch for vs2005) NETCFSetupv2.msi (for device) 1) If i install NETCFSetupv2.msp then i can'...more >>

keyboard hook
Posted by farseer at 4/27/2006 9:17:32 PM
i have been attempting to use Alex's code at this page: http://blog.opennetcf.org/ayakhnin/CommentView.aspx?guid=84b95802-76d7-499c-b266-e2251ab15706 What i am finding however, is that if i press a key, that key is repeatedly outputted, almost as if i am pressing the key down and never relea...more >>

Build cab file with .NET 2.0 runtime
Posted by farseer at 4/27/2006 4:46:19 PM
Hi, I have two questions on using Visual Studio: -How can i build setup or cab file for my CF.Net 2.0 project using VS2005? is there an option build as a cab file for instance? -If the above is possible, can that cab file also include the .NET 2.0 runtime? I ask because i understand that th...more >>

Problem with RebindAdapter() in OpenNETCF.Net.Adapter
Posted by Dirk Behrendt at 4/27/2006 4:43:32 PM
Hello! I have a problem with the OpenNETCF.Net.Adapter class. After a successful connection with finding the right WLAN-Adapter and assigning the network settings I call the method RebindAdapter() of the OpenNETCF.Net.Adapter class. RebindAdapter(): - I get a valid pointe...more >>

Training - Compact Framework - Windows Mobile 5.0
Posted by Gregg at 4/27/2006 1:37:02 PM
Hi Folks - Noob to group, but am trying to figure out where the embedded group and Microsoft learning is headed in the area of training for the new 5.0 platform. I've delivered 3 custom courses to customers with large deployments of this platform, but as yet, have seen no indications for a co...more >>

How to toggle between two Apps?
Posted by elena at 4/27/2006 12:58:02 PM
Hi, All How to toggle between two .exe? Main.exe is launching Child.exe with CreateProcess() API, I need to run constantly both Apps and toggle between them. TaskBar is disabled, the Main.exe is running full screen, Please, any ideas Thank you...more >>

Any way to disable activesync while program is running
Posted by ataha at 4/27/2006 12:56:31 PM
Ive got a program running in Kiosk mode, and we are not supplying our customers with cradles. However, one of them could buy a cradle, place the PDA in it and start pulling program or data files off the PDA or changing files on the PDA which is not good. Is there any way to disable ActiveSync ...more >>

Removing duplicates from a listbox
Posted by Noble Bell at 4/27/2006 10:16:02 AM
Hello, Is there a quick and easy way to take a listbox of elements and search and remove any duplicates before displaying the listbox to the user? ------------------------------------------ Noble D. Bell AgForest Partners, Inc. ...more >>

VB.Net Create a new thread
Posted by Ron Weiner at 4/27/2006 10:02:15 AM
I would like to start a print job running on its own thread in order to give control back to the user as soon as possible. I have created a sub PrintOneRecord(intRecordID) that does the deed. I thought I could start the print job running on its own thread by coding something like this: Dim M...more >>

Form.Hide() and Form.Show()
Posted by johnathan.miles NO[at]SPAM gmail.com at 4/27/2006 6:19:55 AM
Hi all, I'm trying to optimise an existing mobile application, written in C#. One thing I would like to do is have each of the forms in the application loaded only once, because the initialisecomponent() call takes too long. Originally the code read something like this: <in the MainMenu ...more >>

VB2005 Serial Port Loosing Memory When Receiving Data
Posted by p-metcalfe NO[at]SPAM btconnect.com at 4/27/2006 2:24:02 AM
I'm having serious problems using the serial port with VB / VS2005. I'm running CF2.0 on this little board ... http://www.fs-net.de/Home_Eng/Products/NetDCU/NetDCU8/netdcu8.html It works fine, in that I can send and receive bytes, but I slowly loose program memory WHEN there's data being rec...more >>

skin for Emulator
Posted by Magic Gooddy at 4/27/2006 12:00:00 AM
How to create a new skin for PocketPC Emulator in VS 2005?...more >>

WM2005 and .NET Version error
Posted by farseer at 4/26/2006 11:05:29 PM
Hi, I had an app that was previously created for WM 2003. I recompiled this after changing the target platform to "Windows Mobile 5.0 Pocket PC SDK". However, when i now copy this over to a WM 2005 device and attempt to run, i am seeing the error " This application requires a newer version o...more >>

How to read and write serial port using C#
Posted by Peter King at 4/26/2006 6:09:39 PM
Hello,All: How to read and write serial port using C# ? Many Thanks Peter ...more >>

CF2.0SP1 What CAB files to deploy for SQLCE on WinCE4.2 ?
Posted by MS at 4/26/2006 5:11:07 PM
I've dwnloaded the beta SP1 of CF2.0 and I'm trying to port my application to WinCE4.2. Currently I get "p/invoke" exceptions when calling SqlCeConnection.Open. So which cab file should I deploy on the device to install Sql ServerCE on a WinCE4.2 device? Can we expect designer support for Win...more >>

transcriber
Posted by PERSO at 4/26/2006 4:42:12 PM
Hello, Where can we find a transcriber for Windows ce.net 5.0? This program isn't installed by default and the 1.51 version of Microsoft Transcriber.exe doesn't work. Best regards. ...more >>

NETcf 2.0 SP1 Installation
Posted by mobilemobile at 4/26/2006 3:20:02 PM
I uninstalled the current NETcf 2.0, then installed NETcf 2.0 SP1 using NETCFSetupv2.msi. Then I tried to bring up the CustomDataGridSample (From http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx). I get the error "The designer could not be shown for this file because none of th...more >>

How catching a barcode device !!
Posted by tiziano fabbri at 4/26/2006 12:20:02 PM
Hi , I'm finishing a new project and a new request is to catch a Ps2, simulated keyboard, barcode device. My application is a console application without forms or others kind of user interface. Also I have a serial communication in a thread with a several priority, a ftp server always in li...more >>

DeviceWake and app in Background
Posted by info NO[at]SPAM it-design.biz at 4/26/2006 11:42:00 AM
Hi I use the DeviceWake event of the DeviceManagemnt of the OpenNETCF Framework. When I tun off my PPC and an other application then mine is on top I got an Object diposed exception when I ton the PPC back on again. The complete message is " ObjectDisposedException at System.Windows.Form...more >>

Loading Bitmaps Efficiently
Posted by Nathan at 4/26/2006 10:52:26 AM
The bottleneck for a CF 2.0 application is constructing a Bitmap object from a MemoryStream formed from a buffer of bytes. It is about 40 milliseconds to load a jpeg from about 17k bytes. More than the time it takes to render to another Bitmap. Can this be done more efficiently? CF 1.0, O...more >>

Which language I should use?
Posted by chook.harel NO[at]SPAM gmail.com at 4/26/2006 10:07:08 AM
Hey there, from your experience, Is there any different between using C# or VB.NET? I want to use C# for my mobile program because i'm more fond of it... What do you recommand... ...more >>

Substraction should be zero but it isn't!
Posted by DirkS at 4/26/2006 7:25:25 AM
Hello all, Performing the following substraction on my Psion Workabout pro, which should be zero, I get a very small negative value! 110.10 - 60.10 - 49.99 - 0.01 = 0 (This is what it's supposed to be) At first the result seemed 0, but when I multiplied it with 10.000.000.000 I got -9.09515...more >>

MessagingCE / MSMQ
Posted by MDB at 4/26/2006 7:22:13 AM
Hello, can anyone show me some links or examples on how to use a MSMQ? I have been playing around with the TestP2PQueue example I found on microsofts web site (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/point2point_message_queues.asp) however can not fi...more >>

Customize Pocket PC MSI -> write data to xml
Posted by andreasviklund NO[at]SPAM gmail.com at 4/26/2006 6:35:22 AM
I am developing a WM 5.0 application using Visual Studio 2005. When the application should be installed on the PDA I want to use a MSI-file with a wizard. In the wizard I want the user to enter his/her username, address, password, and so on, and I then want the application to be installed on t...more >>

"Simulate"/Invoke Click event
Posted by minimega at 4/26/2006 5:16:40 AM
Hello to all NG, I've a class that manage the OpenNETCF.ButtonEx control. I add the control to myForm, then via code I use myClass.Add(buttonEx) and my class manage all the graphics layout, color, mouseover/mouseexit events and so on. In myForm I subscribe the .Click event to get events from th...more >>


DevelopmentNow Blog