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

Filter by week: 1 2 3 4 5

Email BodyText missing
Posted by Mpoy at 11/7/2006 9:38:34 PM
Hey guys, I'm now using Peter's InTheHand API. But I'm having a problem with it. I used this code: OutlookSession OS = new OutlookSession(); string EmailSubj = OS.EmailAccounts[0].SentItems[0].Subject; string EmailMessage = OS.EmailAccounts[0].SentItems[0].BodyText; But then, EmailMessag...more >>

Get Rom Version
Posted by Minnesota Sue at 11/7/2006 4:48:01 PM
Does anybody know how to get the ROM version of the pocket pc device that the Compact Framework application is running on? I want to pick up the ROM version information in my code to put into a log file if there are errors when my application is running. I was able to the the operating syste...more >>

Turn on connection programmatically
Posted by Borghese bipolare at 11/7/2006 8:29:38 AM
My Windows Mobile device (Symbol MC70) loses GPRS connection from time to time. Is it possible to turn it on programmatically? Users of my application are really low level so my customer doesn't want to let them turn it on using OS. Thanks BB ...more >>

Executables integrity verification in WM5
Posted by ID at 11/7/2006 8:11:30 AM
Hi, When a new application is going to be executed, WM does the code signing verification and ask the user to run or not the application (i.e. "The program if from an unknown publisher. Running it can possibly harm your device. Do you want to continue?"). If the user accepts to run the applic...more >>

Listbox flickers on form resize
Posted by Nirdesh at 11/7/2006 6:37:22 AM
Hi, I have added a simple listbox in windows form under c# 2.0. It contains a collection of approx 10 strings as list items. Now when i resize the form whole listbox flickers. Please tell me any feasible solution, i need to use a checked listbox which also has same flickering problem on resiz...more >>

How to register for events of a form closing?
Posted by cyberco at 11/7/2006 5:02:51 AM
I want myHandler to be invoked when myForm (Form) closes, so I added an eventhandler to Form.Closing as follows: ======================================== myForm.Deactivate += new EventHandler(myHandler); void myHandler(object sender, EventArgs e) { Debug.WriteLine("==myHandler invoked")...more >>

Registry Entries to call a Batch file
Posted by DSmartDebug at 11/7/2006 4:37:01 AM
I am trying to make SQL Mobile persist following a hard reset. I have created a batch file to run the cab file but how can I call the batch file from start up? The FlashDisk does not have an auto-start mechanism. Are there some registry entries I have to create to achieve this? Alternatively...more >>

Performance SQL Server Mobile with Windows Mobile 5.0 CF2.0
Posted by Chris at 11/7/2006 3:42:01 AM
Hello, an SQL-Select on a SQL Server Mobile Databse (Select t1.* from Table t1) takes about 4 seconds (50 Rows) !!! I tried using the SqlCeDataAdapter and SqlCeResultSet. But same Performance Problems. The pocketpc CPU is a Intel PXA270 with 520 MHZ, 64MB Ram and 128 MB Flash. Someo...more >>



Hide caption bar
Posted by cyberco at 11/7/2006 2:46:50 AM
(WM5 PPC) Using the designer I am able to hide the caption bar (top bar), but when returning from another application that was started by my application, the caption bar reappears. Resetting the WindowState to FormWindowState.Maximized when the Form regains focus changes nothing. public parti...more >>

Bitmaps on monochrome device throw ArgumentException
Posted by MountainJoy at 11/7/2006 2:36:33 AM
In a C# application, I want to use a Bitmap loaded from a file, but the Constructor "new Bitmap("filename.bmp")" keeps throwing an ArgumentException, when using it on a device with monochrome display (1 bpp). The exact same routine, used on the same device, but with color display (8 bpp), works...more >>

Why the easy way in eVB 3.0 but too diffcult in VS.Net 2005 ?!
Posted by Chris at 11/7/2006 12:06:33 AM
Dear all, I'm just wanna access a mdb file or any local database solution, why so diffcult in VS.Net 2005 ?! We need 3rd party or install many large application to finish this simpe requirement ?! Or just using .txt file is easy and simply way ?! I can't understand why M$ trying to make d...more >>

Over 8000 lines data wanna read in WM 5.0
Posted by Chris at 11/7/2006 12:00:00 AM
Dear all, I'm so sorry for spend much time to discribe what really I want. I have a .xls comvert from our POS, and I thought if I wanna easily and quickly search data in my PDA(WM 5.0) is import to .MDB and convert to .CDB. After several days and many many web pages I watched, I know the way i...more >>

OnPaintBackground query
Posted by JB at 11/7/2006 12:00:00 AM
Hi, In .NET CF is the OnPaintBackground event handler the equivalent of the WM_ERASEBKGND message in Win32 land? I'm porting an app from VB to C++ so needed to know. I assumed OnPaint is equivalent to WM_PAINT Thanks ...more >>

Smartphone: Back key
Posted by Hilton at 11/6/2006 6:30:29 PM
Hi, I have an app that have numerous pages. These 'pages' are controls with controls in them (only one page is visible at any one time). When I tap on the Back Key (emulator), it minimizes the app. I tried adding KeyPress in the main form, I also tried adding KeyPress in the page's main ...more >>

Sql mobile - create table script
Posted by Tom at 11/6/2006 12:18:14 PM
Hi, I'm confused with one task. I'm working with sql server mobile. I've created a database (sdf) and now I want to create sql script that will reproduce tables from sdf database in an another database (sql server). I cant find any option like "Export" in Sql Server Management Studio when I ...more >>

Help me, problem with NumericUpDown.Value
Posted by Beorne at 11/6/2006 3:49:41 AM
I'm on compact framework on WinCE the code ---------------------------------------------------- // Par.Offset == 75000 and is an int decimal pippo = Par.Offset; // now pippo == 75000 numericUpDownOffset.Value = pippo; // now numericUpDownOffset.Value == 9464 -------------------------...more >>

Passing command line arguments
Posted by Cornel Gligan at 11/6/2006 12:00:00 AM
Hi! I implemented an application (named "WinCEApp") using C++ and Windows CE SDK, that used "ShellExecuteEx" method (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceshellui5/html/wce50lrfShellExecuteEx.asp) to launch an other application (named "DotNetCFApp") impleme...more >>

encoding and decoding from charaters to smileys
Posted by Malleswar at 11/5/2006 10:59:37 PM
Actually i am facing one problem, If anyone can solve, plz help. For my messenger applicaton I took sepearte form for emoticons and inserting in to edit chat text box as symbol of smiley as yahoo messenger does. then it has to be converted into smiley when it comes to above text area. How ...more >>

Lock into Landscape mode
Posted by nicowyow NO[at]SPAM gmail.com at 11/4/2006 5:16:11 AM
Hi, I'm building an application that should always run in landscape mode using compact framework 2. I came up with this: private void Form1_Resize(object sender, EventArgs e) { if (SystemSettings.ScreenOrientation != ScreenOrientation.Angle270); SystemSettings.ScreenOrientation = Scree...more >>

Notifications on SMS, Phone, and Email
Posted by Mpoy at 11/4/2006 12:49:28 AM
Hi guys! It's been a while, I gave up on my own wrapper and purchased InTheHand as well. It works great indeed. I just want to ask how can I notify or make my application call a function or a method right after a call has been done or an SMS has been sent or an Email has been sent? Thanks! ...more >>

problem with reinstall - vb.2005
Posted by Stephen Plotnick at 11/4/2006 12:38:56 AM
I bought another laptop and installed my VB.2005. When I try to open a porject I get the following error. Error retrieving informationm from user database. Platform not found. Does anybody know what I'm missing with the new install? Thanks, Stev ...more >>

How can I read/write Access 2003 file in Windows Mobile v5.0 ?
Posted by Chris at 11/4/2006 12:00:00 AM
Hello all, I know we can convert mdb to cdb, but how can I access the .cdb files in vs.net 2005 CF ? someone can provide sample code or else ? by the way, The files ADOCE.Net in InTheHand Software (www.inthehand.com) is removed. (That in the following link) http://msdn2.microsoft.com/en...more >>

Command line arguments
Posted by BlueSpirit at 11/4/2006 12:00:00 AM
Hi How to get the command line arguments in a Compact Framework 1 app ? Thx ...more >>

SNAPI - EnableApplicationLauncher?
Posted by Brip at 11/4/2006 12:00:00 AM
Anyone, try as I might I can't seem to get a command line argument(s) passed into my application when it is called by the system as a result of enabling application launching, see code line below; _ssCradle.EnableApplicationLauncher("Cradle State Change"); What a...more >>

[CF2.0] Class library and localized resources
Posted by Steve B. at 11/3/2006 2:41:15 PM
Hi, I have a solution with two projects : Client.exe and Library.dll. The app client.exe reference the project library.dll. The solution is set up to deploy only the exe file (to avoid the dll to create a folder in program files, but the dll is deployed along the exe file). Noth client.ex...more >>

Deploying to a Pocket PC
Posted by Mike Nicol at 11/3/2006 1:16:02 PM
HI there I have an app written in .net cf 2. I need to create a simple deployment wizard(ish) installation that includes the .net framework. Any ideas or suggestions? Mike Nicol ...more >>

How do I access text file on handheld from PC
Posted by John Kelsey at 11/3/2006 9:24:28 AM
I need to access a text data file on a handheld device from an application running on a desktop system. The handheld will be connected to the PC and available through an activesync connection. Windows Explorer from the PC can see the files and directory structure on the handheld, but I can't...more >>

Confused by database choices
Posted by slopey NO[at]SPAM slopey.com at 11/3/2006 7:12:23 AM
Hi All, I need to do some windows mobile 2005 development which uses a database on the device - I've not done anything database wise since back in the good olde days of pocket access. I'm up to speed on ADO.net but the choice of database is a little confusing. >From the MS site, there's SQ...more >>

About DataType Convert in CF2003
Posted by steel at 11/3/2006 3:15:21 AM
I need Convert a Double Array to a Byte Array for storing it to Database. Does anyone can give me a useful cue? thanks a lot in advance. ...more >>

[NetCF 2.0] Problem with generics
Posted by Steve B. at 11/3/2006 12:00:00 AM
Hi, In a class library, I have a static utility class with a methods that accepts a generic delegate : public delegate void MyDelegate<T>( T dataItem, string mappingName, ) where T : System.Data.DataRow; And a method that use such a delegate : public static void MyMethod<T>( MyDele...more >>

I just need a very simply sample code using VS.Net 2005
Posted by Chris at 11/3/2006 12:00:00 AM
Hello all, I'm VS.Net 2005 newbie, I have experience on eVB Tools. but when I transport to VS.Net 2005, I have no idea. my mobile device is Windows Mobile 5.0 (5.1.70) Processor: ARM920T S3C2440A I'm trying to build new project in Visual Basic\Smart Device\ Even the local/offline DB o...more >>

how to detect if power cord is plugged-in/put
Posted by Terence at 11/2/2006 7:56:02 PM
hi, I have problem about detecting power cord plug-in/out to display some information. I am developing a application that displays current battery usage and status. currently, I can get "battery life time" and "battery status" (like high, low, charge...) correctly. however, if user plug-i...more >>

CF Mouse wheel events
Posted by David Jones at 11/2/2006 3:36:03 PM
I have posted on this before and tried a few low level things without much sucess. I want to trap the mouse events in a multi form Windows Mobile 5 application. The forms are full screen, taskbar hidden, auto scrolling disabled. Using a Stowaway Bluetooth mouse and its driver. Whilst wh...more >>

How to develop Windows Media Player Mobile application for Pocket
Posted by PHIJO MATHEW PHILIP at 11/2/2006 7:22:01 AM
Hello Friends, Can any how to develop applications for Windows Media Player in pocket pc? What are the sdk need required to develop application in window mobile 5.0 using Media Player using compact framework. Kindly pass any information to me regarding this issue. -PHIJO MATHEW PHILIP...more >>

Push Listener
Posted by Groghz NO[at]SPAM gmail.com at 11/2/2006 6:40:22 AM
Hello, I try to make a push listener for PPC/SP. On a desktop device, I would simply launch a thread with a TcpListener and listen to incoming push notifications. 1/ But for a mobile phone, the device ip adress changes very often. Is it possible to be notified (by an event) when the phone...more >>

Bluetooth GPS
Posted by Chris Oswald at 11/2/2006 6:14:44 AM
I have a GPS program I wrote with the help of OpenNetCF's GPS library, which is great by the way. The only gripe I have (Not with OpenNetCF) is every time I turn on the GPS unit and try to connect, it asks me if I want to add the device to my Bluetooth device list, then prompts me for my passk...more >>

Securing code in WM 5.0 (Obfuscation)
Posted by sync at 11/2/2006 3:56:02 AM
Hi All, I have tried out obfuscation using Dotfuscator Community Edition provided in Visual Studio 2005. It has been a pain for me as the application that being built is quite complex and references multiple dlls. Exceptions such as MissingResourceException and NullRefenceException eventual...more >>

Packaging Dlls into a Single Exe file
Posted by sync at 11/2/2006 3:44:02 AM
Hi All, I have a created a WM 5.0 application. It references to multiple custom dlls. May I know whether these dlls can be packaged into a .exe file together with the main application? The reason for this to prevent user from accidental deletion of these dlls and for security purpose. ...more >>

Custom Controls??
Posted by Steve at 11/2/2006 2:59:02 AM
I am trying to create a custom DataGrid. I have written the custom object as a class. I dropped a normal datagrid on to my from designer, then edited the code to make it a customgrid instead of the datagrid. it builds fine, but when I view the form in designer mode I get errors, and the ne...more >>

File.WriteAllBytes for Pocket PC
Posted by Nicolas at 11/1/2006 11:53:19 PM
Hi, How can I convert this following code (from a window application) in a device application (for PocketPC) imports System.IO CONST FILE_NAME1="myXMLfile1.xml" CONST FILE_NAME2="myXMLfile2.xml" File.WriteAllBytes(FILE_NAME1, File.ReadAllBytes(FILE_NAME2)) I tried the following but I di...more >>

Panel & click event
Posted by Emss at 11/1/2006 8:13:33 PM
Hello, I'm discovering CF 2.0 & C# development and I'm trying to create an application for my Orange SPV-M3000 (WM5). I need to group labels on a panel and make this panel react to clicks/taps. I thought about creating a button that would cover the whole panel area and change the backgr...more >>

Detecting if device conected is WM 5 or 2003
Posted by Dave at 11/1/2006 10:58:07 AM
What's the easiest why to detect the version from the desktop ? I've tried using the RAPI wrapper from opennetcf.org but running into errors using myrapi.GetDeviceVersion() from http://msdn2.microsoft.com/en-US/library/ms837846.aspx on a WM5 device I'm guessing due to security restrictions ...more >>

Problems connectiong using 5.0 & activesync 4.2
Posted by ignacio machin at 11/1/2006 10:15:01 AM
Hi All, I have a problem with a new device I got ( Symbol MC9090 ) it's running Windows Mobile 5.0 and it has installed a program I wrote that establish a TCP connection to a remote machine. When I connect the PPC to the cradle I see like a new network connection trying to get an IP in t...more >>

Hiding Vertical Scrollbar in Listbox
Posted by Naresh Mirkhelkar at 11/1/2006 8:46:02 AM
Hi I am working on pocket pc and using .NetCF. We disable any stylus operation to protect the screen from scratches, as a part of which we disable any vertical scroll bars operation. Can someone please let me know how I can hide a vertical scroll bar over a listbox. The below code works fin...more >>

MSI WindowsInstaller.Installer List of products
Posted by rony_16 at 11/1/2006 6:15:07 AM
Hi, I am using the following code : WindowsInstaller.Installer i = null; Type oType = Type.GetTypeFromProgID("WindowsInstaller.Installer"); if (oType != null) { i = (WindowsInstaller.Installer)Activator.CreateInstance(oType); } WindowsInstaller.StringList s = i.Products; fore...more >>

OpenNETCF.Net.DeviceStatusMonitor.StopStatusMonitoring not terminating worker thread
Posted by polly.hart NO[at]SPAM googlemail.com at 11/1/2006 4:49:43 AM
Hi, Calling OpenNETCF.Net.DeviceStatusMonitor.StopStatusMonitoring is not freeing up the worker thread: SDF P2PQueue handle-monitoring thread. So when my app tries to close it can't. Is there a bug for this? SDF 2.0. Thanks. ...more >>


DevelopmentNow Blog