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
all groups > dotnet compact framework > may 2004

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Launching external app
Posted by Vitaly Zayko at 5/31/2004 8:58:29 PM
Hi all! How to launch an external exe-file on PocketPC from C# application? For example if I need to open help file I need to run peghelp.exe Thanks! Vitaly ...more >>


Database - SPEED
Posted by Keith at 5/31/2004 8:33:44 PM
Hello everyone. With the enormously helpful developers out there I was able to customize the code below (most of which was supplied TO me (Thank you)). However, what I'm finding is that there is a speed delay problem - from when the button is clicked and the results are displayed. While...more >>

C# or eVC++ ?
Posted by Brian Abbott at 5/31/2004 5:40:24 PM
Hi I'm new to PPC development. I have a app that I wish to develop for PPC2002 and later devices. I started off thinking that C# was the way to go, but doing some research has made me have some doubts. The areas of particular concern are: - The app will connect to a web service and pass ...more >>

IPv6
Posted by Dormi at 5/31/2004 12:54:07 PM
Hi!! Anybody knows if any compact framework support ipv6? I'm making an ipv6 app,and when I call IPAddress.parse with an ipv6 address, it launch an excepttion with ip address not valid. Thanks! ...more >>

Toolbar images invisible in WM2003SE
Posted by MikeB at 5/31/2004 10:42:53 AM
I have some toolbars with images from an image list. They display fine in everything before WM2003SE, but on the WM2003SE emulator, and apparently on real WM2003SE devices too, the images are totally transparent. You can tap the toolbar buttons - they are there but there is no image on them. A...more >>

.NET CF does not work after a restore?
Posted by Gavin at 5/30/2004 9:56:03 PM
H I recently noticed a bug that if a user had to restore their Pocket PC, .NET CF breaks/stops working. I had a customer kind enough to manually install all his files instead of restoring his Pocket PC from a backup and my application worked again Has anyone experience similar problems? Is there...more >>

resizing picture box based on string length
Posted by microsoft at 5/30/2004 9:39:37 PM
I want to resize the width of a picture box based on the length of a string. I have a string "s". I do this in the paint event of a picturebox: Dim font As New Font("Arial", 12, FontStyle.Regular) Dim sSize as SizeF = e.graphics.measurestring(s, font) 'Here's what i want to do that does...more >>

Unable to show a form
Posted by sbryan NO[at]SPAM nsw.counterpoint.com.au at 5/30/2004 8:05:53 PM
Hi all. I am fairly new to VB.NET development in the compact framework, but I think I'm starting to get the hang of it. Anyway, I have a program in development that has multiple forms. One form shows a whole lot of products in a treeview. When the user selects the product, a detailed product ...more >>



best way to replicate Rich Text Box
Posted by microsoft at 5/30/2004 1:42:39 PM
We have several rows of text we want to display but want to be able to change at least the forecolor of the text by row. We are currently putting this info in multiline text box, but no way there of course to discrimanetly change the color of just one row. How are people accomplishing this? We...more >>

Printing Barcodes
Posted by Bert at 5/30/2004 12:36:03 PM
Hi I'm trying to print to a barcode printer attached to the Pocket Pc. How do I do this? I'm using VB.NET for CF. Anybody has a sample code for this? Thanks Bert ...more >>

Pull multiple values from Column to Combobox
Posted by Keith at 5/30/2004 7:09:13 AM
This is 1/2 a SQL Server CE question - 1/2 a CompactFramework question. I'm developing in VB.NET Compact Framework. I want to be able to pull data out of a SQLCE database on the mobile device. I've created the .SDF database file - the application can connect to it. My question comes f...more >>

Custom Control
Posted by Keith at 5/30/2004 7:06:46 AM
Someone was kind enough to send me a control that he developed that does precisely what I need it to do. However - the code was originally written in VB.NET for windows apps. I'm developing for the Compact Framework (CF). When I attempt to add the control under CF - the control is gra...more >>

New to .Net
Posted by Paul Ilacqua at 5/29/2004 1:12:21 PM
I have an Dell Axim with Windows Mobile 2003. I also have VB net and am experienced at VB 6 & SQL Server. How can I write a quick program to get to my SQL Server and then I can expand on the concept. Documentation is very little in writing a quickie and getting it onto the hand held. Please help ...more >>

Animation
Posted by Viper at 5/29/2004 12:42:55 PM
Hi, I want to show an animated picture while I'm synchronising data. I'm using the C# language on a Pocket PC 2003. I tried to use a thread but when I saw that a thread can be started but not aborted I changed my mind. So I went to the timer control of a form, this did'nt work. The last try wa...more >>

Can C# .CF create a programme with multiple language
Posted by micmic at 5/29/2004 11:45:42 AM
Dear all experts, As i found in the internet, there is a C# programme that can make use of the resource manager to choose different lanugage string for particular expression using resource files. But it seems that i cannot use this method in the C# CF programme. Is there any function we can ma...more >>

Using Uninstall_Exit for CF App
Posted by Y. Sivaram at 5/29/2004 10:02:50 AM
I read that using Uninstall_Exit we can clean up application files during uninstallation in the MS Pocket PC Application development guidelines. Can anyone point me in a direction where I can use this feature with a CF application? Best Regards, Y. Sivaram ...more >>

Books reviewed
Posted by Earl at 5/29/2004 8:58:59 AM
I've been on a mission this past year to move from VB6 to .Net. I'm fortunate(!?) not to have the big catalog of some long-time VB developers, although I have some CE apps that have to be entirely rewritten in CF. A lot of what I develop has to be written for the PPc, so I knew I would be lookin...more >>

Send data through ActiveSync
Posted by Mystic Mong at 5/28/2004 8:15:29 PM
Hi everyone, Can someone point me in the right direction towards doing the following? It's not something I've tried to do before so I am not entirely sure what the best method would be: I have an app that runs on PPC2003, written in VB.Net (running on Symbol 8846 units). Data is collected i...more >>

webservice
Posted by eNoodle at 5/28/2004 5:01:56 PM
I had developed a small application accessing simlpe webservice. Everything works fine before i compile and in releasemode, i get an error message saying MissingMethodException. I recompile my solution in debug mode, everything goes fine again. Anyone meet the same problem before, how am i g...more >>

connecting app in Pocket Pc emulator to local SQL server
Posted by Bert at 5/28/2004 5:01:03 PM
Hi, I was able to connect to the SQL server 2000 in the network using the code below. Dim cn As SqlClient.SqlConnection cn = New SqlClient.SqlConnection("user id=sa;password=xxx;database=MF;Server=10.0.0.16") cn.Open() However, I also want to continue working at ho...more >>

How to send a parameter along with an exe
Posted by joby_cg NO[at]SPAM yahoo.com at 5/28/2004 12:45:18 PM
Dear All, I have a console application exe of compactframework. I want to download this exe from the web. How can i pass parameter along with this exe. Response.Redirect("http://jobychacko/helpme/consoleapp.exe {i want to passthe parameter here}"); How is it possible? While downloadin...more >>

Textwriter
Posted by MDB at 5/28/2004 12:20:19 PM
Hello all, I have a text writer that is re-formating some of my characters (& to html &). Is there a way to make it stop doing this? I am new to xml and textwriters so I am not real sure if I am doing this correctly. Here is what my code looks like XmlTextWriter writer = null; System.I...more >>

Missing Paint Messages
Posted by Duncan Mole at 5/28/2004 11:40:27 AM
###This is a repost from a not so lively forum!##### Hi, I have created a control which draws a title bar and provides a drop down menu for a Smart Device Application. It seemed to work fine until I came to add an event handler to act on Paint messages in the form which has drawn the control....more >>

CF and Embedded Resources
Posted by Y. Sivaram at 5/28/2004 9:54:02 AM
Hi, For my CF application I need some configuration settings which I store as XML files along with the exe and load them. I understand that we can include them within the EXE as a embedded resources and load it from there. Is there any issues (other than the exe size) related to performance...more >>

SystemIdleTimerReset in OpenNetCF library
Posted by Joanne at 5/28/2004 9:28:01 AM
I can't find SystemIdleTimerReset is there something in OpenNetCF I can use? I don't want to pinvoke it if i can just call something in ONCF. Thanks ...more >>

PictureBox memoryleak?
Posted by mijapkos NO[at]SPAM cc.jyu.fi at 5/28/2004 3:36:56 AM
I have a program with one PictureBox in it and one button, which changes the image which is shown (actually at the moment there is only two images which are loaded back and forth). After a coule of changes, the application crashes with OutOfMemoryException. At the moment the code looks like th...more >>

Web Exceptions on SX56
Posted by Monty Ghitter at 5/27/2004 11:21:03 PM
I'm getting a lot of Exceptions when making Web Service calls over GPRS from an SX56. Typically it is "can't read data from transport connection" but I have observed others too." I'm running .NetCF 1.0 SP2 on PocketPC Phone Edition 2002. I don't see these errors on the emulator or when connected ...more >>

Which is Faster - Appending to a String or a StringBuilder?
Posted by Joe Keller at 5/27/2004 8:33:27 PM
Hello, For appending characters onto an existing set of characters, is it faster to use a String object or the StringBuilder object? For example, is there any performance difference between the two or is one more appropriate and compact than another: Example #1 string s = "testing"; s...more >>

Referencing
Posted by angka at 5/27/2004 7:46:04 PM
An unhandled exception of type 'System.TypeLoadException' occurred in System.Windows.Forms.dl The above exception is thrown when i run my compact framework application. I can compile the project but when i call a class the above exception is thrown. The class i called consist of full framework dll...more >>

Anyone else having problem debuging on a device with weird errors?
Posted by KJBarnes at 5/27/2004 4:58:06 PM
I am debuging an PPC application written in VB where I get non-recreatable errors when running in debug mode on a device? ...more >>

Form Show
Posted by Christopher Pragash at 5/27/2004 2:10:52 PM
Hello All, I am having trouble displaying forms (eg: Form2.Show) when called from within a form (eg: Form). What I am trying to do is to create an instance of Form2 (objForm2 = new Form2) and then call show on that form (objform2.Show and objForm2.BringToFront). I also try to hide Form1 (Form1...more >>

Custom PB SDK in VS.Net
Posted by Mark Arteaga at 5/27/2004 12:56:08 PM
I created a custom emulator platform using Platform Builder 4.2. The image builds and I can connect to the image using PB to debug. I also created an SDK to be used in VS.Net and eVC. The SDK install on the dev boxes and does show up in VS.Net (device deployment dropdown). When I click on Tool...more >>

Premature Death of a Thread
Posted by Bart Van den Poel at 5/27/2004 11:14:44 AM
I have made a Small Pocket PC app that works over a GPRS network. The App contains a Thread that periodically polls over the internet to see if there are messages for it. If there are, the Thread makes a Webservice connection to a Web Server and gets some data of it. All's well but sometimes t...more >>

Compact Framework TCP Client
Posted by prubbert at 5/27/2004 10:17:03 AM
Hi, I've written a TCP Client and Server app that runs from a CE.Net device = (Client) to my laptop (server). This runs without any problems if I use = my wireless access point to provide the network. However, If I make a "computer to computer" connection using a wireless = card in my lapto...more >>

Solution for RPC with Compact .NET Framework
Posted by Lourenço Teodoro at 5/27/2004 10:11:07 AM
I need to write a server that will run on the Compact .Net Framework. This server will have to execute function calls requested from the client. Because the .Net Remoting is not available in the Compact .Net Framework, the only way that I thought was using sockets. I would appreciate if anyone...more >>

Differences reading XML into listbox in compact framework versus windows forms
Posted by jm NO[at]SPAM microsurveys.co.uk at 5/27/2004 7:26:09 AM
can anyone tell me why this same code works on a normal windows platform but when used in compact framework application produces an argument exception on setting either the valuemember or displaymember ds = new DataSet(); string filePath = @"\Program Files\crp3\airf2.xml"; ds.ReadXml(file...more >>

VS and wireless debugging
Posted by Derek at 5/27/2004 3:36:03 AM
Hi I want to be able to connect my handheld wirelessly to my Visual Studio on my PC and start an application in debug mode. I guess Id also need to install ActiveSync onto my handhled through the wireless network too. How is this possible? ActiveSync and Visual Studio doesnt seem to have wireless ...more >>

How To Hide Mousecursor
Posted by DocDeath at 5/27/2004 2:31:08 AM
How To Hide Mousecursor...more >>

Problem with OpenNetCF.Net adapter
Posted by cescoc NO[at]SPAM yahoo.it at 5/27/2004 2:24:59 AM
Hi everybody. I have writed a small test application to understand the functionalities offered by OpenNetCF.Net namespace. My problem is that, when i do this call in the code: AdapterCollection ac = OpenNETCF.Net.Networking.GetAdapters(); I get the following excpetion:ArgumentOutOfRangeEx...more >>

ContentLength = -1 with HttpWebResponse() ??
Posted by ongg NO[at]SPAM w-linknospam.net at 5/27/2004 1:45:17 AM
In .NetCF, upon trying to access the following URL: http://rss.news.yahoo.com/rss/business via the following code: WebRequest webReq = WebRequest.Create(url); WebResponse webResp = webReq.GetResponse(); StreamReader sr = new StreamReader(webResp.GetResponseStream(), Encoding.GetEncoding("u...more >>

Resource Assembly
Posted by Kokie at 5/27/2004 12:28:48 AM
I have strange problem: I have developed two dll's (SMTP and POP). Later I have created project using those dll's (as a reference). In the Emulator everuthing is working OK. I can use methods and events from dll's. But, when I build CAB's to deploy project on device, I am receiving followin...more >>

Web service connectivity
Posted by Gouri at 5/26/2004 8:21:02 PM
Hello all How do you connect to a Web service on a desktop machine from a Pocket PC. It is giving run time error in a normal fashion Thanks in advance...more >>

choosing .NET mobile control for web application's report page
Posted by Brian at 5/26/2004 6:39:27 PM
RE: choosing .NET mobile control for web application's report page I would like to create a mobile web application having a report page displaying several fields per line. An additional requirement is that it should have an editable checkBox (preferable) or modifyable HTML Link (toggling disp...more >>

Is it possible to catch a barcode scan event ?
Posted by Thomas Christiansen at 5/26/2004 4:54:04 PM
I'm currently designing a solution, with a HP iPaq and a Symbol scanner jacket in mind. I would like a barcode scan to trigger opening a new form with the scanned value as a parameter. Is this possible and if so, how could it be done ? Is it possible to catch a event when a barcode is scanne...more >>

version of CF ..like cgacutil
Posted by A.User at 5/26/2004 4:31:16 PM
I would like to pick up the version of the CF ... like what is shown with cgacutil. I tried something like: // get CF version Assembly cf = Assembly.LoadFrom("MSCorLib.dll"); but this always throws an exception. is there another way? or another dll I should be using? ...more >>

VB.NET CF query remote SQL server.
Posted by Dade at 5/26/2004 2:37:08 PM
Im new to the VB.NET stuff but I am looking for a way to query a remote SQL database from a pocket PC application. I have done this in the past with VB6 in wondows using data environment disigners but I dont believe that this is supported with the compact framework. Any help or sample code wou...more >>

PInvoke'd strings seem to be different from what is sent
Posted by Richard.Gohs NO[at]SPAM Pa-Tech.Com at 5/26/2004 2:32:31 PM
We've got a VB.Net Pocket PC application calling an unmanged C DLL. One function in particular is giving us problems. This function takes an XML string as input and attempts to locate a value and return this value out. This function is declared as ... HRESULT GetSessionIDW (/*[in]*/ LPCWSTR ...more >>

All .NET Forms showing in Running Programs List
Posted by Bill Mitchell at 5/26/2004 11:20:12 AM
I am sure this has been asked before but I could not find in previous threads. My vb.net PPC application is showing every form in the control stack in the Pocket PC's "Running Programs" list. My Dell Axim has a custom utility called Switcher Bar which also shows running apps and allows a us...more >>

XML Reader
Posted by MDB at 5/26/2004 10:06:33 AM
Hello all, I am having problems reading XML and keep getting this error: {"This is an unexpected token. The expected token is 'NAME'. Line 1, position 21." } Can anyone help? Here is the XML and the code I am using. I get the error at the ds.read line. xml = <xml version='1.0'?><BOD...more >>

Profiler for .Net Compact Framework
Posted by Faraz Rasheed at 5/26/2004 9:58:49 AM
Is there any profiler available for .Net compact framework? I need to analyze my application for performance and optimize it. Regards, Faraz Rasheed ...more >>


DevelopmentNow Blog