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 > august 2006 > threads for august 1 - 7, 2006

Filter by week: 1 2 3 4 5

How-To Hard reset Windows Mobile 5.0. ?
Posted by Halvor Oppen at 8/7/2006 2:11:09 PM
Hi all. I need a way to hard reset WM5 devices by code. I have tried to set the SetCleanRebootFlag() flag and used the KernelIoControl function to restart the device. But this will not clear the memory. I know that Microsoft does a hard reset with Exchange ActiveSync and MSFP. So...more >>


WinScard.dll, ScardTransmit
Posted by Ramazzotti... at 8/7/2006 4:28:47 AM
Hi All i am using Asp.net2.0, C#, VS2005 and i am using winscrsd.dll, ScardTransmit. i have this error no. = 2148532228 in return, so please i need your help. thank you in advance. this is the code i wrote: int pContextHandle; int pCardHandle; UInt32 byActiveprotocol; byte[] pbyReader...more >>

Detecting Network
Posted by Devron Blatchford at 8/6/2006 11:43:01 PM
hi there, I am looking for some sample code that will show me how to poll for a network/ipaddress on a seperate thread. I would like to write a simple class that will accept an ipAddress and will raise an event when the the address is/isn't available. I would like this class to be adapter i...more >>

.NET Compact Framework 2.0 Service Pack 1 Patch
Posted by Jade King at 8/6/2006 10:26:04 PM
It added support for WinCE.NET 4.2 I just download and install it has anyone developed a CE.NET application use Visual studio 2005? I dont know whether it can work well. ...more >>

Custom Controls
Posted by Steve at 8/5/2006 12:00:00 AM
Hi, I'm just trying the new functionality of vs2005 to create custom controls. I've created a new control library with a simple user control that just has a button on it. I've referenced it from another project but when I drag it from the toolbox onto a form it just disappears and won't st...more >>

web browser for mobile application
Posted by Sam at 8/4/2006 9:41:45 PM
Hi, I need to integrate a Web Browser that supports javascript in a c# mobile application(windows mobile 5), how can I do? ps. IE doesn't support javascript. I'm using visual studio 2005 and compact framework 2.0. thanks. Sam ...more >>

Get version number of another exe
Posted by GD at 8/4/2006 4:21:17 PM
Hi, I wonder how to get a version number in the AssemblyInfo.cs of another Exe file created using CF. Thanks. GD ...more >>

NumericUpDown
Posted by Harry Simpson at 8/4/2006 1:08:20 PM
I'm needed to use 2 decimal places for the NumericUpDown control on a Mobile device form in compact Framework. Looks like the control in CF doesn't even have a .decimals property on the control. I need to set the increment property to at least 10ths so I increment by .1 or maybe even .01 eac...more >>



datagrid issue
Posted by DougMcKenzie at 8/4/2006 10:33:44 AM
I have a datagrid, with many entries, so there is a vertical scroll bar that goes down a ways. What I want to do is have a textbox, that does a partial string search, and highlights the row that is the best match. I have all of that working, the only problem is that if the row that gets highli...more >>

How Can I use CompactFramework2.0 on the platform based on CE4.2?
Posted by Bob at 8/4/2006 6:45:07 AM
Hello, everyone ~ Microsoft has already updated PB4.2 in order to support CF2.0. But when I add this module named ".NET Compact Framework 2.0" and "OS Dependencies for .NET Compact Framework 2.0", but it doesn't work. The program based on CF2.0 doesn't run at all. So I install ".net Compa...more >>

Command (line args)
Posted by Sebho at 8/4/2006 1:56:02 AM
Hello, in vb.net (Pocket PC 2003 project) i get an NotSupportedException when i try to use the "Command" Function to get the line command args, My.Application.CommandLineArgs is not supported in compact framework 2, is there any other way ? Thanks for your help -- Sebho...more >>

Detecting Memory Leaks
Posted by Willem Voncken at 8/3/2006 3:51:58 PM
Hi Guys, I have a very urgent, and probably very frequently asked, question: I wonder what you guys use to detect memory leaks in Pocket PC 2003? I've tried a tool called CodeSnitch, but that can only use Pocket PC 2002... it's not the only tool that can do this, is it? (hope not!!) ...more >>

default icon on executable - smart device project
Posted by Dan Hagerman at 8/3/2006 3:21:45 PM
I have assigned an icon in the project properties, Application, Icon field. When I build the project to the exe, the icon appears fine on the desktop. However, after dragging the exe to the handheld, it has the default icon. I have a sample app where the icon goes with the exe when dragged ov...more >>

Win CE 5.0 VS2005 connect
Posted by Derek Ou at 8/3/2006 2:56:04 PM
Dear all, I build a Win CE 5.0 image with .Net CF 2.0. Now, I would like to write application in VS2005 and debug at the Win CE 5.0 system. But I couldn't connect to the board through ethernet. Using Win CE 5.0 remote tools, I can connect to the board using cemgrc.exe /s /t ... Also, I g...more >>

How do ListViews remember their items?
Posted by Charles Jenkins at 8/3/2006 9:07:56 AM
I would like to make a new control which encapsulates System.Windows.Forms.ListView, but when I do, the new control can never remember any items that add to the list in the Visual Studio Designer. How does the regular ListView remember its items? I have a book which seems to suggest that y...more >>

How to manage XML database ?
Posted by vikash at 8/3/2006 7:05:34 AM
Hello, How to manage XML as a database. I have to make use of xml files as database and read and write back data to it. I am able to read and write xml using datatable. But the problem is there that every time i write to xml file the datatable's writexml method add the data to it. and i am ...more >>

File upload from device to desktop PC.
Posted by zangloma at 8/3/2006 6:24:36 AM
Is there some easy way to transfer files from device to desktop PC? I would like to write application for my device that would just send file to desktop PC. I noticed that the way to do this is to use Web Service. Is there something simplier? Best regards, Zarko ...more >>

How can I change alpha value of fore color of button control.
Posted by Melisa at 8/3/2006 5:52:23 AM
Hi, 1. I want to change the alpha value of fore color of a button at run time to fade it. 2. I have a button and some text is assigned to it`s Text property. 3. I want to fade the color of this text OnMouseMove event. 4.When i change the alpha value of backcolor of the button, it shows same...more >>

Determining Size of Graphics.DrawString
Posted by robfarmergt NO[at]SPAM gmail.com at 8/3/2006 5:03:46 AM
I want to be able to call Graphics.DrawString and determine the dimensions (height and width) what what was just drawn. Does anyone know a way to determine this? Thanks, Rob ...more >>

IP Address and download
Posted by Hilton at 8/3/2006 12:00:00 AM
Hi, I have a customer reporting that: IPHostEntry hostEntry = Dns.GetHostByName (Dns.GetHostName ()); result = hostEntry.AddressList [0].ToString (); only gives 127.0.0.1 and it is the only addr in the list. However, the same EXE manages to download a file from a web site with n...more >>

Reliability of Messages
Posted by Stephen Livesey at 8/3/2006 12:00:00 AM
Hello, We have developed a Stock system for Pocket PC, this system uses the Compact Framework v1.1 and web services to obtain data using ODBC from a proprietory 4GL back-end system. Can anyone advise us if there is any reliability checking built into web services / SOAP. ie. We need to ...more >>

name property of controls in .net compact framework
Posted by Hari at 8/2/2006 11:54:05 PM
Hi, I'm developing a chat application for PPC. In a form i need to know which button is clicked. i found Name property of the controls is not accessible at run time. i can't use the text property bcoz many of the buttons have the same text. So is there any other way to find out which butto...more >>

How to change file attribute
Posted by GD at 8/2/2006 10:38:07 PM
Hi, Compact frame work doesn't support File.SetAttributes method. I wonder if there is any work around on changing file attributes. Thanks. GD ...more >>

Value does not fall within the expected range
Posted by Scott Toney at 8/2/2006 2:06:31 PM
I am calling a form with: fNewEntry = New frmNewEntry fNewEntry.ShowDialog() On the frmNewEntry form, I have a new menu structure that calls other forms in the same way but everytime I call a new form, I am running a procedure to close the prior form. When I "exit" the NewEntry form, I am d...more >>

cf2.0 on pocketpc 2002 device?
Posted by Thijs at 8/2/2006 12:32:42 PM
Hi! I'm developing an application with vs 2005 c# with cf 2.0. Now I want to test this app on a pocketpc 2002 device, but during deploy it holds stating that I need a newer windows version. Is it possible to deplot cf2.0 apps on pocketpc2002 or is it really impossible? Thanks, Thi...more >>

NotSupportedException for PictureBox image in CF 2.0
Posted by Sacha Korell at 8/2/2006 10:44:29 AM
I am developing a barcode scanner application using VSNET2005 for the WM 5.0 platform. When I associate an image with a PictureBox control at design time, I get a "NotSupportedException" at runtime. I have tried gif and bmp file format for the image. I do not get an error if I just have the ...more >>

how can I directly access a file on the mobile device?
Posted by jamie at 8/2/2006 10:14:22 AM
When I connect a handheld to a PC activesync fires and I can then use file explorer to see files on the handheld. What I want to do is have a program on the PC be able to see/copy the files on the handheld but I can't figure out how to get the path correct If I go to the address bar in file ...more >>

Help!! Calling a form from another form
Posted by Chuck Hecht at 8/2/2006 5:54:12 AM
Here is my problem and I am not sure why I can not see the answer. I have an app that started out with 1 form and many panels all works fine. I have a Sub Main in a module (HandleData) >> Application.Run(frmMain) My problem is that I am filling 12 data tables in a dataset from xml files at ...more >>

Possible to store application settings in Compact Framework?
Posted by GT at 8/2/2006 1:45:02 AM
Hello In the .Net Framework application settings can be stored in .resource files using the IResourceWriter class. That is, settings can be altered and stored during runtime, and then read the next time the application starts with IResourceReader. In the .Net Compact Framework the IResourc...more >>

Exception 0xc0000005
Posted by Willem Voncken at 8/2/2006 12:00:00 AM
Hi there, I'm developing on Pocket PC 2003 using Visual Studio 2003, dotnet CF 2.0 in combination with C# When i run the program, i get an exception 0xc000005 after a couple of minutes. It doesn't contain any info nor a stack trace, and i simply cannot catch it from the program i'm debug...more >>

Hoi Willem
Posted by Thijs at 8/2/2006 12:00:00 AM

SQLConnection.Open Connection Timeout
Posted by Verena Doll at 8/1/2006 5:01:29 PM
I have a PocketPC application written in VB.net which is having difficutly with the SQLConnection.Open command. When the connection string is correct, the connection goes through quickly. However, when the connection string is incorrect, it can take the command in excess of 60 seconds to return ...more >>

Reference and tutorials using/calling native code (dll) from managed code app
Posted by Mario at 8/1/2006 3:58:19 PM
Hi, Does anyone have sugeestions where I can find tutorials or recommend books regarding the topic of calling dlls from managed application? Thanks. Regards, Mario ...more >>

Debug a webservice from PPC 2003
Posted by Jon Vaughan at 8/1/2006 3:11:09 PM
Hi, I have an app calling webservices, the web service isn't acting as expected and i'm looking to debug it, but when I set into it, it doesnt work. Are there extras steps required to debug webservices vai a PPC ( emulator ) ? ...more >>

CALLBACK_FUNCTION causing crashes?
Posted by drfarina NO[at]SPAM gmail.com at 8/1/2006 1:06:49 PM
I have been trying to record audio on a K-Jam I-mate. Somewhat flabberghasted by the fact that the P/Invoke samples[0] don't seem to work on the emulator or hardware because it doesn't propertly receive MM_WIM_DATA messages through the Message Window (they only record the initial two buffers wor...more >>

Application.Exit()
Posted by KevinD at 8/1/2006 9:50:31 AM
When I call Application.Exit(), my application doesn't completely terminate--the debugger doesn't fully shut down, and although the forms all get closed, there is something "hanging on" somewhere. When I look in Settings/System/Memory/Running Programs nothing appears. Any ideas how I can det...more >>

DrawString - ellipsis support ?
Posted by robf NO[at]SPAM mageware.com at 8/1/2006 9:18:33 AM
Hi, Does anyone know how to achieve the same behavior full .NET allows with DrawString / StringTrimming and have the system truncate long strings with a trailing ellipsis (...) ? I am implementing my own painting in a list, and want this behavior for strings longer than the display will allo...more >>

How to create bitmap of a window form.
Posted by Melisa at 8/1/2006 7:48:05 AM
Hi, How can i create bitmap of a window form with all its child controls without showing this form? 1. I am trying to create bitmap image of a window form. 2. I am creating a new instance of Form at runtime.And It`s visibility is false. 3. Then adding several controls like Button, RadioButto...more >>

DataGrid (Revised)
Posted by Chuck Hecht at 8/1/2006 7:28:04 AM
I have a datagrid dgReview I am trying to format the 4th column to remove all of the decimals. When I try the code below the datagridtextboxcolumn does not have a format property, now I am more confudsed then before?????? Dim aReviewGridTableStyle As New DataGridTableStyle Dim QtyOrd As Ne...more >>

datagrid formmating
Posted by Chuck Hecht at 8/1/2006 6:55:13 AM
The grid is binded to a datasource. I have a cloumn that displays a decimal number (ie 25.00 or 1.00) I need to display just the whole number. I have looked for a forat method on the grid or the coulmn and do not see one. Any Ideas? chuck ...more >>

debugger doesn't work: "the breakpoint will not currently be hit. the specified module has not been loaded"
Posted by orenbt78 NO[at]SPAM googlemail.com at 8/1/2006 5:31:39 AM
Hi All, I program for WinCE 5.0 device using VS5 .Net compact framework on WinXP Pro machine. The debugger used to work for a while and then one sunny day it doesn't stop anymore in the breakpoints. Instead when I hover with the mouse over the breakpoint (while running) I get the following er...more >>

DataAdapter not working in VS2005
Posted by Murthy at 8/1/2006 5:09:02 AM
Hi, I tried to use DataAdapter to access an .sdf file (SQL Mobile Database File). This is the Code using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Data.SqlServerCe; DataTable dt = new DataTable(); SqlCeConnection Conn = new SqlCeConnection("DataSo...more >>

Sending email and sms using Microsoft.WindowsMobile.PocketOutlook
Posted by Santosh at 8/1/2006 3:07:02 AM
Hello Guys, I wanted to send sms and email externally and locally (Pocket PC local inbox) using API in namespace 'Microsoft.WindowsMobile.PocketOutlook'. Looking at APIs, I am not sure how to save email and sms locally in respective 'Inbox'. Can anybody help me wheather it...more >>


DevelopmentNow Blog