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 > january 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

Help: buggy activity in compact .net app
Posted by Sarah Smith at 1/31/2004 5:16:29 PM
Hi Guys, I am learning to code .Net apps for my PDA. To start with, i'm making a slide show app. I have a string array which holds the names of image files found in a folder on the device on an SD Card. The app then loops through this array moving through the elements once avery couple of s...more >>

decompiling .NET CF applications
Posted by Conan O'Brien at 1/31/2004 12:47:32 PM
how can I decompile .NET CF applications? I tried to use Anakrino but it throws up errors! are there any links/URL where it is described how to decompile ..NET CF applications? (to see them in C# source form) ...more >>

Questions about SQL 2000 CE
Posted by STom at 1/31/2004 12:02:52 PM
I am new to the compact framework and have some questions regarding connecting a pocket PC application to a SQL CE database. I have SQL 2000 and its tools installed on my machine and I installed SQL 2000 Desktop tools. Initially, when I attempted to install both the client and server tools, I ...more >>

Bold font in datagrid
Posted by T! at 1/31/2004 11:47:03 AM
Hi all, I need to do some formatting in a datagrid. For example, I need to display some rows with Bold fontstyles and other rows with regular fontstyles. Is there a way to do this in the standard datagrid?? Thanks for any help. ...more >>

How to display avi or similar on a form?
Posted by chris-s at 1/31/2004 11:45:58 AM
Anybody know of any controls or tips on displaying/playing a small avi/mpeg on a form? Chris ...more >>

CurrentMouse Position
Posted by bic NO[at]SPAM qis.ca at 1/30/2004 11:08:59 PM
Ok I have tried everything I can think of, but I can NOT get the correct current mouse position. I heard it works fine on the emualator but on My Dell X3i I can never actually get the current position of the cursor. I have tried control.MousePosition -> wrong half of the time. GetCursorPos ...more >>

Today Screen III
Posted by Wernfried Schwenkner at 1/30/2004 8:51:06 PM
Thanks for all hints yesterday I've got in Part II. The hint with the missing PocketPC 2002 SDK was right, I downloaded and installed it and could compile. Now I have problems with the compact framework. I could wolk through all the steps in the documentations until "Device Installation" wi...more >>

How to: build a cab-file with TWO exe files?
Posted by Boris Nienke at 1/30/2004 5:02:14 PM
Hi, i have two small projects in my project-map. But when i build a CAB-File it's only one Cab-File for each project. But i like to have ONE Cab-File for ALL projects in this map. The Exe-Files should be installed to the same directory etc. i have looked at the INF-File but don't know how...more >>



Connecting to SQL Server from PocketPC application
Posted by Kurt at 1/30/2004 3:56:01 PM
Hi, I am trying to connect to a SQL Server database from a PocketPC application in .NET 2003. I use the following connectionstring: conSql2000=new SqlConnection(@"integrated security=SSPI;Server=169.254.25.129;persist security info=True;Database=DotNetCF"); The IP address is the address o...more >>

disable Ok-button, forgot it!
Posted by deBeuk at 1/30/2004 3:49:39 PM
Can somebody help me? What is way to disable the ok button in the right top of the screen when I start my own application ? M...more >>

Getting Started with Compact Framework
Posted by STom at 1/30/2004 3:19:16 PM
I will be writing a Pocket PC application (winforms type). I have ordered the Dan Fergus book also. I am wondering...I have VS.Net 2003 but is there anything I need to download (like the compact framework) to have an add-in with VS.Net? Thanks! STom ...more >>

TIFF Support in CF
Posted by Ken Garove at 1/30/2004 2:53:52 PM
Are TIFF images with compression supported in CF System.Drawing?...more >>

Check for rows in DataReader (CF 1.0)
Posted by Sascha at 1/30/2004 2:32:22 PM
Hi there, I've tried several ways to resolve this problem and also searched the net but I'm still not satisfied with my different solutions: how do I check for rows in a DataReader in a CompactFramework Appication with SQL Server CE? I tried something like [CODE] sqlSCom.CommandText = "...more >>

Disable power button?
Posted by Stu at 1/30/2004 2:13:41 PM
I see lots of helpful advice on how to prevent a device from powering it self down, or how to turn the device off from an application - however, I'm kind of stuck looking for a way to disable the power button. These devices are going to be captive devices and I don't want the users to play aroun...more >>

How i create pocket access base (cdb file) on C#?
Posted by Igor Sharapoff at 1/30/2004 1:50:03 PM

Stop Running Program causes uninstall to fail.
Posted by jeremymartinson NO[at]SPAM hotmail.com at 1/30/2004 12:44:22 PM
I am running into a weird situation with regards to uninstalling my application written for the .NET compact framework. Here are the 2 processes and their results: 1. Install my application 2. Run my application (which creates data files in the install path) 3. Settings>Control Panel>Stop Run...more >>

Sql Server Ce and Visual Studio 2003 Standard
Posted by Jeff at 1/30/2004 12:31:06 PM
I have Visual Studio 2003 Standard Edition and would like to develop PocketPC applications with Sql Server Ce using C#. My problem is that I need the System.Data.SqlServerCe.dll library in order to make connections to the Sql Server Ce database's. How does one get these dll's without shelling out th...more >>

Replication Failure
Posted by Erl Egestad at 1/30/2004 12:26:09 PM
Hello All I'm developing an application that uses SQL CE Replication via RDA using both ActiveSync via an Ethernet Cradle and via a Modem using a Ras Component for CF from intelliprog.com I successfully push and pull everytime using ActiveSync successfully - even if I do it repeatedly. When I re...more >>

Create Image object dynamically
Posted by Pinkesh at 1/30/2004 8:31:09 AM
Hi I've a image file name at runtime, and I want to create an Image object for this file In .NET framework this is possible using Image.FromFile(LOGO_IMAGE_PATH But in compact framework I'm not able to figure out how to so the same Please help me out on this Thanks ...more >>

ControlBox
Posted by Bobby Canonn at 1/30/2004 5:31:05 AM
I am trying to remove both the "OK" and the "X" buttons in the upper right corner. I am writing in c#. If I say this.ControlBox = false nothing happens. But if I say this.Text = "" the controlbox goes away. Now I have checked MSDN and tons of website and nowhere does it say you have to have an empty...more >>

ds.GetChanges
Posted by bic NO[at]SPAM qis.ca at 1/30/2004 5:24:03 AM
The current CF doesn't support getChanges as in the full framework. Doing an update to a dataset you can do 1. DA.Update(Ds) or 2. DA.Update(DS.GetChanges) * Only in Full Framework. Doing number 2 should be much faster if there are a lot of record in the dataset. I am wondering how ...more >>

data binding between combo box, textbox and sql ce using C#
Posted by khairul ariffin at 1/30/2004 4:01:05 AM
Here I want t > ask for your help on the way to write code for dat > binding with C# and sql server ce. I am able to pul > data from sql server ce into combo box but now i wan > the textbox respose to the changes when i hav > selected a value in the combo box. For example let sa > i have selec...more >>

Creating a SQLCE Database
Posted by Nigel Findlater at 1/29/2004 9:56:05 PM
Hallo Everyone How can I create a SQLCE Database with tables for the PocketPC 2002? Nigel.....more >>

Today Screen II
Posted by Wernfried Schwenkner at 1/29/2004 8:10:08 PM
Yesterday I posted here according to the today screen excample. I've got a lot of usefull answers, thanks. After I could build the unmanaged code today I tried to compile the managed projects in the solution. And I got an error building the TosayScreenSupportCab project. I assume it has som...more >>

I want make my form (with some size) in centerPDA. How i make it?
Posted by Igor Sharapoff at 1/29/2004 4:11:33 PM
SW4gZW1iZWRkZWQgVkIzIGZvciBpdCwgaSBzZXQgRm9ybSBwcm9wZXJ0eSAiRm9ybVJlc2l6ZSIg dG8gIlZCRm9ybVVzZXJTaXplIi4gQWxsIGlzIE9LLg0KDQpJbiBWaXN1YWxTdHVkaW8yMDAzIEMj IChwcm9qZWN0IGZvciBzbWFydCBkZXZpY2VzICksIGkgc2V0IEZvcm0gcHJvcGVydHkgIkZvcm1C b3JkZXJTdHlsZSIgdG8gIlNpemFibGUiLiBBbmQgbm90IGVmZmVjdC4= ...more >>

The definitive guide to the CF - C# examples ?
Posted by jez at 1/29/2004 2:42:33 PM
A while ago I posted a message about Roof&Fergus' book on the CF asking whether there's maybe a second version with C# examples. Didn't get any reply, so I'm just wondering ? I've got the book here but it's all with VB.Net examples, sad for me as a C# programmer.. I supose I could transform smal...more >>

ANN: Updates to MSDN for 1/29/04
Posted by Geoff Schwab [MSFT] at 1/29/2004 2:39:31 PM
Greetings, The following article has been added to MSDN: Recording and Playing Sound with the Waveform Audio Interface http://msdnprod/library/default.asp?url=/library/en-us/dnnetcomp/html/WaveInOut.asp The "Creating a P/Invoke Library" article and sample have been upda...more >>

Type loading Issue and SP2
Posted by Mark Dykun at 1/29/2004 2:16:46 PM
Hello All, We have a application that heavily uses reflection. With pre sp2 all worked well. I just installed sp2 and recieved a Type Load Error with the specific text.... Could not load type System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, Public .... This type is refrenced fr...more >>

"Assembly of Ressource not found"
Posted by at 1/29/2004 2:11:41 PM
Hello NG! I've created the CAB-files for my CF-app with the wizard. Now I want to test it on two devices: (1) iPaq 3850, ARM SA1110, PPC2002 (2) Medion, Intel PXA250, PPC2002 For both I've taken "..._PPC.ARM.CAB". On device (1) everything works fine, but on device (2) there apears an e...more >>

VS.Net 2003 and SP2, designer, emulator
Posted by Simon Clingan at 1/29/2004 2:11:07 PM
Ok, I got VS.Net 2003. Had eVb and VS.Net before. I start creating some apps, discover that the .Net CF is missing some stuff that the eVb had. Searched around, found out there is a .Net CF SP2 which gets back some of the stuff my manager wants. But it appears the designer knows nothing about S...more >>

Help interpreting this error
Posted by PJC at 1/29/2004 11:27:42 AM
Trying to execute to following statement on vb.net for the pocketPC Dim g As Graphics = somecontrol.CreateGraphics() g.DrawRectangle(New Pen(Color.Red), 0, 0, 100, 100) I get this error An unhandled exception of type 'System.NotSupportedException' occurred in System.Windows.Forms.dll ...more >>

translate C# from VB.NET
Posted by newMan at 1/29/2004 9:21:12 AM
I have some problem in translate the last row of this class this class Public Delegate Sub UIUpdate(ByVal args() As Object Public Class Invoke Private _control As Contro Private _uiUpdate As UIUpdat Private _args() As Objec Public Sub New(ByVal c As Control ' store ...more >>

create a Shortcut?
Posted by Zanna at 1/29/2004 8:59:40 AM
Hi, I'd like to create a shortcut of my program into the startup folder. Is it possible to create a shortcut programmatically? And how to retrieve the startup folder? Thank you! ...more >>

How to install help file to \windows directory?
Posted by crumb_stone NO[at]SPAM yahoo.com at 1/29/2004 8:56:33 AM
Hi, I was wondering how I could package my .cab file so that my help file would go to the windows directory of the PPC? thanks!...more >>

ControlPaint in CF ?
Posted by Keven Corazza at 1/29/2004 8:51:10 AM
Is ControlPaint class available in CF ? If yes, how can I use it ? If not how can I solve the problem to draw lines with xor mode ? In Win32 it is possible to call SetRop2 function, what can I do in CF Thank yo Keven Corazza...more >>

Drawing speed and GetHdc
Posted by Keven Corazza at 1/29/2004 5:41:08 AM
Hi, I'm using VS.NET 2003 and C# to build a little CAD application for Compact Framework. I've seen that the drawing speed is quite low (in the emulator...), I've used DrawLine method. How can I increase the drawing performance ? To solve this problem I've tried to use DllImport attribute and tr...more >>

System Tray Icon
Posted by bic NO[at]SPAM qis.ca at 1/29/2004 3:45:01 AM
Alex, from IntelliProg Inc. has an excellent article on how to put an Icon onto the systemTray on the PocketPC here. The program works fine if you have icon that's 16x16 but when you have icons ie.. 32x32.. it will not display any image on the systemTray.. anyone know how to fix this problem? ...more >>

Bug in TabControl?
Posted by Claus at 1/29/2004 3:11:11 AM
Being a .NET beginner, I'm having problems with the TabControl in the .NET Compact Framework The TabControl seams to be messed up when I in run time remove TabPages form the control The problem can be illustrated as follows Using Dev Studio 2003 - create a C# Smart Device Application (for Pocket...more >>

Exceptions
Posted by Aris at 1/29/2004 2:16:12 AM
Can I get the name of the class that throwed an exception and the number of the line in my code in which the exception was thrown Thanks...more >>

Detecting an ActiveSync connection?
Posted by djohnson at 1/29/2004 12:56:11 AM
Hi, Is there a way to, from within a c# application, detect when an ActiveSync connection is made? Specifically, I have an application that is running, can this application *hook* into some event that is raised when the device is docked? Is there a way to use the CeRunAppAtEvent to raise an e...more >>

Today Screen
Posted by Wernfried Schwenkner at 1/28/2004 10:42:00 PM
I've read the msdn article how to create a today screen and would try it out. But I have allready problems in the very beginning. First the unmanaged dlls are to be build. Therefore I installed eVC. I was able to compile the TodayScreenDataMgr project, but the TodayScreenPlugIn_NETCFHost pro...more >>

Static vs. Non-Static Methods - Performance Differences?
Posted by Joe Keller at 1/28/2004 10:32:50 PM
Hello, Could someone clarify for me the performance differences (if any) in using static vs. non-static methods? I have a custom SQL class that performs various functions within my application (e.g. logs the user into the system, returns customer data, etc.). Because I didn't want to have ...more >>

System.FormatException error!
Posted by SSP at 1/28/2004 8:12:08 PM
Hi all, I have an application on PPC 2003 which contains a form used to enter some data into a SQL CE db. The db contains a table like this: ___________________ cNSA nvarchar (50), cCN nvarchar (50), cVN int -------------------------- Below is a snippet of the code used to enter data ...more >>

CeCreateProcess and WaitForSingleObject problem?
Posted by Dan Tanzer at 1/28/2004 8:01:38 PM
I need a little help. I am trying to get the space off of the storage card from the Pocket PC using Rapi. Since i have not found a direct API (RAPI) to do this i wrote a small .net compact framework exe to call GetDiskFreeSpaceEx create a file with the data and then copy the file from the pocket...more >>

Thread Synchronization
Posted by Elisa at 1/28/2004 7:55:55 PM
Hi, How do I get the same functionallity as the WaitOne(timeout, ...) methods that MS left out of all the thread synchronization classes in the .NET Compact Framework? Regards, Elisa ...more >>

ANN: IDSSAPI .NET (4.0) released
Posted by Chris Tacke, eMVP at 1/28/2004 5:38:40 PM
IDSS has released (finally) a .NET version of the popular IDSSAPI product. It provides useful API wrappers, including a full FTP client implementation without using the wininet (meaning no Pocket PC 2002 FTP bugs). View the online help and download an eval version here: http://www.innovativeds...more >>

Tab order with SP2
Posted by Peter B at 1/28/2004 4:46:35 PM
I noticed that tabbing occurs for all controls and currently there is no way of disabling this for controls you don't want in the tablist. Another problem I haven't found a solution to is where to set the tab order?!? As it is now, tabbing jumps all over the place :-( There is no tabindex propert...more >>

openfiledialog does not return OK?
Posted by deBeuk at 1/28/2004 4:08:28 PM
I am totally confused !! Although I am a novice in VB.NET and PDA programming, coding below appears to be correct. If OpenFiledialog1.ShowDialog.Cancel Then txtTaxcode.Text = "No selection made" Exit Sub End If If OpenFiledialog1.ShowDialog() = DialogResu...more >>

how do I load a JPEG into a pictureBox?
Posted by rocio at 1/28/2004 3:58:11 PM
Yes, this is staright forward but this code does not work: PictureBox1.Image = new Bitmap("\SD Card\myfile.jpg") PictureBox1.Update() however if I load a specific BMP file it gets displayed. So how do I load a jpEG then? ...more >>

Inheritance base... AGAIN!!!
Posted by news NO[at]SPAM mikendy.com at 1/28/2004 3:20:59 PM
I need ... maybe this construction possible???? class OrderHeader { .... // method, that passing initialized base class (OrderHeader) into new Order public Order ConvertToOrder() { return (Order) this; } } class Order : OrderHeader { .... } ...more >>


DevelopmentNow Blog