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 > may 2006 > threads for may 22 - 28, 2006

Filter by week: 1 2 3 4 5

Gprs Connection
Posted by kishore at 5/28/2006 10:49:11 PM
how to run the .net pgm using GPRS ...more >>

how to xfer projects to new pc?
Posted by CG at 5/28/2006 3:38:32 PM
I'm changing to a new PC, and will be installing my license of VS.net2003 on the new machine and formatting the HD on the old machine before donating it to a local school. I'm not a programmer, but got .net to create some simple CF projects, which I invested enough time in that I don't wan...more >>

Bluetooth SPP
Posted by Markus Humm at 5/28/2006 12:00:00 AM
Hello, I'm new to bluetooth but shall build a bluetooth connection to a BT device supporting serial port profile. The application uses currently COM1 on the PDA with 9600 Baud and no handshaking whatever. If I simply change the setting to use e.g. COM5 which is displayed as BT Serial UART b...more >>

newbie Question on Form Load Event
Posted by GB21 at 5/27/2006 6:41:33 AM
Hello All, I apologize for this basic question. I've not written many Windows Forms apps. More .net web apps. Anyway, I'm starting a new project for Windows CE 5.0 and struggling a lot. As I have tried to acquaint myself with the environment, I've run my apps in debug many times. While ...more >>

Pocket Pc & Web Service - Very Urgent
Posted by Rami at 5/27/2006 4:43:01 AM
Hi I need to consume Xml web services from a Pocket PC application using Visual studio 2005. The problem is that I cant connect to the web service hosted on the localhost from the emulator even a “Hello Word” web service. The following error occurs: “error: could not establish connect...more >>

Edit Control - GotFocus not working?
Posted by farseer at 5/27/2006 1:14:57 AM
Hi, i have today app that displays a text box. The code below is called from the WndProc handler when a WM_LBUTTONDOWN message is detected. On the first pass, it works fine. That is, when i scroll down to my today item from the today scree, then click the dpad center key, SendMessage with a...more >>

any way to set color for each DataRow?
Posted by lsheung NO[at]SPAM gmail.com at 5/26/2006 11:58:54 PM
Is there any easy way to set the color for each DataRow base on the value of the data? If SolidBrush is the tool, can someone give me a simple example on how to do it? Thanks Lok ...more >>

CF 2.0 XPATH problem
Posted by Jochen Mehlhorn at 5/26/2006 7:13:16 PM
Hey, I'm trying to use Xpath to "query" an XmlDocument, but I am not getting any results. My code looks like this: using System.Xml; using System.Xml.XPath; XmlDocument xmlSourceDoc = new XmlDocument(); xmlSourceDoc.Load(path_to_xmlfile); resultNodeList=xmlSourceDoc.SelectNodes( <<x...more >>



casting a value to a Data-Type that is known only at Runtime
Posted by Reiner Ziegler at 5/26/2006 4:48:28 PM
Hi there, I'm writing my first bigger program with VS2005 (C#) and CF 2.0 (means I'm a newbee to .NET!). I have a problem which I can describe in simple words like so: I wish to convert the Returnvalue of the System.Data.DataRow Indexer (e.g. object outValue = row[index]) (w...more >>

TraceEX and TraceListener...any code examples?
Posted by Will Chapman at 5/26/2006 2:07:21 PM
I've been trying to figure out how to use Trace, TraceEX (OpenNETCF) and TraceListener. Using Trace is straightforward for sending messages to Output but how do I link this with a TraceListener (or otherwize) so that my Trace.Writeline() outputs are logged in a text file? Thanks... Wil...more >>

Hiding the SIP Button
Posted by Ron Weiner at 5/26/2006 12:43:33 PM
I have been having lots of fun for the last couple days trying to eradicate the SIP button from my Pocket PC 2003SE application. I have several forms in the application that have to have Menu bars. Part of the baggage that (apparently) that one gets when one needs a Menu bar is the SIP button c...more >>

Framework 2.0, COM Interop, Managed C++
Posted by ameliev at 5/26/2006 9:02:39 AM
I want to know if there is any possibility to do COM Interop or Managed C++ with the Compact Framework, version 2.0. I've tried both but no success. COM components doesn't seems to work in Visual C#. ...more >>

CF 1 Setting time across Daylight Saving Boundary Issue
Posted by K G O''Connor at 5/26/2006 8:07:02 AM
Hi all I have a CF 1.0 application that needs to keep its time coordinated with that of a server. I am using a P/Invoke of SetSystemTime on the device to set the device time to that received from the server. However I have noted a peculiarity when the new time is in a different daylight sa...more >>

Launch Phone App (cprog.exe) with a phone number
Posted by pete NO[at]SPAM infonote.com at 5/26/2006 5:00:35 AM
Hi Does anyone know if it's possible to launch the Phone application with a phone number? Regards Pete ...more >>

About "ActivateDevice"
Posted by cfyam at 5/25/2006 6:19:10 PM
How can I use "ActivateDevice" and "DeactivateDevice" in my.NET CF ap? ...more >>

Be unique in Bluetooth group list
Posted by kalbabtain NO[at]SPAM gmail.com at 5/25/2006 5:55:23 PM
Hi I've an issue concern me. I would like sending Bluetooth messages from laptop however I won't any one else I can send by this laptop Bluetooth name. I know when some one else use my laptop Bluetooth name he can imitate me and the other users will receive these messages. I would like b...more >>

How to extract cabinet files programmatically?
Posted by krupa.p NO[at]SPAM gmail.com at 5/25/2006 1:30:31 PM
Hi All, I need to install a cab file that is already downloaded to my Windows Ce device. How can I do it from my program? I want to run my application when the device boots up. Any thoughts on this? My application is in C#, compact frmework 2.0. Is there anything similar to CreateProcess() ...more >>

LocalFree Fails to Release Memory
Posted by Giorgos at 5/25/2006 1:16:43 PM
I allocate 10mb of memory to my program using the following code, which works fine. IntPtr[] p = new IntPtr[10000]; for (int k = 0; k < p.Length; k++) { p[k] = LocalAlloc(LMEM_FIXED, 1024); } Then, I try to release the memory using the code below. The problem is t...more >>

Interop Error: Causes generic TypeLoad error...
Posted by Robert Bouillon at 5/25/2006 12:00:36 PM
I'm creating a managed wrapper for printing, and I defined a struct to marshal some data. Because of .NET interop limitations on .NET CF, I defined the struct as LayoutKind.Explicit. The CLR threw a "Could not load type" on the implementing class when I declared the a variable for the struct. Ch...more >>

Launch .reg files
Posted by nicolas.lelievre NO[at]SPAM gmail.com at 5/25/2006 10:42:29 AM
Hi, Is it possible to execute an .reg file in order to put the change into the registry. Is there a way to do it direcly in the my application and/or is it possible to do it by another way ? I noticed that you can not lauch an .reg file direcly from the explorer. Thanks, ...more >>

Synching PDA and Host...
Posted by Rob at 5/25/2006 10:25:15 AM
New to PDA's and compact framewrk... I see there are some basic options when synching a PDA and a Host computer... how can you do more robust synching ? For example...host computer has a folder contining files to copy to a PDA, then once transferred, delete them from the host computer. ...more >>

CF 2.0/WM2005 and Today Plug-In
Posted by farseer at 5/25/2006 10:16:12 AM
Hi, quick question...with the realese of CF2.0 and WM2005, is the process of writing a Today plug-in different than what is dicussed here? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnroad/html/road09122001.asp http://msdn.microsoft.com/library/default.asp?url=/library/en...more >>

Sending AT Commands To GPRS MODEM
Posted by tony at 5/25/2006 9:19:23 AM
hi. i have wavecom gprs modem, a builtin modem. (Wavecom Q2406). my question is, i know that i can send AT Command throught serial com, but when i try this, i dont get any reply from modem. the question: i must use a modem driver to "open" it ? or just openning com1 , and start sending...more >>

ActiveSync question
Posted by chook.harel NO[at]SPAM gmail.com at 5/25/2006 5:53:11 AM
Is there a way to know on the terminal if it is connected to a computer host? (like the opposite way RAPI connected...) ...more >>

Multiple Exe in solution
Posted by chook.harel NO[at]SPAM gmail.com at 5/25/2006 3:03:09 AM
Hi, i'm building a solution for PPC2003, If I want to have more than one exe file to the solution (more than one project) can this still be done? or it's better to build them in diffrent solutions and build each one to the terminal chen ...more >>

System.IO.Ports.SerialPort problem to read binary data
Posted by pavel.orehov NO[at]SPAM gmail.com at 5/25/2006 12:48:22 AM
Hi, I am using .Net SerialPort class to read binary data form COM port. The problem is that i am getting some bytes of data corrupted. Some of bytes are changed by ParityError byte (default=63). Strange that i don't get an error event. Here are the configuration of the port: portCo...more >>

TerminateProcess() with EVC++
Posted by Bks at 5/24/2006 10:57:36 PM
I want to terminate a running process from the task manager using evc++ code. i am using this code : HANDLE hTl,hProcess; PROCESSENTRY32 pe; bool bFound=FALSE; DWORD dwExplorerProcessID; hTl = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if (hTl == INVALID_HANDLE_VALUE) Mes...more >>

How to receive incoming phone call without using TAPI on Windows Mobile 2003 SE Phone edition
Posted by Tihomir Ignatov at 5/24/2006 6:52:50 PM
Hi All, I want to detect incoming phone call on Windows Mobile 2003 SE Phone Edition. In the same application I'm using GPRS for TCP communication and if the phone functionality is running with TAPI I have a problems with GPRS reconnection. How to detect incoming call without TAPI ? An other...more >>

HardwareButton Class doesn't work - red and green telefon buttons
Posted by PWF at 5/24/2006 5:27:02 PM
Hi, I am trying to get access to the red and green phoen buttons. I thought that the HardwareButton class would do the job. I am trying my code in the emulator and on a device but this doesn't work as I expected. I am using CF 2.0 SP1 beta on WM5.0. On my device I can catch Appkey 1 - 4...more >>

Formstack revisited
Posted by Boomhauer at 5/24/2006 2:56:41 PM
Anyone know of a newer "multiple form stack" existing/being developed for cf 2.0 use? I had tweaked one of these a lot to add certain functionality i needed, and would like to use something similiar in cf 2.0, but would like to know if anyone is working on this before i jump in and build some ...more >>

WS connection issues - over wifi
Posted by Boomhauer at 5/24/2006 2:41:47 PM
We have a cf 1.0 (sp3) app that calls webservices to exchange data with the server. In order to enhance performance, I create an instance of the ws and cache it for the life of the app. This seems to work well overall but it seems to get confused sometimes when we switch between various wifi ap'...more >>

choose CF on deploy
Posted by Bruno Alexandre at 5/24/2006 1:53:58 PM
Hi guys, in VS2k5 how can I choose the Compact Framework (2.0 or 1.x) to deploy? does it use always the latest version (2.0)? I have a Symbol MC1000 (barcode reader) with Windows CE 4.2 and if I deploy using ce 5.0 it try to install CF2.0 and the device gives me an error cause 2.0 is o...more >>

COMException "Class not registered"
Posted by Polad Mirzayev at 5/24/2006 1:40:49 PM
Hi there, I'm working on the .NETCF 2.0 application for PocketPC and I have a third party ActiveX DLL (AXISMEDIACONTROL.dll) that I need to use on my form. I use AxImp.exe tool to generate C# source of the Interop library of the DLL. It creates a class that is derived from AxHost. Everythin...more >>

How do I install GAC to storage card in CF 2.0 SP1 ?
Posted by maps NO[at]SPAM amudanan.com at 5/24/2006 1:39:41 PM
Hello all, I trying to develope on a 4.2 CE device using CF2.0 SP1, but when I install NETCFv2.wce4.ARMV4.cab I get "Unable to add files to GAC". I belive I do have enough memory (see below). Does anyone know what I should do? will installing the GAC to the storage card help? I know it should b...more >>

Changing the CF exe output folder
Posted by joelcochran NO[at]SPAM gmail.com at 5/24/2006 12:44:30 PM
I have a VS2005 CF exe that is going into a folder in Program Files, like so: %CSIDL_PROGRAM_FILES%\My_Exe_Name_As_Folder I also have supporting DLLs and such going to: %CSIDL_PROGRAM_FILES%\My_Dll.cf_As_Folder I want these to go in a subdirectory for my company: %CSIDL_PROGRAM_FILES...more >>

NotSupportedException while calling native method
Posted by Santosh at 5/24/2006 10:30:02 AM
Hello Friends, I made a 'dll' in C++ with Visual Studio 2005 with one function. I defined the export function with Extern 'C' to avoid C++ managling. After that added 'dll' to my C# test program and called the method then I am getting Exception 'NotSupportedException'. Jus...more >>

opening Contacts Dialogue
Posted by farseer at 5/24/2006 10:08:28 AM
How can i programatically open the Contact detail Dialogue that shows the details about a given contact (i.e. the various phone numbers, address, emails etc. ) I have found that i can send a message to the Phone dialogue to do this IF that dialogue was previously opened. However, after a sof-...more >>

determine CF version by looking at the CAB
Posted by lightreader NO[at]SPAM gmail.com at 5/24/2006 8:32:00 AM
Hi, Might be a silly question. How can I determine by looking at a CAB file if it is 2.0 or 2.0 SP1? thx, LR ...more >>

CAB file install on Windows CE 5.0
Posted by lightreader NO[at]SPAM gmail.com at 5/24/2006 8:05:20 AM
Hi, I am trying to install a couple of apps which are packaged as CAB files. When I double click on any CAB file I get the following error: No .CAB files to install: Please specify a .cab file or double tap a cab file to install the application. The same CAB files works fine on the CE 5.0 e...more >>

Problem with deployment of config file
Posted by Miroslaw Praglowski at 5/24/2006 2:40:20 AM
I have a Smart Device application with app.config file. Everything works ok (I'm using OpenNET.CF SDF 2.0 to read configuration) except one thing - when I deploy my project on emulator (or device) using Visual Studio 2005 config file is not deployed. Also localized resources for assembly referen...more >>

TreeView no on-click-event
Posted by Rene Scharf at 5/24/2006 12:00:00 AM
Hello NG I have a Treeviev and use the AfterSelect event for the work with the Data. But when i try to select a selected node nothing is happend. clearly the node is selected. But i cant find a onclick-event and all other events fired to the wrong time. Is it possible to put a new event ...more >>

Startup problem
Posted by Davis at 5/23/2006 5:36:39 PM
Hi, i've created a simple Form app (called Form1) in VB targeting PPC03 emulator. I have the following code to start App Public Shared Sub Main() Application.Run(New Form1) End Sub However i'm getting a NullReference Exception was unhandled error when i download program from IDE at the li...more >>

GAC
Posted by Peter Morris [Droopy eyes software] at 5/23/2006 5:13:15 PM
I have an installation project for my dotnet V2 CF app. If I specify the app folder as the target for all of my DLLs then it works fine, but if I move some of the DLLs to the GAC folder instead my app complains that it cannot find them when it first runs. Am I missing something? Does putt...more >>

DllImport
Posted by Davis at 5/23/2006 4:45:54 PM
Hi, I'm using DllImport keyword doing a PiNvoke, i've basically copied and pasted some code. I get error Type DllImport not defined Which library do i need? ...more >>

Dynamic MainMenu Events?
Posted by switchblade.groove NO[at]SPAM gmail.com at 5/23/2006 3:41:04 PM
Hi, I am hoping you can help me with a dilema I am running into. I create a number of MenuItems for my Main Menu via an XML file. How can I capture a click event for these menu items? I have been wracking my brain and not getting anywhere and would appreciate any help you can give me. Thanks ...more >>

How to add an icon to the programs group
Posted by egholm NO[at]SPAM gmail.com at 5/23/2006 1:02:57 PM
Hey Do you know how to add an icon to the programs group on a pocket pc running windows 2003? I'm using Visual Studio.NET 2005 (and CF 2.0). My solution have the following projects: - CustomInstaller - Device Application - Smart Device CAB project - Setup project I want the Setup Proj...more >>

Control width of columns in listview
Posted by Rob at 5/23/2006 7:06:03 AM
How do you control the column width of a listview ? Funny thing.... When I use the emulator the list view appears to populate with reasonable column widths, however, when I port the app to a PDA, it populates with adequate column widths initially, but when I call the listview a second time...more >>

Help! PPC Setup Application that can be run directly from SD Card
Posted by PPCNewbie at 5/23/2006 5:02:01 AM
hi, i need to create a setup application for my ppc app. but the requirement is, it must be run directly from sd card (or mmc, whatever) not from desktop using ceappmanager. and also, is it possible to create such setup app that will include other necessary files like .netcf cab and sqlce...more >>

Find Contact Problem
Posted by Jogi at 5/23/2006 2:51:44 AM
Hello, i want find a Contact with the BusinessTelephoneNumber. When I try this: OutlookSession os = new OutlookSession(); string callerId = "+49xxxxxxxxxxxxx"; string res = "[BusinessTelephoneNumber]=\"" + callerId + "\""; Contact c = os.Contacts.Items.Restrict(res)[0]; if (c != n...more >>

HOW TO: Send a file from PDA to a computer on LAN
Posted by Adnan at 5/23/2006 1:51:02 AM
hello i am trying to move a file programmatically from PDA to a computer on LAN. for example when i connect my PDA to my pc A and when i start my application on pda and press send then a file from my pda should transfer on pc B which is on LAN. Any help, suggestion, comments will be h...more >>

Load test for PDA to server
Posted by KNC at 5/23/2006 12:55:43 AM
Hi all, First of all, I'd like to provide some info about our program model: 1) Architechture: PDA -> webservice(Business webserver) --> SQL Server(database server) 2) Everyday, size of transaction data is communicated around of 2 MBs 3) If there is upgrade version, the whole p...more >>

Problem with NullReferanceExeption
Posted by Erik at 5/23/2006 12:00:00 AM
Im writing a GPS application in VB. The application get a input from my GPS, but often crashes with the error of: NullReferanceExeption Application::Run+0xF ApplicationName::Main+0xd Have experienenced this at the input and also when I try to write the result to a textfile. Any suggest...more >>

Click event on buttons with the same location on different Forms
Posted by Mihai Tataran at 5/22/2006 8:56:49 PM
Hello, I have a strange problem regarding the handling of the Click events in a Windows CE (with .NET Compact Framework) application. Here it is: 1. I am in FormA and i press a button which would make the application navigate to a FormB. But i accidentally press it twice. 2. The unloading ...more >>

ContactCollection.Find - searching via multiple properties
Posted by farseer at 5/22/2006 6:24:54 PM
Hi, Is there a way to search the ContactCollection by say FirstName, LastName and PhoneNumber? it seems the Find method takes a PropertyDescriptor which means you can only search via one property it seems...unless i am missing something. OutlookSession ol = new OutlookSession(); ...more >>

Visual Studio 2003 and MC3090G Symbol device
Posted by Niki at 5/22/2006 4:56:38 PM
I've recently got a MC3090G Symbol Device with window CE 5.0 Pro. I'm trying to develop C#.NET application for it. So far I have installed the following on my pc: ActiveSync 3.7 Visual Studio 2003 Visual Studio Add-on pack SMDK 1.03 when I try to execute a sample program provided on the SMDK ...more >>

Open a form in designer takes 1,5-2 minutes.
Posted by Tore Stensby at 5/22/2006 2:40:47 PM
During (after) migration to Visual Studio 2005, I got some problems with some of my forms opens _very_ slow when opening in design-view. When migrating I tried different things, but ended up with this: - I created a new solution, with a new project targeting Pocket PC 2003 (Device Applicatio...more >>

obtain unique ID for a smartphone
Posted by Juan at 5/22/2006 12:19:51 PM
hello: How can I obtain an unique identifier for my smartphone? I'm using c# and the external function "KernelIoControl" in pocket pc, but in smartphone it does'nt work. Thanks. Juan ...more >>

Problem with display
Posted by Kumar at 5/22/2006 11:53:39 AM
Hi, I recently upgraded my hp4700 from the 2003 OS to the new Windows Mobile 5.0 version. Now our Pocket PC application (NETCF 2.0 App) is displayed much smaller on the screen. (As if it were a Smart Phone.). All the controls on the forms are squezzed. If I load my application on a pre-lo...more >>

Connect to Remote MySQL Database
Posted by Jody at 5/22/2006 11:44:02 AM
Is it possible to connect from a WindowsMobile 5.0 Device to a remote MySQL Database. The only dll's found are for desktops. If anyone can point me in the right direction here, it would be appreciated. -- Jody...more >>

Namespace
Posted by mosh707 at 5/22/2006 9:12:12 AM
I was running a windows mobile 5.0 C# application to general security library dll. But some of the abstract classes that are used in the code are not compatible with windows mobile. If you know a way to solve to resolve this complication please help. The classes: DeriveBytes KeyedHashAlgor...more >>

How can I use a .NET component in an HTML page? (WinCE 4.2 and CF
Posted by Alejandro Lagos at 5/22/2006 6:35:02 AM
Hi, we have an application which use a DHTML page (WinCE 4.2). This page use a COM object (written in eVC++). We want to migrate this COM object to .NET (CF1.1) and use it inside the HTML page (javascript/vbscript). Is this possible in WinCE4.2 and CF1.1? WinCE5.0 and CF2.0? Thanks....more >>

Standalone Device Emulator 1.0
Posted by tamberg at 5/22/2006 4:24:22 AM
http://www.microsoft.com/downloads/details.aspx?FamilyID=c62d54a5-183a-4a1e-a7e2-cc500ed1f19a&DisplayLang=en ...more >>

Debug.Fail (Suppressing Assert messagebox)
Posted by Mark W.B. at 5/22/2006 4:24:12 AM
Hi all, I have made a custom tracelistener that writes Debug trace messages to an xml file. I have added this new tracelistener with the following lines of code: xmlListener = new XmlTraceListener("\\TestRunnerTrace.xml"); Debug.Listeners.Add(xmlListener); The new TraceListener works fine,...more >>

Reg - DateTime.ToFileTime() having Bug..
Posted by rajesh_s76 NO[at]SPAM hotmail.com at 5/22/2006 4:08:47 AM
Hi Gurus, i am facing problem using ToFileTime() function in DateTime Cass. 1. I set the Date in st; DateTime st = new DateTime(2006,05,22); 2. i created new datetime variable DateTime ft = new DateTime(); 3.// i assign the st into ft. ft = st; 4. // Converting to FileTime, its returi...more >>

Hide messageboxes of external dll
Posted by chook.harel NO[at]SPAM gmail.com at 5/22/2006 2:42:50 AM
Hi, i'm using PRINTCE.DLL to print to a mobile printer (building for POCKETPC2003) the problem is that all my windows are maximaized inorder to prevent the user from clicking the start key.. But when the dll is running (printing in progress) it shows a message box with the status of the print...more >>

.NET Micro Framework
Posted by tamberg at 5/22/2006 2:06:52 AM
http://www.aboutnetmf.com/entry.asp ...more >>

How to Show Two font character at one Label
Posted by Peter King at 5/22/2006 12:13:35 AM
Hello All, I want a Label displaying two languages at the same time, but I can only set the font to display one language at one time. How to set the Label and make it display the two language: Japenese Characters/Korean Characters Many thanks, Peter ...more >>

error retrieving information from user datastore
Posted by Nathan Franklin at 5/22/2006 12:00:00 AM
hello list, i am writing a pocket pc project. just this morning i opened up my project and I got the following error.. error retrieving information from user datastore. and then the project could not be opened because it refers to a device platform that does not exist in your datastore...more >>

Assembly not appearing in the Add Reference Dialog box for .NET CF ...
Posted by Vipul Pathak at 5/22/2006 12:00:00 AM
Hi Every one, I am working on deployment of a library. When the library installs on a user's machine, I want that the installed assemblies should get listed in the "Add Reference" (AddRef) dialog box of the user's Visual Studio .NET. I tried to make some entries into registry so that the ass...more >>


DevelopmentNow Blog