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 > june 2006 > threads for june 15 - 21, 2006

Filter by week: 1 2 3 4 5

Button2 (SDF) alternatives
Posted by wendelborg NO[at]SPAM gmail.com at 6/21/2006 11:52:38 PM
The company I'm working for is currently developing a larger WM5.0-application which uses the Button2 control from OpenNETCF rather extensively. Unfortunately the button itself takes up a good chunk of memory, and we wonder if there are any memory efficient alternatives. An alternative must c...more >>


ANN: CF2.0 SP1
Posted by Thomas Scheidegger [MVP] at 6/21/2006 11:48:43 PM
Blog http://blogs.msdn.com/netcfteam/archive/2006/06/21/642013.aspx ..NET Compact Framework 2.0 Service Pack 1 Redistributable http://www.microsoft.com/downloads/details.aspx?familyid=0c1b0a88-59e2-4eba-a70e-4cd851c5fcc4 -- Thomas Scheidegger - MVP .NET - 'NETMaster' http...more >>

how to increase or decrease contrast/brightness in compact framework
Posted by raju at 6/21/2006 9:25:41 PM
Hai all, I am working on the device application, where I need to adjust the brightness and contrast of the device. Whether it is possible through my coding or it is possible only by hardware. if it is possible through by coding means, can you guide to achieve that. I am working on ...more >>

How to add call back functionality to a c++ com component ..
Posted by no NO[at]SPAM nospam.com at 6/21/2006 7:32:14 PM
I am going through the WM5 sdk samples and in one of the COM samples is calling card native c++ com examples. I would like to know what is the way to add a call back so that the managed c# code can pass it a delegate. An example would be appreciated. Regards. ...more >>

X509Certificate on Compact Framework.
Posted by Kay-Christian Wessel at 6/21/2006 5:41:57 PM
I'm trying to use a certificate on my pocket PC device to access a WebService using VS2003/VS2005. I've been able to read the certificate of my Certificate Store, but I don't know how to use it since the WebService does not have a AddCertificate method. Seems to be the same in both the Comp...more >>

Bindingsource Find method
Posted by Mark Huisinga at 6/21/2006 4:40:54 PM
Bindingsource.find(..) doesn't seem to work on a bindingsource with as datasource a sqlceresultset.resultview. As far as I can tell this is odd since the sqlceresultset.resultview does implement IBindingList. Or is this a limitation of the compactframework ? Mark. ...more >>

GetType returning null
Posted by bill at 6/21/2006 4:20:49 PM
Hi, I'm loading an exe from my program as follows Assembly a = Assembly.LoadFrom(exePath); Type fType = a.GetType(formName) // formName = frmMain.vb however GetType returns null, the LoadFrom is fine. What actual string value do i need to pass to GetType here assuming my form in my...more >>

WH_KEYBOARD_LL and WH_MOUSE
Posted by Jack Liu at 6/21/2006 2:05:02 PM
Where can I find the values for WH_KEYBOARD_LL and WH_MOUSE for .NetCF? Apparently they are different than the WinAPI ones. I saw somewhere that WH_KEYBOARD_LL is 20 and not 13. But I cannot find the .h file that defines this. I'm trying to use key and mouse hooks for WM 5.0. Anyone kn...more >>



screen viewer
Posted by DougMcKenzie at 6/21/2006 11:16:06 AM
So, I'm looking for a program I've used before that basically allowed you to project whatever was on the hand held device's screen onto a desktop screen. If anyone can point me in the right direction it would be greatly appreciated. ...more >>

Marshalling problem a C structure
Posted by Santosh at 6/21/2006 10:27:02 AM
Hi Guys, I am trying to marshal the following C structure in my C# code but getting error message 'NotSupportedException' C Structure is struct TReport { enum TType { EVirus, EError } iType; TCHAR iFileName[MAX_PATH]; /* Name including nesting inside archives. */ ...more >>

How to force a key press/mouse click event?
Posted by Krupa at 6/21/2006 6:46:09 AM
Hi there, Does anybody know how to throw key press and mouse click events programmatically without actuaaly pressing a key or clicking the mouse? I am working on a c# application on CF 2.0 for WinCE 5.0 devices. Thanks, Krupa ...more >>

How to obtain the window handle of a TreeNode with v1.1.4322
Posted by SwissPinoy at 6/21/2006 5:43:56 AM
Unfortunately, node.Handle is excluded from the CF v1.1.4322 This article explains how to get a handle of a .Net control... How to obtain the window handle of the .Net control? http://www.pocketpcdn.com/articles/dotnetcf_hwnd.html ....and this works to get the handle from the TreeView but ...more >>

Net CF 2 on Windows CE 4.2
Posted by romain taillandier at 6/21/2006 5:42:15 AM
Hi group I try to move an application from CF 1.1 SP3 to CF 2.0 on a Win CE 4.2 device. I can't found the SDK for CE4.2 (or 4.0), I get the PPC2003 SDK only. I hav'nt the NETCFv2.ppc.armv4i.cab. (or equivalent) i am sure it is a FAQ, thank you ROM ...more >>

how to get a listing of tables in sql mobile 2005 database
Posted by Optimus at 6/21/2006 2:09:02 AM
HI all, Does any one know how to get a listing of all of the tables located in your sql mobile 2005 using .net compact framework? Thanks in advance! ...more >>

Custom Controls And Designers
Posted by Evan Camilleri at 6/21/2006 1:39:21 AM
I want to write into the InitializeComponent area when the users drags my component onto the Tray Components or onto the form (depending the type of control). How can I do it and is there somewhere GOOD documentation of designers for VS2005 CF???? It's boring to find nothing there!!! Ev...more >>

Dotfuscator error
Posted by tony at 6/20/2006 9:20:55 PM
hi got this error when im trying to use the Dotfuscator that in the vs.net 2003. how can i fix it ? is the version of Dotfuscator that come with the vs.net 2003, support the Net *COMPACT* framework applications ? ************** Exception Text ************** System.IO.FileLoadException: Th...more >>

Unknown exception on navigating to a Uri having a query string
Posted by Krupa at 6/20/2006 4:01:56 PM
Hi All, I am constructing a Uri with a query string attached and trying to navigate to that Uri. But I get an unknown exception. However when I directly place the uri in the browser's address bar and open it, it works fine. Please find the line below where I get the exception. webBrowser1.N...more >>

How to design datagridview columns in designer??
Posted by BJ at 6/20/2006 2:21:46 PM
tnx ...more >>

C++ friend class equivalent
Posted by Davis at 6/20/2006 2:18:16 PM
Hi, In VB if i want to define a class that has access to private elements of another class how do i declare it. In C++ you just use friend keyword. As far as i understand the Friend keyword in VB allows that particular element to be accessed outside the class but within an assembly which is ...more >>

canceling windows messages
Posted by manuel NO[at]SPAM fct.unl.pt at 6/20/2006 11:44:36 AM
Hi there i'm trying that an embedded control (flash player) does no answer to the specific message right mouse click. Is there any idea in how to do it or do you guys have a very nice suggestion for a link? I think that I have to intercept the windows message somewhere... I'm lost, though! ...more >>

Process ExitCode is always zero?
Posted by paul.driegen NO[at]SPAM gmail.com at 6/20/2006 10:28:12 AM
I'm having a bit of difficulty with retrieving a non-zero exit code from a managed process. Basically, Process A launches Process B and waits for Process B to exit. When Process B does exit, the ExitCode property is examined in process A, and a particular action is taken. Both are managed p...more >>

problem in deploying a smart device application
Posted by Hari at 6/20/2006 5:43:11 AM
Hi, i'm new to PocketPC programming. i've just tried executing the "Hello World" application. The build was successful but as i tried to deploy the application its showing a dialog saying "One or more files from the Emulator for Windows CE installation is missing Please reinstall Emulator for ...more >>

Deploying files from different projects in a solution
Posted by Davis at 6/19/2006 5:41:42 PM
Hi, I have 2 projects within a solution. One is the startup and is an exe app. THe other is a Class library project which contains other Content files with the Copy to Output Directory set to Copy always. I want these files to deployed with my exe but they are not. Only files under the project d...more >>

HttpListener functionality in CF
Posted by Tomppa at 6/19/2006 2:15:56 PM
Does anyone have a sample of a simple HttpListener class for CF 2.0? basically I need to listen for incoming requests sent from a WebClient object in the standard framework as follows http://192.168.1.104:80/RenderMedia/?FileName=FileNameHere parse the querystring params then take action....more >>

SendKeys Subtract
Posted by Chris Oswald at 6/19/2006 1:51:07 PM
I've posted this before and haven't gotten an answer. I am trying to get a hyphen, minus, subtract, whatever you want to call it, to show up with sendkeys. I have tried the OpenNetCF 1.4 class and that key doesn't seem to work. Anyone have any ideas? ...more >>

ToolBox Empty
Posted by David Fúnez at 6/19/2006 1:00:00 PM
Hi; I've installed VS standard 2005, i work ok with Windows Forms, i've already installed 3rd party software and it appears in the toolbox. But when when i create a new project for PPC 2003 SE the form appears Ok, but the toolbox is empty, it just shows a message 'there are no control, d...more >>

insert into detal table
Posted by Felix González at 6/19/2006 12:19:15 PM
Hi, I´m using VS 2005 and SQL server mobile 2005. In my application I´ve a master table with a pimary key defined as identity and datial with a foreign key defined. How can I insert in this detail table? I don´t know the primary that wil be generated by SQL. thanks ...more >>

Button click
Posted by Davis at 6/19/2006 11:56:30 AM
Hi, I'm writing a little test app to simulate button clicks to save me doing it myself. I've read the archives and easiest way seems to be calling the event handler but i have a problem Code below: In my test harness i have Form1 frm = new Form1(); frm.Show(); frm.button1_Click(this, ...more >>

Connecting to Oracle Server 9i using CF
Posted by Pedro Couto at 6/19/2006 10:54:45 AM
Hi, Is it possible to connect to a Oracle server using the CF? Without having to buy a special dll to do it. txks ...more >>

cab files trusted certificate problem
Posted by JWT at 6/19/2006 7:52:01 AM
Hello: I'm trying to silently install a .cab file onto a Dell Axim X51 via the ShellExecute command using VB in Studio 2003, with the following parameter being passed to ShellExecute, "wceload.exe /noui /noaskdest ""\Program Files\test.CAB""", when this fires I get the following message "Th...more >>

ListBox - what now???
Posted by kune at 6/19/2006 5:11:01 AM
hi i try to find one specific entry in my listbox and i do get the 'not supported method' error why? and how to find a entry in a listbox? i want to key in "a" and i it should sort by "a" then i press "p" and now i wana see all starting with "ap" like "apple". anyone knows whats with wrong ...more >>

Location of tray icon is blocked
Posted by arunmib at 6/19/2006 4:25:39 AM
Hi all, I am developing an application for Pocket PCs. In it if the user clicks the 'close' button, then the application minimizes to tray. So when the user wants to use the application again he just have to click the tray icon. My issue is after unins...more >>

How can I to set Button's Backcolor?
Posted by Risen at 6/19/2006 12:00:00 AM
Hi, all, How can I to set Button's Backcolor? How can I to set Panel's Backcolor? Can I set Panel.text to my owner value?? Thx a lot. B.R. Risen ...more >>

HtmlView.dll and relative paths
Posted by Agustin at 6/18/2006 5:20:15 PM
Hi. I'm using the htmlview.dll library to include an HTML native control in my application. I'm just using it for render html, I download the pages from the Web not using the navigate dll message (DTM_NAVIGATE) but using a WebRequest in my application. When I finish download the page I use t...more >>

creating custom controls... !
Posted by Evan Camilleri at 6/18/2006 3:37:50 PM
Thanks to Tim Wilson's article I know some knowledge of buidling a control. Unfortunately I cannot find much documentation on: 1: DeviceEnumConverter (was trying to look in here to do a property which lists at design time all tab controls in the form) 2: How can I have the insta...more >>

Does RectangleToScreen also convert Size part?
Posted by Anders Jansson at 6/18/2006 12:20:01 PM
Hi all! I'm using Compact .NET Framework 2.0 SP1 Beta 1 and an iPAQ HP hx4700 with Windows Moibile 5.0 PC together with Visual Studio 2005. When I debug my .NET application I can't see that the Size part of my Rectangle is converted to screen cordinates when Size values are Width = 5 and...more >>

print from VB.NET
Posted by Trapulo at 6/18/2006 11:59:13 AM
Is there any way I can print from windows mobile 5 to a bluetooth printer (I think on a zebra rw 420) a simple document (an invoice)? It seems to me quite difficult.. thanks ...more >>

How to create something like 'ControlToValidate' (in CF)
Posted by Evan Camilleri at 6/18/2006 12:25:52 AM
using CF VS2005, I would like to create a control with a property named: TabControlToManage At design time this property list controls in a combo box just like 'ControlToValidate' in webapps. Evan ...more >>

this.InvokeRequired and EventArgs
Posted by davis at 6/17/2006 8:33:45 PM
Hi, I'm developing a PocketPc app in c# with .NET 2.0. I have a socket server thread in a dll that issues and EventHandler to the client program which is the windows form. I know this topic has been covered before, but I still haven't quite found my answer. I read this nice in-depth coverage...more >>

OpenNETCF GetPhoneNumber and native TAPI (EVC) both not working.
Posted by zenone at 6/17/2006 11:26:15 AM
Hi all, Currently working on a project, one requirement is: get phone number of SIM card. At the moment my application uses the TAPI library of Alex Feinmann (I hope I wrote the name right). MSDN site has a great sample on how to retrieve the phone number. Even an working example. But for ...more >>

Assigning Thread Priority
Posted by mahesh.5683 NO[at]SPAM gmail.com at 6/17/2006 8:13:01 AM
Hai everybody, This is my application. * My application concentrates mainly on serial communication. Mine is a Windows CE device application. I've used System.IO.Ports class for that. * For transmitting data I've created a procedure and assigned a priority for that, using thread.priorit...more >>

Vs 2005, sql server express edition, mobile device applications
Posted by Shyam at 6/17/2006 7:46:26 AM
Hi, I would like to know with an example (if possible) of how to display data in an Mobile device application. I would like to use and check that in any emulator avaliable in VS2005. I installed VS2005, sql express edition, Active sync 4.1, network Loopback in my system. I am able to creat...more >>

Chart Graph control in CF/Opennet CF
Posted by Sachin Palewar at 6/17/2006 5:33:26 AM
I want to display some charts (pie, bar and line to be precise) in a small Pocket PC application we are doing. Though I have found mention of Moosework http://www.mooseworkssoftware.com and Pocket graph http://www.24x7.com.au/PocketGRAPH.htm on this forum and both seem to be good controls whi...more >>

Create control in VS2005 that goes in component tray
Posted by Evan Camilleri at 6/17/2006 12:00:00 AM
VS2005: I want to create a control which stays in the tray so I created it inheriting Component but even though it compiles it does not show up in the toolbox. If I inherit from System.Windows.Forms.Control, it shows up with properties correctly in property window. How can I create a ...more >>

AXIM X51 and Visual Studio 2005
Posted by Rippo at 6/16/2006 10:58:53 PM
Hi I have just bought a Axim X51-520 and now need to create a vb.net 2005 application to go on to it. However in Visual Studio I can not see a form factor for any Dells nor in the device emulator manager. I therefore have a few questions that I would really appreciate somebody answering. 1...more >>

Creating Custom Controls...
Posted by Evan Camilleri at 6/16/2006 5:38:01 PM
I am creating a custom control. My biggest problem is to compile for Design time, i.e. #if NETCFDESIGNTIME [Category("Appearance")] [DefaultValue(false)] [Description("Visibility of the Start Menu button.")] #endif Category and Description give an error when com...more >>

Tips for creating a more seamless application installation?
Posted by JJ at 6/16/2006 4:52:56 PM
Hi All, I have a .NET CF 2.0 application that uses SQL Mobile and SQL Mobile Replication Components. I currently have an installation application that a user can run from their desktop. It installs the .NET CF 2.0, SQL Mobile, SQL Mobile Replication Components, and then my app. The user nee...more >>

Don't Understand How To Write Value To Registry
Posted by Noble Bell at 6/16/2006 12:27:02 PM
Hello all, I am trying to store a value in the registry using VS2003 and SDF1.4. It does not error out, yet it does not write the value to the registry either. Below is my code: Dim regKey As RegistryKey Dim keyName As String = "\Comm\TIACXWLN1\Parms\TcpIp" Dim valueName ...more >>

Form controls
Posted by Davis at 6/16/2006 11:47:04 AM
Hi, Simple question does disposing a form dispose of its controls aswell. I have seen some contradicting posts on this in the archives, Can someone give a definite answer. Thanks ...more >>

2005 Custom Control
Posted by Chris Oswald at 6/16/2006 11:25:24 AM
Forgive me if this has already been answered. I have created a custom control which inherits from Windows.Forms.Control. I want set a default Font for the Font property when the control is originally created in the designer. I set the default font in the constructor. Except the designer ignor...more >>

App.Config
Posted by Chris Oswald at 6/16/2006 9:42:24 AM
Is there a way to load a config file from outside the project? I am using .Net 2.0 and love being able to use My.Settings. I know you can load user.configs from the applicationdata folder, but this is for a Windows Service. Hence there are no users and you don't even have to be logged in for ...more >>

How to read SMS Messages
Posted by Sandra Mutti at 6/16/2006 12:00:00 AM
Hi, Is there somebody who can teach me how to read SMS Messages on my PPC (Qtek S200) WM 5. For one project I should analyse all SMS messages in search for a keywords, but I don't know where and in what format are SMS stored on PPC. Thanks for any help. Sandra ...more >>

Form Hide
Posted by Davis at 6/15/2006 3:59:37 PM
Hi, I have another question. Again i have a main form which upon a button click loads another form as below : Private Sub B_Click(ByVal sender As Object, ByVal e As System.EventArgs) = Handles B.Click Dim frm As New Form1 frm.Show() End Sub In the second form when i exit i call M...more >>

Changing background color for TabControl's and Menu item components
Posted by Anders Sahlin at 6/15/2006 12:14:35 PM
Hello! I am building a GUI using the .NET CF 2.0 version. I want to use another background color for my application than the standard grey. The problem is that there is no BackGround color property for TabControl's or MenuItem's Can anyone recommend ny reliable 3:rd party components co...more >>

How to read carriage return from SIP
Posted by drumred at 6/15/2006 8:16:01 AM
Hello, I am using SIP 1st time and have it placing text into textbox. I want the textbox to stop text entry when the SIP return key is pressed. How do I do this? Thanks, drumred...more >>

Restricting number of records to be loaded to DataSet
Posted by Michal Rizek at 6/15/2006 7:19:01 AM
Hi, I am using DataSets and DataAdapters generated by VS in my project, but i cant find any way how to force such generated adapters not to load only all records retuned by query into given DataSet (i need to avoid situations when too many records matchind searching conditions and could lead ...more >>

How to use double as return value in Platform invoke?
Posted by Frankie D. at 6/15/2006 6:59:02 AM
I have a function called GetDoubleData in dll. I would like to declare it in C#. I have tried the following, but there is an exception ("NotSupported Exception was unhandled") Pleeeeeeeeease help me! Form1.cs public double doubleData { get { return GetDoubleData(); } // "...more >>

Disposing a form
Posted by Davis at 6/15/2006 12:00:00 AM
Hi, I have a main form which loads another form. I was wondering how to dispose of the second form. I have some code below is this correct? Does the dispose method have to be called after the form has exited. Private Sub button_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handle...more >>

Save datatable as a delimited text file
Posted by CFNewbie at 6/15/2006 12:00:00 AM
I am working through a problem and need to create a file that is compatible with another program. I have not seen any examples that take a datatable and create a delimited text file. I assume you use the streamwriter function, but not sure how to access the data in the datatable to create the tex...more >>

Commandline - Instance
Posted by Roger McFadden at 6/15/2006 12:00:00 AM
Hello I want to let my application run in background, so if I start it without commandline arguments, it should just start and do nothing. That's working already But if I am now "restarting" it with an argument while it is already running, it is not creating a new instance in .NET CF, that'...more >>


DevelopmentNow Blog