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 > february 2007 > threads for february 15 - 21, 2007

Filter by week: 1 2 3 4

scrolling problem in mfc based application for wince
Posted by rakesh at 2/21/2007 10:26:44 PM
hi, i am creating MFC based UI an application for windows ce 5.0 and for pocket PC 2003. When i am running this application on wince device i am not able to see the full application UI on screen.On the other hand on pocket PC emulator i am getting vertical scrollbar. My application is dialog ba...more >>


Remote control
Posted by Peter Morris at 2/21/2007 7:48:44 PM
I remember there is a remote control app from Microsoft for the PocketPC so that a desktop can connect to it, see its desktop, and control it. What I'd like to know is 1: Is the app written on .NET or is it native code? 2: Has Microsoft made the source code available or only the binaries? ...more >>

Keep focus in text boxes
Posted by Hilton at 2/21/2007 5:31:25 PM
Hi, This is a C#, CF 1.0 app for the Smartphone (e.g. Cingular Blackjack). I have a page with some controls and some text boxes. The (non-text box) controls should never get the focus. The focus must always remain with one of the text boxes. Since CF 1.0 does not have TabStop, what woul...more >>

Print text file
Posted by Genaro Sanchez at 2/21/2007 2:51:02 PM
Hi, how can I print text files from the PocketPC? I want the text file to be printed to a printer connected to a print server. Also i want to know how to do this in .NET: For example, i have this VB6 code: Open sFileC For Output As #1 Print #1, Chr$(&H1B); "c4"; Chr$(2) Print #1, "Date and tim...more >>

System.Xml not found
Posted by GaryJH at 2/21/2007 1:55:35 PM
i have a device running Mobile 5 and .Net CF 2.0 and MSMQ. i'm trying to send a message to the local queue. i am able to create the queue and set the Formatter, but when i try to send the message, i get the following exception: "File or assembly name 'System.Xml, Version=2.0.0.0, Culture=ne...more >>

CE 5.0 Cab files with VS 2003
Posted by sameer at 2/21/2007 1:03:07 PM
Hi all, envirornment : compact framework 1.1 visual studio 2003 i have an application made in VS 2003 which runs on CE 4.1. now the client has updgrade their devices to CE 5.0 and the CE 4.1 install files dont seem to run. Question is can i make wince 5.0 cab files with VS 2003 and if y...more >>

Do I need to check if my application has been launched?
Posted by jeff at 2/21/2007 12:55:47 PM
Hi Guys. I am wandering that if I click my application more that two times. or, it has been started,but not run on the foreground, and user go to file exploer to launche it again. What will happen? It will be called more than two times, or Windows MW OS will monitor it. and it will be onl...more >>

start with differen screen
Posted by jeff at 2/21/2007 9:06:09 AM
Hi Guys. when my application starts, it will check some connection information. if information does not exist, it will pops up a dialog to let user input connection information. after user input information and click Ok, it will to return main screen. if information is there, it will direc...more >>



Rejecting Network MSMQ messages
Posted by joker at 2/21/2007 8:50:53 AM
Ok, I'm starting to pull my hair out on this one. It's probably obvious, but not to me. I have a CE device networked. I'm using MSMQ for inter-process communications and I've set up private queues. At times I want to be able to send messages from a development host. This is working fine. ...more >>

Can I use VS2005 for CE.NET 4.2 device ?
Posted by MichaelGr at 2/21/2007 8:19:58 AM
Hello ! I´ve got a CE.NET 4.2 device and installed VS2005 with CF SP1. After installing the CF SP1 there is no "CE.NET 4.x" device, so I use "Windows CE 5.0 device" and transmit a small test programm. Then the unit shows "Error : This application requires a newer version of the MS .NET Fr...more >>

persisting a cold boot
Posted by sameer at 2/21/2007 7:34:43 AM
Environment : ..Net Compact Framework :1.1 Visual studio 2003 Visual basic Winforms Windows CE users No third party controls Symbol machine Emulator that i use for development : windows ce 4 Hi All, My application was developed in the above environment using windows Ce 4. To per...more >>

ComboBox default selected
Posted by jeff at 2/21/2007 7:09:40 AM
Hi ALL I have created a Form with ComboBox control. I have set dropdown item on ComboBox via design on Property. Let me say: POP3,EXCAHNGE,IMAP4. On source code: ComboxBox selectedIndex = 0 or ComboBox.selectedItem ="POP3". neither of them does not work for me, when I start on init...more >>

win Ce 4 install not working on win ce 5
Posted by sameer at 2/21/2007 7:04:35 AM
hi all, Environment : ..Net Compact Framework :1.1 Visual studio 2003 Visual basic Winforms Windows CE users No third party controls Symbol machine Emulator that i use for development : windows ce 4 barcode scanner : symbol My application was developed in the above environment ...more >>

VS deploys not usefuyl dll! How to get rid?
Posted by Beorne at 2/21/2007 6:41:33 AM
I'm working on a C# compact framework project on win CE. At one point I added some libraries projects (dll) to the solution that were originally developed for WinXP. Then Visual Studio started to deploy, among my exe and my custom dll a lot of system .dll (among others system.data.sqlxml.dll, sy...more >>

Removing Delegates in Dispose method
Posted by David at 2/21/2007 6:35:48 AM
I have several bound controls which attach delegates to a data source. I have code in the control's Dispose override to remove the delgates. I'm finding that when the form is closed, the control's Dispose method is not getting called and the delegate is not getting detached. I tried overrid...more >>

Developing a WYSIWYG - IDE type application. How would you do it?
Posted by iKiLL at 2/21/2007 12:00:00 AM
Hi all I have been asked to develop a solution that is customisable by our clients. It is supposed to run on the Windows Mobile 5.0 CF2.0 environment using Merge Replication. I have looked into allowing the creation of Addin's but that has been rejected as it would require t...more >>

Why does my app want to use the modem?
Posted by Peter Morris at 2/20/2007 9:01:01 PM
Hi all My app currently uses FTP to exchange data with a server but I have recently migrated this to a webservice instead. When I connect to a machine using FTP (via its IP address) the connection goes via the LAN and the connection is successful, however when I try to execute a call to a ...more >>

NotSupportedExeception on XmlTextReader
Posted by Antony at 2/20/2007 7:52:10 PM
Would anybody advise on the following code why it did run correctly in Windows XP but did not run correctly in Windows Mobile ? I am writing a C# program on Window Mobile 5.0 device to parse the content of a XML file but exception raised when the program started. The content of the XML ...more >>

Copying files to emulator
Posted by Catalin Lungu at 2/20/2007 5:34:50 PM
Hello, Do yow know where is the tree of Pocket PC 2003 emulator. I need to copy a file configuration to \\Archivos de programa\\myfolder? Thanks. ...more >>

State & Notification Broker's ConnectionsNetworkCount
Posted by Kartik at 2/20/2007 4:53:05 PM
Hi, In State and Notification Broker what does the ConnectionsNetworkCount value store? Does it store the number of networks that are available (WLAN, GPRS etc.) or does it store the number of connections across networks that are open right now? For instance when I start up the device in uncra...more >>

Double Click in DataGrid
Posted by Genaro Sanchez at 2/20/2007 4:12:52 PM
How can I do Double Click event in Datagrid with CF 1 in VStudio 2003? Also, how can I hide some columns of a datagrid? Thanks...more >>

Windows CE 5.0 - Time Zone
Posted by Xavier PACOTTE at 2/20/2007 2:49:54 PM
Hello, I would like to modify the time zone by program under windows ce.net 5.0. I tried with the opennetcf librairy, it works under 4.2 but not under 5.0. How can I modifiy this parameter? Best regards. ...more >>

Broken Network Using WinXP64 as the Emulator Hosts
Posted by Chris Mullins [MVP] at 2/20/2007 2:39:08 PM
I'm trying to do some compact framework development on my WinXP-64 workstation. I'm using Visual Studio 2005 SP1. The emulator comes up with no troubles, and my code properly deploys to the emulator. The problem is that there's no network connection on the emulator. When my CF code tries to...more >>

.inf file setting to not overwrite files during install
Posted by jeremymartinson NO[at]SPAM gmail.com at 2/20/2007 2:26:34 PM
I have an .inf file that needs to specify that a data file is not overwritten. This is obviously required during an auto-update process for our application. This link: http://msdn2.microsoft.com/en-us/library/ms938406.aspx seems to indicate that there is a way to do it, but so far I have trie...more >>

Bluetooth printing
Posted by Simone at 2/20/2007 1:06:01 PM
Hallo Guys. Any suggestion for develop a printing program with a bluetooth printer in C#? Guide/Manual/Link? OpennetCF? Thanks in advance. Simon. ...more >>

screen orientation change works not properly
Posted by sergejusz at 2/20/2007 6:31:34 AM
Hi, I'm working on application for Symbol MC9090 model handheld scanner (CF 2.0, Windows Mobile 5.0 Pocket PC Device). I need to turn screen orientation to Lanscape. I'm doing that setting SystemSettings.ScreenOrientation. After that screen goes to Lanscape for second and then comes back to Por...more >>

Reading contacts from SIM card in WM 5.0 SmartPhone
Posted by MacG.Hem NO[at]SPAM gmail.com at 2/19/2007 10:54:14 PM
Hi All, Can anyone tell me how to get the contacts of SIM card in Smartphone. i could not get the exact code from net. i'm using VS 2005/C# and windows Mobile 5.0. Thanks in Advance Mac ...more >>

Unfortunate behavior of CF2SP1 cab install
Posted by Tim at 2/19/2007 10:28:29 PM
On WM5 device with CF2.0 version 2.0.5238 installed I installed version 2.0.6129 cab (SP1) by clicking on it directly on the device file system. It will prompt: "The previous version of Microsoft .NET CF 2.0 will be removed before the new one is installed. Select OK to continue or Cancel to q...more >>

Custom Listview Sample
Posted by Jason at 2/19/2007 7:40:03 PM
Dear All, I am developing a photo viewer app. There will be a thumbnail listview with checkbox for each item. The standard ListView control is not pretty enough and the checkbox location cannot be configured (it always aligns to bottom left corner and occupied too much space, anyway to c...more >>

Change FormFactor
Posted by Julián at 2/19/2007 7:27:38 PM
Hi: I have got to prepare my application to run in a lot of devices with different screen sizes. I want to change the property "FormFactor" from code, but I can't because it don't appear. It seems to me that this property only can change from designer. Is it correct ? Can I prepare the app...more >>

how to calculate interval in PDA?
Posted by Sowen Zhang at 2/19/2007 6:15:11 PM
Hi, I use the following code piece previous = DateTime.Now; end = DateTime.Now; TimeSpan diff = end - previous; and then read diff.TotalMilliseconds It works in desktop, but not in PDA, where always gives me 1000 ms or 0, weird~~ Is there any better way to do what I want? Thanks! ...more >>

Prog## in Reg file?
Posted by Harry Simpson at 2/19/2007 2:32:46 PM
In the following reg file script I have: [HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog20] "Name"="\windows\wceload.exe" "Command"="\application\EasyIDMOBILE.CAB" "Continue"=dword:0 "ColdBootOnly"=dword:1 My question is what determines the Prog number as Prog20 above? Is it ar...more >>

Need a remote task manager like Entrek ProcMan
Posted by jminiman at 2/19/2007 1:48:31 PM
When eMbedded Visual Tools was still around, ProcMan rocked! You could see what all processes are doing: what threads they have open, how much CPU they're using in real-time, modules loaded, etc. So much more than the very basic CE Process Viewer bundled with Visual Studio. Does anything lik...more >>

ArrayList Remove Item
Posted by jeff at 2/19/2007 1:23:18 PM
Hi ALL I have create ArrayList Object, I want to loop to remove someitem in the ArrayList. However, it pops me exception. The example is foreach(string s in arraylist){ if(s.Equals("test")) arraylist.Remove(s); } when it removes one item and do the next loop, it will pops m...more >>

zebra cameo2
Posted by Rick at 2/19/2007 12:48:18 PM
Hi guys! I have a problem with a zebra cameo2 bluetooth printer, somebody can help me please? ...more >>

Refresh Screen from BackGround Thread.
Posted by jeff at 2/19/2007 11:37:00 AM
Hi Guys. I have three Screens(screen1, screen2,screen3) and one of them maybe displayed on foreGround with some Item. screen1 is main screen, it holds screen2 and screen3 instance. There is also a thread running on the background.It will start check someinformation perdically,and will af...more >>

Accessing Device Properties in VS 2005 SP1 + Vista Fails
Posted by jminiman at 2/19/2007 11:27:06 AM
I develop against a CE 4.2 device for the USPS (it's a custom-built Motorola ruggedized, generic CE 4.2 image). Because WMDC doesn't support CE 4.2, I've been forced to use Pocket Controller for a lot of the device operational stuff (this works perfectly since I can go over any TCP/IP connectio...more >>

Set and Get method
Posted by jeff at 2/19/2007 10:04:46 AM
Hi ALL, I am a very new to .NET. When I want to create a setter or getter. It is normally wrote : public type Name{ get{ return defination; } set{ defination = value; } } but if I this class holds a Collection, I want to get some item by parameter, let me say: ...more >>

seems that running programs window couldn't kill my application
Posted by bule at 2/19/2007 9:36:05 AM
Hi all i have this strange problem: i have developped a c# application that runs fine but when i go to settings>System>memory>running programs> and i kill my application here something strange happens: the application ends, its name disappers from the list, but if i use the remote proces...more >>

Pin number info
Posted by Marc Cardenas at 2/19/2007 6:58:38 AM
Hi, I'm developing a PDA application using .Net 2.0 I have a login screen where the user enter a username and password and then it gets validated against a database. What I would like to do is validate the password against the pin number. Is that possible? Thanks...more >>

Passing information between classes and forms
Posted by shawrie at 2/19/2007 6:08:55 AM
hopefully my last post for a while im currently passing a couple of variables between a number of forms. Im currently doing this my using the private sub new and overiding it. Is this ok or is there a better way of passing information between forms and classes ...more >>

Destroying forms
Posted by shawrie at 2/19/2007 5:08:13 AM
hello will form1.close destroy the form completely from memory or should i be calling form1.dispose and do we need to issue a form1 = nothing command. thanks shawrie ...more >>

Possible to install multiple .net CF versions?
Posted by Gav at 2/19/2007 4:19:27 AM
Hi, I have a bit of a puzzler. I have an app that doesn't appear to be completely compatible with the new version of .net (V2 in general). My user has an XDA Orbit and I would like to have it use V1. The problem appears to be that it comes preinstalled with V2 and the msi won't allow you to...more >>

Rows In Datagrids
Posted by shawrie at 2/19/2007 3:17:56 AM
Hi can anyone tell me what the best way to find out how many rows are in a datagrid? I used to use datagrid.rows but that doesnt look avaliable in .NET Thanks Neil ...more >>

corrupted sqlmobile database issue
Posted by Optimus at 2/18/2007 11:11:03 PM
Hi all, I'm developing ppc app using .netcf 2.0 with sqlmobile database (sqlmobile v3.0). And, I've some problems having the sdf file corrupt. I've got the error that said "The database file may be corrupted. Interface defining error: IID_IDBInitialize". What I would like to know are What c...more >>

How to process the Windows Messages posted to another Application
Posted by Murthy at 2/18/2007 10:39:00 PM
Hi, I want to write an application which will process the windows messages posted to an another form in another application. If there are any events or key presses or buttons clicks in another application i want to catch those messages in my application..... I don't want to write the any...more >>

Newbie layman Q: how to open and edit a BLB file
Posted by Anykindjob.com at 2/17/2007 6:07:54 PM
Which software I can use to open and edit a .BLB file? ...more >>

ADO .NET
Posted by shawrie at 2/17/2007 10:29:17 AM
hello im currently working on a simple application for PDA's that simply writes a record and reads a record. Whats the best to use datareader and using raw sql commands or datasets? Any one got any recommendations ? thanks Shawrie ...more >>

SIP and anchoring
Posted by Cocotteseb at 2/17/2007 3:58:27 AM
Hello, I wonder if we can use anchoring with SIP panel. Indeed I have a button "next" (in example) at the bottom right of the form which is covered by the SIP (input) panel when it is activated. Anchoring seems great because the button is placed at the correct location in portrait and lands...more >>

Read Call Records
Posted by AnikSol at 2/17/2007 12:50:22 AM
Hi, I want to read the call records which are on a mobile device. How do I go ahead using VS 2005 ? Any pointers, ready made solutions /samples? thanks ...more >>

ContactCollection.Restrict
Posted by mmobile at 2/16/2007 11:13:51 AM
I need help in using the ContactCollection.Restrict with the "Categories" property. I tried: contactCollection.Restrict("[Categories] = 'TestCat'"); but I get a System.ArgumentException with the message of: The query string is incorrectly formatted.\r\nParameter name: [Categor...more >>

Wireless Connection Manager DOT NET
Posted by jeff at 2/16/2007 10:32:17 AM
Hi Guys. Thanks for all your msg. My app want to check inbox on PocketPC periodically. If Wireless connection is not built, App will automatically build a wireless connection and keep it until task is over(unless that signal is lost or physical problem) I have googled it, but I can no...more >>

App not closing, threading...
Posted by Hilton at 2/16/2007 8:43:35 AM
Hi, In CF 1.0, if you create a thread and don't terminate it, the app does not close. Therefore, you need to ensure that all threads are terminated. Ideally, you set a flag, the 'run' loop falls through and you're done. Otherwise you have to get agressive with ThreadEx.Abort (OpenNETCF). ...more >>

need for compact framework
Posted by john NO[at]SPAM murray.gb.com at 2/16/2007 3:40:15 AM
I am returning to do some development work in c# on VS2005 - the app is intended to run on the current crop of WM5 or ppc 2003 devices - do I have to download the dot net CF 2 to each such PDA to run my app or do these machines (post ppc2003) have the CF2 already installed ? ...more >>

Writing files to a Windows CE device using ActiveSynch
Posted by Beorne at 2/16/2007 3:14:41 AM
I'm developing in C# with VS2005 and I have to write a xml file from a desktop application to a xscale device with WindowsCe. I'm connected via usb cable and ActiveSynch is working fine. The problem is: how I access to device directory ActiveSynch provides me? Is there a way to directly write fi...more >>

MSMQ
Posted by papettip NO[at]SPAM gmail.com at 2/16/2007 1:09:11 AM
I' ve installed the msmq extension copying the cab file to the device and after running it and installing on the device memory. i create a sample application like this: if (!msmq.MessageQueue.Exists(".\private$\mobile")) { myQueue = msmq.MessageQueue.Create(".\private$\mobile"); } ...more >>

Open the calendar on a specific day?
Posted by Jan at 2/16/2007 12:00:00 AM
I have a pocket pc application which shows some data with dates. When the user selects an entry, I would like to open the standard calendar on that particular day. Is that possible? If so, how can I do this? I am using Visual Studio 2005 and C#. The application I'm writing is for a Windows...more >>

Disabling Phone Incoming call notification
Posted by Murthy at 2/15/2007 9:54:07 PM
Hi, I want to Handle Incoming calls in my own application. Which i am able to do.... But I am not able to do disable the Phone Incoming Call notification. I know that this can be done as it is done in our old application which is in VC++...(for which we do not have the source code)... we ar...more >>

Unknow Exception with TAPI
Posted by Murthy at 2/15/2007 9:49:21 PM
Hi, I am using Alexfeinmen's TAPI Wrappe Dll version 1.6 I am able to receive notifications for the TAPI events [ tapi.LineMessage, Line.NewCallHandler] , but when i try to do any UI changes with in these events...i am getting an Exception. The Exception is showing the below error message...more >>

Datagrid
Posted by shawrie at 2/15/2007 9:11:18 AM
Hi can someone please help. I have a datagrid bound to my database. I have a column which holds numbers. I want to be able on load of the grid replace the numbers with text. e.g 1= Inv 2=Crn What is the easiest way to do this? Thanks in advance Shawrie ...more >>

Rename File, DeleteFile, Create Directory in CF2.0
Posted by jeff at 2/15/2007 7:56:11 AM
Hi Guys, Thanks for your kind help.I am a pretty new to DOTNET2.0. Currenttly, I want to develop some app on PocketPC to Manage file. I can create a new File call streamreader or streamwriter. but It does not fill up what I am doing. I want to create a Folder, and then create some files u...more >>


DevelopmentNow Blog