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

Filter by week: 1 2 3 4 5

Determine .NET CF version?
Posted by Scewbedew at 9/30/2006 5:39:01 AM
I'm developing an application targeted at the WM5 Pocket PC platform. I want to do some P/Invoke where I need to use MarshalAs. As far as I understand, MarshalAs should be available in CF 2.0 but maybe I have misunderstood that? I have installed CF 2.0 with the netcfsetupv2.msi file. Still I ...more >>


How to install Dotnet Compact Framework on my PDA ?
Posted by Ulysse from CH at 9/29/2006 10:12:55 PM
Hello NG, I want to install ".net Compact Framework V 2.0" on my PDA because an application that is already installed on it need this. (It says that it needs an "newer version" of this, so there might already be an older version of it installed, in which case I think the new version should rep...more >>

Programmatically turn on/off flight mode.
Posted by Steve at 9/29/2006 2:54:20 PM
After lots of google searching I've found that I need to call extended tapi lineSetEquipment & lineregister calls but not sure if this is possible with PPC2003 VS2005. Any pointers greatly received. Thanks Steve ...more >>

VS2005 Custom Design-time Textbox
Posted by Peter Hartlén at 9/29/2006 2:41:04 PM
Hi! Why doesn't some properties update in Designer view of a TextBox derived control? If I add the default textbox the border disappears if I choose BorderStyle = None. If I choose my custom control, which has no extra functionality only inherits from TextBox, the border doesn't disappea...more >>

FTP
Posted by Peter Morris [Droopy eyes software] at 9/29/2006 2:37:10 PM
I'm after product recommendations for 3rd party FTP components. Thanks Pete ...more >>

PowerEventWaitQueue On Windows Mobile 5.0
Posted by bloodbrian NO[at]SPAM gmail.com at 9/29/2006 11:19:08 AM
I am working on an app originally written for PPC 2003. We have since upgraded to WM 5.0, but have found that the code we use to detect a resume from sleep no longer works. The code is based on the sample code provided by Alex Feinman, found here: http://www.alexfeinman.com/download.asp?doc=...more >>

How do I deploy System_SR_enu.cab to a Pocket PC?
Posted by R. J. Dunnill at 9/29/2006 10:57:23 AM
I'd like my Pocket PC application to display meaningful error messages on exception; how can I deploy System_SR_enu.cab to achieve such (and, for that matter, deploy it to the Visual Studio Pocket PC emulator)? Thanks, RD ...more >>

.Net CF 1.0 Application crashes on WM5.0
Posted by Santosh at 9/29/2006 10:13:01 AM
Hi, I developed an application in .Net CF1.0 for WM 5.0 (Pocket PC). I am calling some native APIs through P/Invoke and have a few our own '.dlls'. The issues is that sometimes (two/three times a day)my application crashes without giving any exception or it opens standard Mircosoft er...more >>



Rewriting application from C# to MFC C++
Posted by LaSu at 9/29/2006 7:54:18 AM
Hi! I'm working on application written in C# but unfortunately because of Windows CE memory architecture which has a limit of memory usage 32Mb per each process. The most confusing part is that mine application consumes about 14 Mb of memory but other processes load to mine memory slot other dl...more >>

Cancelling a WM_CLOSE using Application2 of the Smart Device Framework
Posted by wendelborg NO[at]SPAM gmail.com at 9/29/2006 7:01:12 AM
The application I'm working on stores all information in-memory due to security restrictions. One of the problems we are having is other programs calling SHCloseApps() to free up memory. This will in extreme cases shut down our application, which effectively means that all stored information is ...more >>

Back color on Label control
Posted by Manish at 9/29/2006 6:26:01 AM
Hi I am working on pocket PC 2003 using VS2005 C# for the same . I want to use label control with background color (defined under web or custom tab of back color property). It does not take any color ..why ...? It only takes color which is defined under system tab. i am surprised ..wh...more >>

Can not Construct Icon From stream.
Posted by steel at 9/29/2006 5:45:01 AM
I now get a 'NotSupportedException' when using the Icon constructor that takes a Stream. Here is the C# code that is used. //Img = new Icon( System.IO.File.Open( "\\first.ico", System.IO.FileMode.Open ) ); Stream stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResou...more >>

HOW TO LOAD *.SDF DURING THE TEST DATABASE APPLICATION IN WM 5.0
Posted by PHIJO MATHEW PHILIP at 9/29/2006 3:40:02 AM
Hello Friend I have a problem with sql query analyser in WM 5.0 I have created a sample database using C# for Pocket Pc 2005 In the window mobile emulator , I have created the database file using the sql query analyser. I was able to create the table and insert the values into the table...more >>

MSI problem
Posted by Zeno Loco at 9/29/2006 1:49:35 AM
It's my first experience in create a MSI file for 2.0 CF. Following the Microsoft example I reached the end of the long trip but ..... 1) testing the installation the final "Add/Remove Programs" page does not appear, also if the application is properly installed on the device/the emulator. 2...more >>

Compact framework 2.0 SP1 CAB
Posted by romain taillandier at 9/29/2006 1:20:54 AM
Hi group I have about a hundred device WCE 4.2. I need to upgrade from CF1.1 to CF2.0, for the moment the only way i have to do that, is to repair my PC CF2.0SP1, wich deploy on the device. Where can i get the good CAB corresponding to this installation. ? I can't found t on microsoft webs...more >>

CreateWatchDogTimer in CF
Posted by Enrico Pavesi at 9/29/2006 12:00:00 AM
I'm inetersted in using CreateWatchDogTimer from a CF application. Do someone has the correct PInvoke or class. Is it present on every WINCE 5.0 device? Thanks ...more >>

app_offline files in recycle bin
Posted by raghav at 9/28/2006 11:10:44 PM
Hi Friends I have a question. I work throughtout the day with my application (C#.NET, ASP.NET 2.0, SQL SERVER 2005 ). By end of the day if I see my Recycle Bin, its full of app_offline files. Then everyday I remove these files from recycle bin. I want to know that is it normal? or something is...more >>

.NET CF v2 not capatible on VGA Dell Axim!
Posted by Gavin at 9/28/2006 9:51:02 PM
Hi Has anyone experienced any problems running .NET CF v2 applications on Dell Axim x51v/Dell Axim X50v (Pocket PC 2003SE or WM5.0)? Whenever my users exit the .NET CF v2 application the today screen shows large patches of purple. Only way to fix this is to soft reset or rotate the screen. ...more >>

How to get rid of 'Program is from an unknown publisher..."
Posted by Richard Lewis Haggard at 9/28/2006 3:30:42 PM
After deploying applications from my development machine to my Dell Axim, I get a warning, "...program is from an unknown publisher..." when I try to run the application. How can I get rid of this warning? -- Richard Lewis Haggard www.Haggard-And-Associates.com ...more >>

Failing to deploy from VS05 to my Dell Axim x51v
Posted by Richard Lewis Haggard at 9/28/2006 3:20:30 PM
Using VS05, I created a project in C# for Windows CE 2005. I have a Dell Axim X51v attached to the system via a USB cable. When I try to execute the app, I get: Error 1 Post-deploy error 0x80070005 returned after calling '\Windows\wceload.exe /noui \Windows\System_SR_enu.cab'. Device Con...more >>

see an excepion in debug
Posted by Kevin at 9/28/2006 3:18:43 PM
hi, in my current project there is a lot of code like this try { ...... } catch { ......... } is there some way to see the exception type and message while debugging this code(i dont have rights to change it on the TFS)? thanks...more >>

New Windows Mobile 5.0 projects have non-PDA form size
Posted by Richard Lewis Haggard at 9/28/2006 3:13:46 PM
I've made CE apps before, in Dev Studio 2003, and the IDE automatically produced a form that was appropriate for the PDA. However, I don't see that happening in VS05. It seems to default the form to normal Windows size which is, of course, inappropriate for the compact frame work's screen. Is ...more >>

CE 5.0 Device Emulator not appearing in target device list
Posted by Richard Lewis Haggard at 9/28/2006 3:04:55 PM
I've downloaded and installed the CE 5.0 Device Emulator but it doesn't seem to be displaying in VS05's project properties Devices tab's Target device combo box. What else do I need to do to get it to show? -- Richard Lewis Haggard www.Haggard-And-Associates.com ...more >>

OleCreateFromFile, Anonymous pipe, Thread, and deadlock
Posted by Mei at 9/28/2006 10:45:02 AM
Hi, I hope someone can help me with this issue I have or point me to the direction of what I should do. I have a thread which listens to an anonymous pipe by using ReadFile(). Then somewhere else which has nothing to do with this thread calls function OleCreateFromFile() and the progr...more >>

Get Unique Device ID for a PPC 2003 Device
Posted by Murthy at 9/28/2006 7:37:01 AM
Hi, I am developing an Application for Windows CE.NET 4.2 Devices and PPC2002 Devices from LXE Manufacturer. These are LXE MX5 Devices with integrated Scanners. I used the code from the below path to get the Device ID. http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstar...more >>

appln development for Win CE 5.0 based devices
Posted by KM at 9/28/2006 5:49:14 AM
Hallo I managed to make a test app in C# under VS.NET 2003 CF ( smartdevice application ) and run it with Win CE 5.0 SDk emulator . although only the Win CE 4.2 emulator loads the program is running on it peacefully but this is C# if i have to do that same in C++ , i used eVC++4.0 b...more >>

apology to Paul
Posted by steel at 9/28/2006 4:54:28 AM
Paul, Sorry to inform you that maybe there is something wrong with my computer or network. I can not put my post under that topic. and i can not delete the page i have posted here. ...more >>

Query On WebService
Posted by poornima.venkataraman NO[at]SPAM gmail.com at 9/27/2006 9:14:40 PM
Hai, In my Windows CE device application, i need to send some records from sql server mobile to desktop sql server. For that, i created one webservice, when i am calling this webservice (ordinary helloworld webservice) i am getting the error like "webexception" status is protoc...more >>

About the Focused Form
Posted by steel at 9/27/2006 6:27:07 PM
Thanks for your response. Paul. The reason of a form always be focused is that: It can make the form react with the FunctionKey at any time. In my device there are some FunctionKeys and a small keyboard, the FuctionKeys should be responsed at the instance the user push it. So I let the Form alw...more >>

Thread.CurrentCulture
Posted by Peter Morris [Droopy eyes software] at 9/27/2006 5:47:24 PM
It seems that Thread.CurrentCulture does not exist on compact framework 2. Is there any other way I can set it? I need to set the date format + currency sign. Thanks Pete ...more >>

My own autoupdater - problem
Posted by Martijn Cox at 9/27/2006 5:27:42 PM
Hello, I have created an autoupdater webservice for my PPC2003 application, and have managed to retrieve the download.cab from my web service on my device. Next, however, while trying to install the new version, I run into the fundamental problem of not being able to run the installer cab, ...more >>

NullReferenceException...why
Posted by Chuck Hecht at 9/27/2006 4:58:05 PM
I am getting the "NullReferenceException" error on this line foundRow = dsScannerdata.Tables("dtReceivePdai").Rows.Find(mykey) in the following code. All of the values in the mykey field are unique and there are not blank records Any help is appreicated!!!!!!! *******code to find ...more >>

Assembly name with spaces-how to uninstall programmatically
Posted by GD at 9/27/2006 4:05:54 PM
Hi, I need to uninstall an assembly from GAC programmatically. It only works on the assemblies with no white spaces in the assembly name. I have tried multiple combination without success. As there are while spaces in the name, I have to put two double quotes on the two ends of the file nam...more >>

Accessing source code
Posted by Martin Robins at 9/27/2006 3:32:34 PM
Microsoft very kindly provided the .net framework & compact framework v1 as managed libraries that could be inspected using tools such as reflector if you wanted to see what was going on under the hood; however due to the change in how compact framework v2 libraries are constructed, the .dll f...more >>

Using System.Net.Socket over gprs..
Posted by chris-s NO[at]SPAM mailcity.com at 9/27/2006 7:44:42 AM
Hi folks, Experimenting with the idea of using system.net.sockets for some very simple 'push-messaging' over GPRS where the server/listener is running the mobile device and the client runs on a PC. I'm more than aware of all the issues surrounding change of ipaddress/availability etc relati...more >>

tmail.exe -service
Posted by wheeldo at 9/27/2006 7:24:21 AM
Hi all, I've been trying for some time now to discover what the -service parameter options are for tmail.exe, but can't find any documentation on it! I've found that -service "SMS" does sms text messages. -service "MMS" does MMS text messages. However, I can't find the one for...more >>

Microsoft CLR Debugger in Compact dot net framework
Posted by PHIJO MATHEW PHILIP at 9/27/2006 5:41:02 AM
Hello friends, Is it any option for Microsoft CLR Debugger in Compact dot net framework. Is any tool avaliable for debugging in compact dot net framework? -PHIJO MATHEW PHILIP. ...more >>

RE: WM5 C# App.. How to stop it running?
Posted by Fabien at 9/27/2006 5:09:10 AM
Hi, You can create an handler for the event FormClosed and in this delegate, you call Application.exit(). BR Fabien Decret Windows Embedded Consultant ADENEO (ADESET) http://www.adeneo.adetelgroup.com/ ...more >>

WM5 C# App.. How to stop it running?
Posted by robear NO[at]SPAM joshie.com.au at 9/27/2006 4:29:56 AM
Hi. I'm new to C#, but pretty good in VB. I have a C# app running fine on a WM5 device, and when I click the X in the top right corner, I want to stop the app completely, rather than hide it (as most apps do). In VB, I could do application.exit, but not sure what syntax to use with C# or...more >>

Button not visible in TabPage
Posted by grompl at 9/27/2006 3:26:44 AM
..NET CF 1.0 SP3, PocketPC 4.20.0.14053, Device: Intermec CN2B I have a panel with a tab control with two tab pages and a button named 'ok'. If the selected tab page changes I'm adding that button to the selected tab page: Private Sub tabControl_SelectedIndexChanged(ByVal sender As Object, ...more >>

About the Always Focused Form, Paul
Posted by steel at 9/27/2006 12:59:15 AM
Thanks for your response. Paul. The reason of a form always be focused is that: It can make the form react with the FunctionKey at any time. In my device there are some FunctionKeys and a small keyboard, the FuctionKeys should be responsed at the instance the user push it. So I let the Form alw...more >>

webexception protocol error
Posted by raju at 9/27/2006 12:50:32 AM
Hai, In my device application, i need to send some records to sql server mobile to desktop sql server. For that, i created one webservice, when i am calling this webservice (ordinary helloworld webservice) i am getting the error like "webexception" status is protocol error. My c...more >>

CF 2.0: Problem with DataGrid and decimal column
Posted by Carmine Moleti at 9/27/2006 12:00:00 AM
Hi to everyone, This is the very first application I'm writing in C# .Net 2.0 for a Smart device. I've a class which, among its properties, there's one whose type is decimal. This class' instances are bound to a datagrid via BindingSource. When debugging via the emulator the datagrid corre...more >>

Switching between networks
Posted by Andy Baker at 9/27/2006 12:00:00 AM
I have a VB.NET 2003 application running on a CE 4.2 device, that connects wirelessly to an SQL Server 2000 database running on a PC network. The device also connects via the internal 802.11b card to a wireless portable printer. I have both of these parts of the application running OK, but my ...more >>

my app is loosing 1.5MB mem per day?!
Posted by Matijaz at 9/27/2006 12:00:00 AM
Hello, I'm getting confused. I updatec CF to 1.0 SP3. I call Dispose() for every object which provides it. I added finalizers and impemented IDisposable interface for each of my classes. I had made some statistics with performance counters. Now I'm checking memory status with GC.GetTotalMem...more >>

if eval1 || eval2
Posted by Peter Hartlén at 9/27/2006 12:00:00 AM
Hi! We are using C# and VS2005 with a project migrated from CF1 and VS2003. When running if-statements with two evaluations, where the second depends on the first evaluation, we get runtime exceptions after our migration to CF2. if a || b { } If a is true, b shoulnd't be evaluated, ri...more >>

What happens when using VGA device?!
Posted by flik at 9/27/2006 12:00:00 AM
Hello, I developed an application for a qvga device (240x320). Therefore I used Formfactor = "Windows Mobile 5.0 Pocket PC". Now it should possible run on a vga device (480x640). Can I use the same application to run on a qvga device AND on a vga device without any changes?! Or do I hav...more >>

CF 2.0: INotifyPropertyChanged doesn't behave good with ListBox
Posted by Carmine Moleti at 9/27/2006 12:00:00 AM
Hi to everyone, I've faced, and found a workaround, for the following problem: 1. Having a collection of objects implemented through BindingList<OrderRow> 2. OrderRow implements INotifyPropertyChanged to track changes to properties, in particular to the quantity one. The collection is ...more >>

How to Highlight a Cell in a Datagrid
Posted by Murthy at 9/26/2006 10:35:01 PM
Hi, In your PPC 2003 Application we have a datagrid. If i Select any cell with in the datagrid, then i can use Arrow keys to navigate to different cell and view them. How can i programatically select the First cell so that i can use Arrow Keys for navigation and viewing other cells. I am u...more >>

WebServices Query
Posted by poornima.venkataraman NO[at]SPAM gmail.com at 9/26/2006 10:05:11 PM
I have a device application with a database in it.I want to push the tables from this database to the one in Remote SQL Server.I have written the both the devce and the Windows application in VB.net. The methods to accomplish the aboce are RDA,WebServices,Replication. Now i do not know how to wr...more >>


DevelopmentNow Blog