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

Filter by week: 1 2 3 4 5

Vista / Visual Studio / and RNDIS
Posted by joker at 3/31/2007 9:17:14 AM
For those of you who are successfully using Visual Studio to develop CF applications for a Windows CE 5.0 platform (not PPC or Mobile), what/where do you get the Vista driver for the "Generic RNDIS" device? Thanks, Doug ...more >>

NetworkStream to Filestream problem
Posted by Anumolu at 3/31/2007 7:05:06 AM
Hi i am facing a variety problem, if i run the program with out debugging then i am not able to see the file which i wrote using filestream from the networkstream. But if i debug the program then the file is created and data is written successfully. Here is the output Waiting for a connection......more >>

VS2005, Debugging my CustomInstaller.dll
Posted by Neville Lang at 3/31/2007 12:00:00 AM
Hi all, First my setup: VS2005 on Windows Vista 64-bit, Windows Mobile 2003 on connected device, CustomInstaller.dll is written in C# in VS2005. Compact Framework (CF) app that has some x86 EXEs on the desktop side and some CF EXEs on the device side installed using CAB's and controlled by ...more >>

Script Control
Posted by VJ at 3/30/2007 2:38:51 PM
I want to use MSSCRIPT.OCX in my PocketPC apps.. Is this possible or is there another for this. I want to use the formula evaluator and calculator for this purpose VJ ...more >>

Com0 in the Comm ports of the Compact Framework
Posted by lmarksman NO[at]SPAM hotmail.com at 3/30/2007 1:07:03 PM
I am attempting to use Com0 with a serial port component in the C# Compact Framework. I'm just trying to broadcast Raw IR. But when I try to open the port I receive a message "The given port name is invalid. It may be a valid port but not a serial port.". I've installed the OpenNetCF dll that cr...more >>

hiding the "add/remove programs" icon
Posted by Milsnips at 3/30/2007 12:42:39 PM
hi there, is there anything that i can set in the registry (or otherwise) to hide this icon? thanks, Paul ...more >>

Programming for Pocket PC 2003 and Windows CE 4.2
Posted by isineiro NO[at]SPAM gmail.com at 3/30/2007 7:34:15 AM
Hi. I've developed an application for PocketPC (WM2003) with Visual Studio 2005. The type of the project in Visual Studio 2005 is Pocket PC 2003. Now I'm probing the application in a Windows CE 4.2 and the frames are different visually. The menus appears in the top, there isn't SIP (Soft ...more >>

Deployment Package
Posted by shawrie at 3/30/2007 1:47:54 AM
Hello everyone im looking for some help. I want to create a install package for my application that creates 3 folders on the target device no matter what i try it wont create my folders for me. Can anyone point me in the right direction? Shawrie ...more >>



about datagrid
Posted by sivam at 3/30/2007 1:39:35 AM
how to avoid right-clicking in datagrid when it is not required? ...more >>

Data Types
Posted by VJ at 3/29/2007 4:27:51 PM
Where can I find a table that will tell me the DataType and size limitations for the Compact Framework ? VJ ...more >>

Start a mobile application from the PC
Posted by jimmy at 3/29/2007 3:47:34 PM
Hello all, I would like to start an application on a Pocket PC 2003 device when, for example, the user presses a button in a .Net application running on the PC. Its fair if the device has to be cradled, but I'd also like ideas for when the device is not cradled. Any ideas? Thanks, jimm...more >>

locking down certain areas of windows mobile 5
Posted by Milsnips at 3/29/2007 12:47:21 PM
Hi there, ive got an application that is used by a few customers for mobile field sales. Because its a standard issue pda, its not locked down and the users always fidget around with everything and a number of times have "accidentally" pressed clear storage and reset the entire device, or h...more >>

Same problem: p/invoke of crypt32.dll
Posted by Javier at 3/29/2007 1:41:12 AM
Hello, I have the same error and I can't resolve it. Could you give me any more idea please? EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com...more >>

Different images for different resolutions?
Posted by Ole at 3/29/2007 12:00:00 AM
I have made a custom control (an image button). What is the "proper" way to have an image for each screen resolution? How do I detect which resoultion (DPI) the device display has during runtime, so that I can load the correct image and draw with the correct line thickness etc.? Thanks, Ol...more >>

Greyed Image?
Posted by Ole at 3/29/2007 12:00:00 AM
How to grey an image on a e.g. a custom button? Thanks, Ole ...more >>

Warm boot
Posted by Ivo at 3/29/2007 12:00:00 AM
Is it possible to Warm boot a device with a windows CE 4.2 .net program ?...more >>

Wireless network selection
Posted by Peter Huish at 3/28/2007 1:35:39 PM
Is it possible to configure a WM2005 device (in this case an IPAQ 1950) to only connect to a specific wireless network and also prevent notifications of other networks occurring? In our application we often set up in areas what have wireless networks other than our own. Periodically we l...more >>

OpenNETCF DrawString not working for me
Posted by Hilton at 3/28/2007 1:08:24 PM
Hi, Why does this not show anything? [The rectangle *is* being drawn.] Oh, also why does DrawRoundedRectangle fill the area? This seems inconsistent with other Draw methods. protected override void OnPaint (PaintEventArgs pea) { base.OnPaint (pea); ...more >>

How to find if I have a missed call on WM5 Pocket PC
Posted by Roy at 3/28/2007 12:18:10 PM
I am running Windows Mobile 5 Pocket PC on Cingular 8525. I need to write a program where if I have a miss call the phone should beep at a resular interval till I dismiss the notification. I am trying to get the repeating thing as I really miss the feature. I would appreciate if somebody has...more >>

Newbie question...Where to start?...(Compact Framework, SQL Server CE)
Posted by forest demon at 3/28/2007 9:22:18 AM
i just got a project thrown into my lap....develop client/server apps for a device running WinCE. i have the Compact Framework installed as well as SQL Server CE. i'm developing under VS2005. questions: - diffs between emulation and the actual device(some of this is apparent)? - whe...more >>

Bring Application Back To Front in WM5
Posted by morris.logan NO[at]SPAM gmail.com at 3/28/2007 8:35:44 AM
Folks, I am hoping someone can give me hand with a problem I am having. I have an application which acts as a wrapper\launcher for another application. App1 collects info from the user and is used to control access and data flows tp app2. When App2 is launched it is displayed to user, ...more >>

Help files
Posted by Peter Morris at 3/28/2007 12:00:00 AM
What is the recommended approach for creating application help files for WinCE CF apps? Pete ...more >>

Clear Serial Port Buffer
Posted by tony at 3/27/2007 7:43:12 PM
Hi. How can i clear the serial port buffer ? ...more >>

COM Interop out-of process server NOT working in CE 5.0
Posted by Andrea at 3/27/2007 6:59:31 PM
Hi all, I am trying to use a simple smart device ATL COM server .EXE (out-of-process server) w/ a CF 2.0 client. I succeed in creating the object w/ new operator, but when I attempt to call any interface method or property an exception is risen: no such interface. My image has DCOM enabled...more >>

How to validate Email account NETCF2.0
Posted by jeff at 3/27/2007 6:51:47 PM
Hi ALL Just as title. I want to validate email account,how to inplement this on WM device development ide is visual studio 2005 and netcf 2.0 Thanks...more >>

Secure calls WM5
Posted by Azzi Stefano at 3/27/2007 6:13:57 PM
Hi everyone! I would like to build a secure phone application on Pocket PC (Windows Mobile 5). Can i intercept phone GSM voice with WM5 API for encrypt/decrypt it? I need to activate an CSD (CIRCUIT-SWITCHED DATA) connection between two phone or can i using normal GSM voice connection? ...more >>

including .net cf with smart device cab project
Posted by Trafalgar at 3/27/2007 5:21:06 PM
How do I include the installation of the compact framework with a smart device cab project? I am deploying on a device that doesn't come with the .net cf installed. When I add the project output alone, with the dependencies, I am not able to run the exe on the device, as the cf is not install...more >>

creating link for help file
Posted by drumred at 3/27/2007 5:07:31 PM
Hello, I'm trying to create a lnk file to my help file (appname.htm). I go to a MS link on the topic, http://www.microsoft.com/technet/prodtechnol/wce/maintain/cehelp3.mspx and am instructed to create a lnk file to my apps help htm file, like such: 18#\windows\soltr.htm , and save the fi...more >>

MSI Installer Problem - Erro Code 2869
Posted by Part time hacker at 3/27/2007 5:04:14 PM
Ok, I created a simple app, built a cab file, created the installer that works with CE App manager and an MSI setup file. When I run the MSI, it fails with a installer error of 2869. Yet it installs my app on my Smartphone (Blackjack). Any help is appreciated. Vista, Visual Studio 2005...more >>

MSMQ losing large messages
Posted by GaryJH at 3/27/2007 5:03:46 PM
i've set up MSMQ between my desktop and a Mobile 5 device... everything works fine as long a my messages are less than 2 mb... when i try to send a message larger than 2 mb from the desktop to the device, the message vanishes... using the Computer Management tool, i can see the message get...more >>

install CAP file already in the PDA programatically
Posted by Patino at 3/27/2007 8:21:54 AM
I have a CAB file already in a folder in my PDA. How can I install it from a program running on my PDA? I'm using Windows Mobile 2005 in C#. I read about ShellExecuteEx in the Shellapi.h.....but is this PlatformInvoke? Does the .NET 2005 have already a similar function to do this? Thanks! ...more >>

C++ .dll to C# for Pocket PC
Posted by james.nelson.ii NO[at]SPAM gmail.com at 3/27/2007 7:53:01 AM
I have a .dll program I created in VS2005 C++ that is referencing an .lib file from an API. My main code is in C#, for Windows Mobile 5.0 Pocket PC. The C# program uses the following lines of code to PInvoke the .dll: [DllImport("Sample.dll", EntryPoint="StartHere")] public static extern bo...more >>

Online Resources
Posted by matt.mcqueen NO[at]SPAM shesoftware.com at 3/27/2007 6:58:55 AM
Does anyone know of any good online resources covering Compact Framework 2005? Also, are there any books you would recommend which cover the 2005 edition? ...more >>

Scaling custom controls?
Posted by Ole at 3/26/2007 9:46:37 PM
I have problems by scaling custom controls in CF2. I have created a simple control (inherits Control) that act like a label with a frame around. When showing on a high resolution display (192 DPI) the line is only one pixel wide even though the rest of the control scales automatically? Anot...more >>

Web service transport
Posted by Peter Morris at 3/26/2007 4:44:56 PM
Hi all Is there a way I can replace the data transport mechanism of a webservice client? I'd like the convenience of serialising requests and responses, and having the client classes automatically generated etc, but I'd like the request XML put into a memory stream and also to be able to...more >>

Registry file gets corrupted...
Posted by Mobileboy36 at 3/26/2007 12:36:59 PM
Hi group, OS: Pocket PC 2003 - 2nd edition because end users don't have to care about system settings, I set all my settings and provide a registry file "registry" created with the regflushkey api. This file resists under the flash file store directory. After a couple of (days...more >>

how to change datagrid color in compact framework?
Posted by Sowen Zhang at 3/25/2007 5:20:22 PM
I have a datagrid and I need to validate the saved data, if the data in the datagrid is not valid, for instance, the row number 2 and column number 3 is not valid because of some reason, I want to change that specific cell's color. Is it possible? It seems the DataGridTextBoxColumn in compa...more >>

How to Transfer the data from Device to Server over GPRS or GSM ???
Posted by Ahmed Jewahar at 3/25/2007 12:57:40 AM
Hi, I am looking for a best and relaible solution to transmit the data from SmartDevice (Psion Workabout Pro) to Server. Currenty I have a SmartDevice Application developed in VS2003. (VB.NET) which has installed in the devices. This application use SQLCE at device to store the data being e...more >>

OutOfMemory problems in WinCE 5.0
Posted by GT at 3/24/2007 9:21:08 AM
Hello I am struggeling with a 'OutOfMemoryException' and would very much like some help to find out why this is happening. In the GC class there is a method called ‘GetTotalMemory’. (http://msdn2.microsoft.com/en-us/library/system.gc.gettotalmemory.aspx) . According to the documentati...more >>

Reactivating or Returning Focus from Start Menu
Posted by Dave at 3/24/2007 8:28:02 AM
I have a smartphone application that montors unread SMS alerts much like a pager. If you don't read an alert it bugs you - sound, vibrate,etc. My problem is that once you start the application and then go onto other uses of your phone (reading email, answering phone calls), I can't get the ...more >>

VS2005 and Device Emulator
Posted by Neville Lang at 3/23/2007 9:26:46 PM
I have just migrated my CF app from VS .NET 2003 to VS2005. VS2005 has also been installed freshly onto Windows Vista 64-bit and both the VS2005 SP1 and the Vista Update patches have been run. In debugging my CF app, I always use a device, connected via the new Mobile Device Center in Vis...more >>

TypeLoadException....with no additional info....how to diagnose this?
Posted by Iceman.Aragorn NO[at]SPAM gmail.com at 3/23/2007 3:57:51 PM
How might I go about diagnosing a solution that once deployed, the program doesnt start but instead says "*******.exe - TypeLoadException" with no other info given on the error screen. The program deployed and started fine until just yesterday, then it started doing that every other deployment...more >>

Casting a datetime to double ?!
Posted by chris-s NO[at]SPAM mailcity.com at 3/23/2007 10:34:07 AM
I'm converting someones old eVB code and have a strange requirement the needs me to convert a datetime value into a decimal. The evb code does a simple "CDbl(Now())", but I'm struggling trying to come up with a .Net equivilent, any suggestions? Cheers Chris ...more >>

Converting a DateTime() to a Double?!
Posted by chris-s NO[at]SPAM mailcity.com at 3/23/2007 10:23:57 AM
I'm converting some old eVB code, argh!, and have a requirement to convert a datetime value into a double in order for them to retain some database compatibility. The old eVB code simply did "CDbl(Now())", any suggestions on how to obtain the same result in .Net? Cheers Chris ...more >>

Fullscreen mode
Posted by Karel Petrasek at 3/23/2007 5:09:21 AM
Hi there. Could you help me with fullscreen mode in CF2.0? I am trying to use this code: lHwnd = GetHwnd(Me) SetForegroundWindow(lHwnd) SHFullScreen(lHwnd, SHFS_HIDETASKBAR) by adding coredll reference into my form. But when application is swithing bettwen forms the TASKBAR is shown for a...more >>

How ro minimize my fullscreen application?
Posted by MirekE at 3/23/2007 12:20:30 AM
Please help me to figure out the minimizing my fullscreen application on Windows Mobile 5 device. I need to use my own Minimize button, but I dont know, how to do it. How to send a WM_MINIMIZE or something simmiliar, that is working. I want simplz invoke Smart Minimize. Thanks a lot MirekE...more >>

SQLServerCE
Posted by Catalin Lungu at 3/23/2007 12:00:00 AM
HI, I need to know what should I do to install sqlserverce manually (not from cab). What library are necesary to copy and where, and register and how. Thanks. ...more >>

question re: using context menu with datagrid
Posted by Milsnips at 3/23/2007 12:00:00 AM
hi there, i've added the context menu to my datagrid and it appears fine when i hold down the stylus on the grid, but what i'm trying to do is the following: say, 10 rows in my grid, currently the 2nd is selected, now i use the stylus and hold it down on the 6th row for the menu to appear,...more >>

Why and when to use MarshalAs?
Posted by Milsnips at 3/23/2007 12:00:00 AM
Hi there, i've seen in a number of API examples, MarshalAs being used. I tried looking up what it is and when its to be used, but cant quite find a clear explanation or example. Any help apreciated. thanks, Paul ...more >>

How to call this native function with a struct in a struct ?
Posted by Peter at 3/22/2007 10:43:58 PM
Hello, Can somebody help me out here , because I'm fairly new in C#..... For my device I can retrieve some hardware info from a native C++ DLL that came with the device, but somehow I cann't get it to work because there is a struct inside a struct. How can I make this native call working ...more >>


DevelopmentNow Blog