.NET Compact Framework,132 - Smart Device Development,
Recent update: 2008-3-21

Nobody can play videos with Compact Framework 2.0 (lots of posts, no answer)

440 byte By Noulouk at 2008-3-7
Hi,I post several and several message on several and several forums, but nobody answers my question.What I know is that Alex Feinman shows how to do during MEDC 2005 in Las Vegas, but I can't find any docs, videos or articles about his speech.I also know he uses Opennetcf.AxHost, but I can't ...

I really can use some explanations

2001 byte By Hyperion_20 at 2008-3-6
I am very new to this world, there for my questions may appear stupid, sorry for that.I didn't do much developing, but i didn't practice a little in the old VS2003 days. there it was very simple, you choose a Pocket PC 2002 Project (i was writting in C#). you finish to build it, then press ...

Date-entry controls (TextBox style) for Compact Framework 1.0?

324 byte By MarkRejhon at 2008-3-5
Hi,I am looking for an easy way to do date fields for Compact Framework, in one unified control, enforced to a format such as YYYY/MM/DD ... or YYYY/MM/DD HH:MM:SS Is there a way to do this in a single control, or will I have to use multiple TextBox's for each portion of the date and ...

trapping FN key

1208 byte By farseer at 2008-3-3
Currently, on my device, to enter numbers using the QWerty keyboard, i have to press the function key each time, as there is no NumLock function available.So i thought i might be able to simulate this by implementing the following rule:-create a background process that will determine if the ...

Tab Control swap difference in CF?

2528 byte By MikeJensen at 2008-3-1
I'm working on my first CF app, and am finding differences between CF and non-CF handling of the tab control. I've searched and not found any reference to this item, so am hoping to find out if it is a bug or just my misunderstanding.I've created two test apps. One is a ppc2003 .net CF app, ...

Icon Logo Requirements

1101 byte By AllenAlper at 2008-2-28
What is the best way to meet these logo requirements in CF 2.0 and VS 2005. Required: 16x16 and 32x32 Pixel Icons for Application and File TypesApplications are required to register 16x16 and 32x32 pixel icons for their main executable and saved file types. High DPI Implementations The shell ...

Extracting Bitmap from AVI File

276 byte By Hrasheed at 2008-2-27
I am capturing some Video on a windows Mobile device and would like to display a preview of the video file to the user after recording (a thumbnail basically) I have seen a few methods for doing this, but none of them seem to work with the compact framework. Any suggestions?

Application/Process memory usage

149 byte By farseer at 2008-2-26
is there anyway to determine how much he memory footprint of a particular applicaton process is and how cpu usage it is taking up at any given time?

High DPI

253 byte By AllenAlper at 2008-2-25
I am programming for the Compact Frameork 2.0. On a Windows Mobile 5.0 smart phone. I want to provide a different picturebox.image on a High DPI device. In C# what is the best way to determin that I am running in a High DPI environment. TIA, Al

Application/process memory usage

197 byte By farseer at 2008-2-24
How can i determine what the memory footprint of a process or application is? Also, anyway to determine what precentage of the CPU a process is utilizing or whether it is idle? thanks

DLLImport problems

865 byte By farseer at 2008-2-23
i am trying to include the following P/Invoke function in a class: [DllImport("coredll.dll")] private static extern bool TerminateProcess(IntPtr hProcess, uint ExitCode); this is based on an MSDN article found ...

wifi + phone

1192 byte By farseer at 2008-2-22
Hi,i have a Samsung i730. According to Samsung, the phone is designed so that Wifi can be used when the phone is on (i.e. you should be able to recieve or make phone calls while the Wifi is on). the phone shipped by Verizon does not allow this. This implies it may be a vendor specific ...

Problem with XML Webservice and timezone.

3595 byte By DonLeo at 2008-2-22
HELP !!!I have a XML WebService on a machine with a WebMethod that returns a DataSet.The dataset contains a DateTime field.If I test the XML Service I see the following results in the web browser::- <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" ...

2.0 System.Format Exception on Updates with Email Address

1225 byte By kdubious at 2008-2-21
I am trying to talk to a SQL Mobile DB, using the Data Wizards. I have dragged a table onto a fomr as both Datagrids and Textboxes, and the same error appears in both places. When I try to call the update, which in turn calls: Public Overloads Overridable Function Update(ByVal dataTable As ...

Automatically scrolling to the bottom of a multiline textbox with scrollbar in CF 1.0

332 byte By MarkRejhon at 2008-2-20
Hi,Is there a way to automatically scroll to the bottom of a multiline textbox with a scrollbar in CF 1.0?I would like to generate the equivalent of "scrolling output" in my CF 1.0 application, and I am using a multiline textbox to hold the text that I would like to scroll as I add more text to ...

Trap All Key Presses Independent of Focus

928 byte By jonfroehlich at 2008-2-19
Using Visual C# .NET Compact Framework 1.0, I'm trying to trap all keypresses in a top level System.Windows.Forms.Form whether or not the form has Focus. Basically I want to delegate key events on my own.The problem is that only the currently Focused Control receives events (KeyPress, KeyDown, ...

Trouble with DataGridTableStyle under 2.0

824 byte By ScoobyBlue at 2008-2-18
Lets say I have a DataTable with 5 columns and I am only interested in displaying 3 of those 5 columns in my DataGrid. I add a tablestyle to the datagrid and then add 5 column styles to it's GridColumnStyles collection. I configure the desired style properties for each of the five columns ...

How can I set the System Colors in .NET Compact Framework?

5544 byte By DonLeo at 2008-2-17
Hello everybody,I am trying to implement day/night functionality by changing system colors on my hx4700.The following code does not work:======================================================== [DllImport("coredll.dll", SetLastError = true)]public static extern int GetSysColor(int nIndex); ...

Transparent label

303 byte By Coss at 2008-2-16
I have a form that contains a background image. I've placed a label on the form and set the background color to transparent, however the label gets the color of the form and not the background image of the form. How can I get the label's background to be that of the form's background ...

Licensing or copy protection howto?

191 byte By KurtM at 2008-2-15
Which mechanism exist for licensing on a pocket PC ? And how can I protect PPC software from copying ? We will start a commercial development of a PPC Tool. Thanks for your comments Kurt.

sqlcedatareader - how to detect a zero hit?

275 byte By kolya at 2008-2-15
Hi! I am querying a sql ce server database on a pocket pc receiving results as a SqlCeDataReader. How can I detect whether my query returned any rows at all withouth moving the pointer (Read()) and without having to execute a second count(*) query. Any clues? kolya

Splash image while Pocket PC is working

373 byte By unit107 at 2008-2-15
Is there a way to invoke the splash icon (Spinning color wheel) in a Pocket PC device (iPAQ) through VB.NET CF code? Or is this something (a modal-type form) I would have to write as part of a solution and call whenever I need it.any suggestions for displaying a notification when an VB.NET CF ...

Handling Null value

150 byte By unit107 at 2008-2-15
New to Windows CE .net and SQL Server CE. How do you handle(or test for) a NULL value in a SQL CE table column in code (VB.NET CF, Please)? Thanks,

Get Assembly Version (post-build event) - CF 2.0

271 byte By MarkusFritz at 2008-2-15
Hi! is there any way to get the Version of an assembly after it's built? Perhaps with any kind of a post-build macro? The properties dialog of a compiled assembly doesn't show it's version. I don't need the version info at runtime. Best regards, Markus

SP3 question

587 byte By majkeli at 2008-2-14
I have a few questions about sp3. This service pack came as a set of distributable cab files, not as an sdk, so how does Visual Studio know anything about it? It seems to be debugging with an older version of the compact framework. I just ran into issues with this while building an install ...

How to install CF 2.0 on iPAQ

608 byte By Nandor at 2008-2-14
I have an iPAQ hx4700 which has .NET CF 1.0 installed. Where can I find .NET 2.0 CF, and how do I install it? There is a file (NETCFv2.wce5.x86.cab) in my VS 2005 installation under: C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\wce500\x86. Is this ...

Alternate for Sendkeys in Windows Mobile....

503 byte By Prsad at 2008-2-13
Hi...I am developing one Windows Appl. for Windows Mobile 6.0 using compact framework 2.0 and c#.. i placed three textboxes and one button.. Now i wanted to navigate to all textboxes in the form.. means by clicking on the command button focus will set to next textbox.. There is no sendkey Method in...

Using PocketPC serial port

17034 byte By BigBoom at 2008-2-13
Can anyone give me some advice about using serial ports in VS2005 beta 2 on a pocket_pc. At first glance it seems easy, just declare an object as System.IO.Ports.SerialPort with events and process the datareceived event. Simple enough. However, putting this code in a class and tring to generate ...

Mobile (Pocket PC) and MaskedTextBox

283 byte By GlennWJohnson at 2008-2-13
<span>I have been trying to get the maskedtextbox to work on a pocket pc application but am unable to get it to work. I have searched MSDN and found documentation that states it workes on the pocket pc platform. Any help would be appreciated. Thanks, Glenn W. Johnson </span>

Imege in a button

494 byte By Flix at 2008-2-12
It′s posible in this vesion add an image to a button?thanks ...

Is there is any API to get latest Email Recived?

167 byte By Ramesh at 2008-2-11
Hai , I just started the mobile development is there is any way by which we can able to access the email in the inbox of pocket outlook? Thanks Ramesh

RegistryPermissionAttribute on Windows Mobile 2003

735 byte By Adiraz at 2008-2-11
Hi, having some troubles here... within visual studio 2005 beta 2 environment, when i insert the code [assembly: RegistryPermissionAttribute(SecurityAction.RequestMinimum, ViewAndModify = "HKEY_CURRENT_USER")] a) into a normal windows project the RegistryPermissionAttribute will go green when ...

Documentation Error or am I doing something wrong?

585 byte By ManniAT at 2008-2-10
Hi, I have a PPC app which uses two things - a thread and control.invoke.After takeing the code running on PPC to a smartdevice project it tells me thatthread.abort and Control.Invoke(Delegate, Object []) is not available.In the documentation I found for both functions.......Windows Mobile 2003 ...

2.0 Custom controls and API

558 byte By johano at 2008-2-10
Hello, i made a control library with some test controls. They work fine on my other project till i try to declare a function from "coredll" in one of my controls classes. By placing any control on the form in designer, it morphs into a simple rectangle with full namespace name in the middle. I ...

winforms inheritance

206 byte By AntoniodeRojas at 2008-2-8
hi, I have read about possibility of inheriting winforms with the compactframework 2.0, but I have tried it and I have not found the way of doing it. Is it possible ? Thanks Antonio de Rojas

Determine the height of a wrapped string drawn to a control

432 byte By kolya at 2008-2-8
Hi! The method public void DrawString( string s, Font font, Brush brush, RectangleF layoutRectangle ); enables me to apply a word wrap functionality according to the width of the layoutRectangle. However, I want the hole wrapped string to be visible, that means I need to determine the height of ...

Scrollable forms using Compact Framework 1.0?

327 byte By MarkRejhon at 2008-2-7
Hi,I am trying to make a Form scrollable using Compact Framework 1.0 -- Is it possible at all using any workarounds? (Form object, filled with a bunch of controls)I know Compact Framework 2.0 includes this feature (AutoScroll property), but our project requires Compact Framework 1.0 to be ...

Determining the number of lines inside a TextBox control when in wordwrap-enabled mode

456 byte By MarkRejhon at 2008-2-7
For .NET Compact Framework (Version 1.0), I am wondering how to determine the number of lines in a TextBox control when it is in automatic wordwrap mode.Alternatively, how do I detect the minimum bounding rectangle for a TextBox control in order to display all text visibly without clipping?I ...

Cn't get VB2005 Express Beta2 and .NET Compact Framework 2.0 to work

1995 byte By b1zaphod at 2008-2-7
Hi, I've got a HP iPAC rx3715 Pocket PC with Windows Mobile 2003 Second Edition Ver4.21.1088) and a BT-338 GPS receiver & want to write some GPS logging applications. So I've just installed Visual Basic 2005 Express Beta2 (050215.4400) and Microsoft .NET Compact Framework 2.0 (Beta2) ...

VS2005 and CF v1.1

734 byte By VinceAnguiano at 2008-2-7
I've recently installed VS2005 beta 2 and have a Symbol PDA installed with PocketPC 2003 and CF v1. I noticed in the project templates that I can develop a DeviceApplication(1.0) using this IDE, so I did a quick Hello world app. Compiled fine, but when I attempt to deploy it to the Pocket PC ...

Mobile phones

268 byte By AlexSandro at 2008-2-6
I already has developed some applications to pocket PCs. Now I need to do the same applications runs into a mobile phone. Whats the requeriments of the mobile phone and anothers things I need to considerate? What best way to do this migration? Thanks since now!

Using an ActiveX control

803 byte By Intelligence at 2008-2-6
I'm trying to use an Windows CE ActiveX control in a C# Form. The documentation for AXHost states: You typically do not use the AxHost class directly. You can use the Windows Forms ActiveX Control Importer (Aximp.exe) to generate the wrappers that extend AxHost.When I run AxHost, I get the ...

PocketPC SerialPort and turning off/on the device

4692 byte By ManniAT at 2008-2-5
Hi,Here a simple C# example that reads data from a GPS DeviceAssume two Buttons on the form and one Textbox.Further a SerialPort with the DataReceived Event handled in the form. public class Form1 : Form { public delegate void SetText(string strPar); public SetText myDelegate; public Form1() { ...

Get Current Method Name in CF 2.0?

526 byte By MarkusFritz at 2008-2-5
Hi!Does anyone knows a way the get the name of the current method in CF 2.0? At the .Net Framework it works this way:System.Reflection.MethodBase.GetCurrentMethod().NameThanks in ...

Imagelist in CF beta 2

1220 byte By BaronvonTollbooth at 2008-2-4
Visual Studio 2005 Beta seems to produce invalid image list code.For the Pocket PC 2003 I have added 2 icons to an image list and then attached that list to a toolbar.However on loading the application throws an exception when trying to load the first image into the ...

ToolStrip in .NET CF 2.0

398 byte By viliescu at 2008-2-4
Hi, In the documentation, it says that the ToolStrip and subclasses are available for Windows Mobile 2003 for Pocket PC, Windows CE, Windows Mobile 2003 for Smartphone platforms, but there is no mention of .NET Compact Framework Supported in: 2.0 I could not find them with the object browser so ...

VS.NET 2005 BETA2 : Could not establish connection to network

1081 byte By BojanMacele at 2008-2-4
Hello to all! I just create one simple solution in VS.NET 2005 Beta2 with 2 projects: -webservice project (just with default HelloWorld web method) -smartDevice project (who call HelloWorld web method) When I try to call WebMethod the error occurred (I use PocketPC 2003 Emulator): An unhandled ...

Strange bug occurring over time

1685 byte By AdamMishler at 2008-2-4
Hello Everyone! I'm having a strange bug that occurs after running my application for usually more than 10 minutes. I really have no idea whats causing the problem, and have no idea if its related to the framework. Anyway, here's what happens, i'll run my application and it'll run perfectly ...

route and map comparisons

1059 byte By lathajith at 2008-2-3
Hi I need your suggestions regarding my project "Intelligent route navigation system using gps". Basically its a pocket pc pda application . 1)When user enters a destination address ,the application should display a map with the current route the user is travelling ,estimated time and ...

scrollbar in Compact framewok windows form

76 byte By HusseinAhmad at 2008-2-3
how can we make the form scrollable in a windows form in compact framework ?