Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > december 2004

Filter by week: 1 2 3 4 5

Managed C++ for .NET CF?
Posted by Eugene Mayevski at 12/31/2004 9:01:58 PM
Hello! We have an assembly written in managed C++ (this is needed cause it incapsulates large amount of platform-independent C code). The same code is compiled ok with eVC 4. Is there a chance to compile Managed C++ assembly which can be used in .NET CF? I understand that we can create a DLL w...more >>


How to control the volume of the CE devic in CSharp
Posted by compboy at 12/31/2004 3:56:05 PM

Xml to SqlCe
Posted by Graeme Richardson at 12/31/2004 11:47:37 AM
Hi, I have an xml and an xsd file on the handheld. I've created a new [empty] SqlCe dB file in code. What's the most efficient way to get Xml data into the database? I can do it by creating a table with an SqlCeCommand, and then populating the table record by record from a DataTable (from D...more >>

Activesync service
Posted by Robert Camsky at 12/31/2004 10:58:18 AM
Hi, does anyone know how to write an own activesync service in .NET C#? Thanks for any advice. Regards, Robert ...more >>

DataRowCollection.Find Method throws invalidcastexception
Posted by Sagaert Johan at 12/31/2004 1:01:47 AM
This peace of code throws an invalidcastexception on the find method, Why ? (the same code with the same xml files does not ggive any errors.in the full framework) int i=0; DataSet dss=new DataSet(); dss.ReadXmlSchema("localarm.sch"); dss.ReadXml("localarm.xml"); DataRow dr=dss.T...more >>

Pocket PC Error
Posted by Sharon Wan at 12/30/2004 3:27:04 PM
Hi, I got this error when I tried to create a table in sqlce database: Here is the error message: "An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll" Also this msg for the same problem: "sqlCreateTable.ExecuteNonQuery Run-time e...more >>

Select all text in a TextBox
Posted by José Manuel (Computer Xàbia) at 12/30/2004 11:50:41 AM
Hi, I need to all text in a TextBox was selected when the user goes into it. While Click event seems not work, what can I do? Tanks! ...more >>

Change Program ICON
Posted by A_PK at 12/30/2004 10:53:40 AM
Hi, I have developed a Pocket PC application. and deploy to .msi file. After I installed my program to Pocket PC, my program icon is the default icon. I wanna change to my icon, please guide me how to change the program icon. the following is what i have done, but it does not work. und...more >>



How to activate main form
Posted by janezcas NO[at]SPAM yahoo.com at 12/30/2004 7:03:53 AM
Hi, I have the following problem with CF application: 1. I start application with two forms from File explorer, form1 is displayed initially. 2. I open form2 modally from form1, so form2 is on top of the form1. 3. Now I go back to File explorer through Start menu. My application is now hidde...more >>

How to beam an image from one pocket pc to another
Posted by Daniel Friend at 12/30/2004 2:33:34 AM
Does anybody have any sample code.... I see that it is possible, just wondering how (vb code would be great!) Thanks, Dan ...more >>

How to get an image from web and resized for Pocket PC??? HELP!
Posted by Daniel Friend at 12/30/2004 2:30:03 AM
I am trying to get an image from the net to pocket pc. Here is my VB code for my main app... I just need to get this to work and image to be resize for pocket pc. Public Function LoadWebImage(ByVal ImageURL As String) As Image Dim objImage As MemoryStream Dim objwebClient As WebClien...more >>

Debug mode in VS2003
Posted by Giuseppe Porcelli at 12/29/2004 10:21:11 PM
Dear All, can I use debug without any time wait that VS copy all assembly again in the emulator ?? I think that is necessary to copy just the assembly file and not all the connected DLL.. please suggest to me. ...more >>

registry
Posted by vhoward at 12/29/2004 8:46:42 PM
hi, i have an ASUS MyPAL i use C# i want to configure my ppc the first time i launche my app, because i have many elements to configure and a lot of ppc to configure (about 1000) i need to configure this : - the 4 buttons - luminosity (?) and backlight (?) - sorry for my englis...more >>

OpenNETCF SDF 1.3?
Posted by Scott J at 12/29/2004 2:45:09 PM
Hi! Has anyone heard when we can expect to see the new version (1.3) of the OpenNETCF Smart Device Framework? There are some really good things that I have been hearing about (Mainly FTP & the new GPS stuff) and I was wondering when they were going to be all wrapped up together into a nice, ...more >>

Can you create CF binaries in Managed C++?
Posted by John Paulsson at 12/29/2004 2:12:58 PM
Is it supported now days? ...more >>

Create Menusystem using ListView in WinCE
Posted by Frank Dietrich at 12/29/2004 1:57:06 PM
Hi, I would like to create a menu-system using ListView-Controls for a WinCE 4.2 - Device. Just like we see it everytime in many Phones and PDA's The Idea is that I have a ListView for each Menulevel that shows Icons and Text. Clicking on an Item either opens a lower (or upper) menulevel or...more >>

NSIS
Posted by Harry Simpson at 12/29/2004 1:19:45 PM
Anyone using NSIS besides me? Harry ...more >>

ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"
Posted by Liren Zhao at 12/29/2004 12:59:04 PM
ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor". Can any one tell me where I can find it? ...more >>

Problems while Changing Screen Orientation
Posted by Saurabh at 12/29/2004 11:49:29 AM
Hi, Can anyone please tell me any other way(s) to change the screen orientation. Currently, What I did is: 1) Develop the UI based on a particular screen orientation ( portrait - 240X320). 2) In the resize event of every page, I found the ratio of height for the current clientrectangle heig...more >>

capture HWKeys
Posted by darren at 12/29/2004 11:01:09 AM
i need help in capturing HWKeys in vb.net CF can some one help? i use SHSetAppKeyWndAssoc, but i dont know how to get the me.hwnd(the way that i did it in eVB)...more >>

Parameterized type casting?
Posted by Tomer at 12/29/2004 9:27:47 AM
Hi, Few questions: 1.How can I change during run time the type casting I'm performing on an object? for example, something like this: Type controllerType = Type.GetType("controllerTest"); return (controllerType)controller; where controller is the type of the base class and controll...more >>

Win32GDI - Arc function
Posted by Keven Corazza at 12/29/2004 7:13:40 AM
Hi, I'm developing a graphic application and, for speed reasons, I'm calling Win32 GDI functions using PInvoke. Now I need to use Arc function but when I call it I get a Missing Method Exception. Is this function not exported ? How can I check if a function is exported and can be used or no...more >>

ContectMenu, Datagrid & HitTestInfo
Posted by MDB at 12/29/2004 6:45:24 AM
Hello All, I use the below code to get the cell a user clicked in order for the context menu to pop up and for some reason, I can click on or around the exact same area and always get different results. Is there something that I am missing or something I am doing wrong to get the correct cell...more >>

Add bitmap to Resource file
Posted by Keven Corazza at 12/29/2004 5:51:09 AM
Hi, I would like to add some images on resource file .resx; in this way I can load the bitmap by code using GetObject method of ResourceManager class. I suppose that this way to work is better than use Image.FromFile method... How can I do that ? Can resource file resx be modified ? Thank...more >>

System.Net.Dns.Resolve & System.Net.Dns.GetHostByAddress bugs
Posted by Gen at 12/29/2004 4:49:13 AM
Hi all, Why this functions throws exception "No such host is known" on string which contains IP address? Best regards, Gennady ...more >>

Dispose or not dispose ?
Posted by Keven Corazza at 12/29/2004 2:41:02 AM
Hi, I'm quite new to compact framework but I've read several articles on it, I've explored codes and so on. What's is not clear to me is if it is better or not to call the dispose method when an object is not more used. I read that the garbage collector make the job for us but in other ar...more >>

Compact Framework 2.0 beta Doc??
Posted by Liren Zhao at 12/29/2004 12:29:55 AM
I have read a ppt about Campact Framework2.0. It have some sample code like "using Microsoft.WindowsMobile.....". I can't find it in my vs2005 bata. Why? ...more >>

threading and control.incoke problem
Posted by Hauer Wolfgang at 12/28/2004 8:52:41 PM
Hi! I have an baseclass in the full framework wich encapsulates threading. Recently i have expanded it for throwing an event when the thread has finished. Because the event runs on the calling thread, i make a control.invoke(delegate). This runs fine in the full framework, but crashes wit...more >>

how translate UNICODE to ANSI
Posted by Naveen Mukkelli at 12/28/2004 8:09:05 PM
Hi, I need to send a string from my DLL( in eVC 4.0) to a C# application. I have declared the string as "char *someString". for example, ********code in my DLL******* char *someString; someString = (GetString)(...); // GetString is a pointer to a function in a ...more >>

Problem with the clock - pocket PC 2003 Emulator
Posted by Christian Brüske at 12/28/2004 5:20:31 PM
Hello! I am working on my master thesis and develop an client-server application. So I do not own a real smartphone with windows mobile 2003, I use the emulator. For my application it is necessary to have the correct time, but the clock on the emulator do not work. It increases the seconds,...more >>

Getting a problem while developing outlookaddin with c#.net form
Posted by baluveer_mukkamala NO[at]SPAM yahoo.com at 12/28/2004 3:18:15 PM
Hello, I am developing outlook addin in c# . It adds two toolbars or = (command bars ) and some buttons (command buttons) to the command bars = .. Each command has its own functionality .=20 Among those command buttons , there is a button called "preference = button" when press...more >>

targeting WM2003
Posted by JoeFuture at 12/28/2004 3:10:46 PM
Sorry if this is a FAQ. I searched all over for an answer, and I'm still coming up confused :) I'm using VS.NET 2003, and I've installed the WM2003SE emulators packages. When I create a new C# smart devices application and depoy it to any 2003(SE) emulator, I get the popup warning about th...more >>

Can't get Assembly.LoadFrom to work
Posted by Brad Wood at 12/28/2004 2:06:10 PM
I need to programatically determine the version of a .dll. Whenever I call Assembly.LoadFrom I get an IOException. File.Exists tells me that the path I pass to LoadFrom is correct. In a previous post, someone who had this problem was able to fix it by installing SP2 of the framework, but th...more >>

Slow load on MS Smartphone
Posted by Miron Ophir at 12/28/2004 1:43:48 PM
Our application use a lot of graphics as embedded resources. Application load time is 30 to 40 seconds! Without the images it is a couple of seconds only. Is there an optimized way of using graphics in graphics extensive application? ...more >>

I do not understand how to make my scrollbar on a panel work
Posted by Linda Lalewicz at 12/28/2004 11:57:09 AM
I am trying to stretch the dinky screen of the iPaq by adding a panel with a scrollbar. I got the panel on and populated with stuff, and the scrollbar set up but I am not experienced and cannot figure out how to make the scrollbar talk to the panel position. I tried to add this follow...more >>

Programatically Calling a Softkey (device button)
Posted by Zac Maclean at 12/28/2004 9:56:12 AM
First: I have googled this. Lots of info everywhere about using device buttons in programs, but I have yet to find anything on calling a buttton press from a program. I have a program that uses SQLCE and merge replication. I would like to make the update process a few steps shorter by act...more >>

"Unexpected error" strangeness...(ipaq vb.net)
Posted by I HATE PDAs at 12/28/2004 9:23:02 AM
I've written an app that contacts a web server in order to log in, grab and display info based on serial numbers entered, and add the info to a "cart" of sorts on the web server. It's in vb.net, and uses InputBox(...) for the login form (which is shown in the main form's Load event handler) a...more >>

Datagrid doesn't show XML data
Posted by David Fúnez at 12/28/2004 9:12:40 AM
I have a little APP for an iPAQ that runs Ok but it does not show any record, the problem is with the XML File as shown. The APP is a DataGrid and two Buttons, one to save data an one to exit the App. So, any help will be wellcome. **** The Code ***** Dim dsLibros As DataSet Di...more >>

[C#] how to replace FomHbitmap (not supported by CF)
Posted by Freddyboy at 12/28/2004 7:51:02 AM
hello, I develop an application in C# with the compact framwork and P/Invoke. I have a method which return an handle to a bitmap. I'd like to attach this handle to a bitmap to view it. The .NET framework provide the FromHbitmap function however that method is not supported by the compact fram...more >>

New application
Posted by Hermione at 12/28/2004 6:11:01 AM
Hi, I want to developp a new application using Vb .Net for mobile I have many questions I hope to have some answers: 1 - Can I create an Access DB and after use Activ Sync to send it to the Pocket PC 2 - What is better for the DataBase: XML, SQL server, Access Not that the Database ha...more >>

Message Box
Posted by Rahul Sur at 12/28/2004 3:37:02 AM
Hi frnds, How can I programmatically know whether any messageBox is shown over a form in an application? Thanx, Rahul...more >>

How to get GUID of an application ?
Posted by Giuseppe Porcelli at 12/27/2004 6:24:09 PM
I need to know the GUID of an application running on Pocket PC, how to do ? -- Giuseppe Porcelli develop@uniprof.net ...more >>

Confusion in 2003 SE - Dpi Aware CF .Net
Posted by Nathan Mellor at 12/27/2004 2:09:16 PM
Despite all the good resources and previous posts, I admit to having some confusion over Dpi Aware applications in the Compact Framework. This is what I've learned so far: 1. "Normally" a Compact Framework application will look just fine, because all the standard controls get resized automat...more >>

Embedded resource question
Posted by Tomer at 12/27/2004 11:03:11 AM
Hi, I've a gif in my project inside one of its directories (for example: = Graphics\Icons), its is compiled as embedded resource. I can't get the gif's stream when calling the method: Assembly.GetExecutingAssembly().GetManifestResourceStream("GUI.Battery1.g= if"); Where GUI is the assembly...more >>

question about how to handle if row exists
Posted by jayderk at 12/27/2004 10:25:51 AM
Since this is not supported in SQLCE "IF NOT EXISTS (SELECT customer_id FROM customer WHERE customer_id = '{0}') INSERT INTO customer(customer_id,event_id) VALUES('{0}','{1}') what is the recommended way of inserting new rows in the database with a focus on efficiency? a) do a try catch on th...more >>

'System.TypeLoadException'
Posted by Omar Rojas at 12/27/2004 10:19:01 AM
I posted a message similar to this before on this group and solved it by reinstalling the CF. But now it's generated differently, please check it out... I'm developing in VS.net 2003 a windows application that has access to a SQLServer CE Database in my Windows CE.net. when using DataTables...more >>

MORE imgdecmp.dll
Posted by Rani at 12/27/2004 6:43:05 AM
Hello all as Daniel suggested... the situation is like this: I have an OEM device with CE .net 4.2 on it, the image doesn't include the imgdecmp.dll .... the problem that i can't contact the OEM so can i download it or should i throw the device on my BOSS head. thanks and best regards r...more >>

How to stop user from deleting/modifying our application's files?
Posted by Hari at 12/27/2004 6:15:02 AM
hi, my pocket pc application generates some output files and it also make use of some configurable input files(both text files). After starting my program, if any user deletes my input files/output files, my application will not work smoothly and anything unexpected can happen. it may...more >>

Compact framework .NET SP2
Posted by Rani at 12/27/2004 5:49:03 AM
Hi every one : Actually I have VS.net 2003 but idon't how 2 use the new features in the SP2 like the back color of the controls in the IDE can any one help thanks and best regards -- Mirror Mirror On The Wall Who Is The Master Of Them ALL...more >>

Kill automatically started processes
Posted by Cyberdot at 12/27/2004 2:55:02 AM
Hi there, I have an qtek 2020, wich is a pda with telephone functions. My problem is, that there are so many processes running in background (mms, sms, caller id) so my application is sometimes killed after a while (i.e. active sync process is restarted, and there are not enough free processe...more >>


DevelopmentNow Blog