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 > november 2005

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

ActiveX control hosting using the concept of Alex Feinman
Posted by Frank at 11/30/2005 11:19:14 PM
Hi, I try to host an ActiveX control in a C# and a VB.NET application. I try to use the concept of Alex Feinman, who has shown, how something like that works with the windows media player control. The original sample of Alex Feinman works fine. I try to change this sample so that I can host...more >>


Synchronising SQL Server 2005 mobile with SQL Server 2005 Express
Posted by Paul Aspinall at 11/30/2005 10:23:52 PM
Hi I have an application which runs on a desktop. I want to synchronise the DB with a PDA app, which also uses SQL Server 2005 (mobile and express). I believe that I will need to write my own synchronization application, in order to update the data across the machines. My questions are: -...more >>

Deployment
Posted by SteveDev at 11/30/2005 8:22:01 PM
Hi. I have built an application using Visual Studio 2005, .net cf2 and sql mobile 2005. Very impressed with the outcome. I now wish to deploy my application along with .netcf2 and sqlmobile 2005. I want to produce one clean install that will install cf2, sql mobile 2005 and my app. Is...more >>

VPN connection
Posted by Johann at 11/30/2005 6:32:27 PM
Hi, I would like to know how would i programmatically make a vpn connection to a gprs network. Johann ...more >>

Where do I put MyCompany name in Project
Posted by Robert at 11/30/2005 5:56:18 PM
On Pocket PC, you can view or remove installed programs from Settings-> System -> Remove Programs. The programs listed there all start with company name like "Microsoft Compact Frame Work 2.0", or "MyCompany MyApplicationName". Where do you put these names in your Visual Studio project? I l...more >>

Treeview + controle sur PDA
Posted by t at 11/30/2005 4:38:45 PM
hello, i want to add a control (ex : textbox , checbox , etc.) to treeview . How make ? Tof ...more >>

Timer
Posted by Simone at 11/30/2005 3:58:41 PM
An info.. How can i execute a timer event while my application is executing another method? Any ideas? Simon. ...more >>

System.ComponentModel.Component and IDisposable
Posted by gonzalez at 11/30/2005 2:36:16 PM
I have code I need to share between the regular framework and the .Net CF, and I'm wondering what the reason is for .Net CF Component class not implementing IDisposable? Currently my code relies on IDisposable, and I have to convert the code to call Dispose() on the class instead. This breaks ...more >>



Toolbar Icons in VGA or Standard displays ...
Posted by Tery at 11/30/2005 2:13:49 PM
Can anyone explain to me how to ensure that toolbar icons will display correctly regardless of DPI on device? I have made an icon with both 16x16 and 32x32 images. I assumed that the correct one would display when deployed, but it's always showing the 16x16, even on my JasJar test device. ...more >>

Programmatically Hard reboot
Posted by anbeyon NO[at]SPAM btinternet.com at 11/30/2005 1:40:56 PM
Hi does anyone know if its possible to programmatically perform a hard reset ? I have found various code snippets that use the coredll.dll KernelIoControl calls but can't get that to work on my target. I'm running ; CE 4.2 (.net) with compact framework. Should that work ? thanks in ...more >>

Re: Application Crash on Exit
Posted by Beebs at 11/30/2005 11:24:30 AM
Sorry for the delay on testing this, but doing Me.Close() didn't help either, it still crashes, but not everytime. Any other suggestions? On Tue, 1 Nov 2005 19:09:46 -0500, "<ctacke/>" <ctacke_AT_OpenNETCF_com> wrote: >Well sure - that's a real bad way to end. Just close the frmStartup >...more >>

SD Card Install
Posted by Beebs at 11/30/2005 11:01:27 AM
I've asked this question before without a response, so I'll try again. I need it so that when a user drops the cab file in a folder on their SD card, it extracts exactly where they put it, not to the default /Program Files/Application Name as Visual Studio wants it. Is there any way to configur...more >>

How can i bind dataset to an datagrid?
Posted by Ralf Christoff at 11/30/2005 9:45:46 AM
Hi, this Code works fine under Windows: SqlConnection conn = new SqlConnection(.SQLCon); SqlCommand cmd = new SqlCommand(SQL, conn); SqlDataAdapter adapter = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); adapter.Fill(ds); if(ds.Tables.Count>0) { dg_Query.SetDataBinding(ds,"Table"...more >>

split vbcrlf
Posted by merco at 11/30/2005 7:47:06 AM
hi i'm reading a file Dim sr As StreamReader = New StreamReader(FINI) Dim AllINI As String = sr.ReadToEnd() sr.Close() and the i use split to get the rows. Dim splitedLine() As String splitedLine = AllINI.Split(vbCrLf) I get some extra characters at the top of each "Spl...more >>

SQLite vs. SQL Server 2005 Mobile Edition
Posted by Daniel at 11/30/2005 4:54:47 AM
Hi all, we are gonna have a project with around 1000 mobile Clients in mobile windows 2003. A am evaluating, which Database is the best for this. I searched in all forums and now I think the best options are SQLite and SQL Server 2005 Mobile Edition. I am not familiar with mobile developmen...more >>

Permanent storage folder flag
Posted by GraemeR at 11/30/2005 12:00:00 AM
Hi, how can I determine programmatically if an iPAQ folder is a permanent file store (such as "iPAQ File Store" or "CF Card")? I want the user to create an SQLCE database in one of these folders and "warn" them if they do not. Thanks, Graeme ...more >>

Adding CF 2.0 to Platform builder project
Posted by Beggi Óskarsson at 11/29/2005 10:57:32 PM
I want to add CF2.0 to the platform builder 5.0, so I can add it to my image. Is there an installation package available to do that? ...more >>

Textbox not receiving the focus
Posted by Echo at 11/29/2005 10:11:24 PM
Hi all. Maby someone can help me with a problem. I have a smart device application that I have written. On one form(Form 1) is called first and the contrucion of the form continues. Now before I show Form 1 I call another form(Form 2) that checks that if the client needs to print the incidents, ...more >>

textBox border
Posted by Thore Berntsen at 11/29/2005 8:09:28 PM
Is there any way to change the color of the border of TextBox control? Thore Berntsen ...more >>

SQLConnection open
Posted by Verena Doll at 11/29/2005 5:36:45 PM
Hi NG, i connect with a sqlconnection to my sqlserver. Is it necessary to close the connection after i modified the data on the server? Or can leave open the connection? Thanks :-)) ...more >>

.NET 2.0 Framework
Posted by matilda.overfield NO[at]SPAM booomail.com at 11/29/2005 2:34:58 PM
Should i upgrade to 2.0 Framework?Why? Best regards, matilda.overfield@realcredits.com http://www.poweroversoftware.com...more >>

Async Debug Wireless
Posted by Simone at 11/29/2005 2:33:14 PM
Hello. I want an information. Now i'm developing for pocketpc with VS2003. For debug i use ActiveSync 3.8 connected in wireless with my target device. I have read that ActiveSync 4.1 doesn't allow wireless sincronization. If i install ActiveSync 4.1 and VS2005 i cannot debug my application in...more >>

LineCount in textBox control
Posted by Thore Berntsen at 11/29/2005 2:06:27 PM
Question 1: If have a TextBox control where MultiLine = true, and WordWarp = true. When I assign at text to this textbox is there anyway I can get on how many lines this text i displayed. Question 2 : Is there any way I can get the position of the caret (the blinking cursor) in this t...more >>

Thread issues
Posted by Geoff Callaghan at 11/29/2005 12:11:41 PM
I have an application that is used to control a hardware device through an RS232 port. I send a command, the hardware responds with a command. There is also a GUI involved which cannot be frozen while I wait for a response from the hardware. To achieve this, I use a WaitFor type structure (I'm us...more >>

Can a small app run while the ppc is in sleep mode?
Posted by Noble Bell at 11/29/2005 11:32:01 AM
I would like to know if one could write a small app, like a service or something, that would remain running in the background even though the ppc has gone to sleep? Any help, thoughts, or examples would be great. Thanks in advance and God bless. -----------------------------------------...more >>

Communivcate with built in gps?
Posted by drasko at 11/29/2005 7:15:07 AM
I have HP hx6515 pocket pc with built-in GPS. Is there any way to use OpenNETCF (it has support for serial GPS) to get data from GPS on my device? Thanks ...more >>

Shell_NotifyIcon in VB.net
Posted by merco at 11/29/2005 6:52:39 AM
someone has the translation to Vb.net ? I have to use systray icons and commands... thanks ...more >>

Buggy .NET CF 1.0 SP3 InputPanel EnabledChanged event?
Posted by Eskild at 11/29/2005 5:15:05 AM
Hi, In my PocketPC application, I am using several forms. Some of which are using the InputPanel for user input. All forms have their own InputPanel object and a MainMenu object (from before SP3). Some forms have the InputPanel.Enabled property set to true by design and some don’t. And s...more >>

Whats happened to OpenNETCF.Win32.Win32Window.SendMessage ?
Posted by chris-s NO[at]SPAM mailcity.com at 11/29/2005 3:52:56 AM
Maybe Chris or someone can pick this up, I've installed the latest OpenNetCF assemblies and my previous calls to "OpenNETCF.Win32.Win32Window.SendMessage" are no longer working, seems like the Win32Window class has moved or been renamed but it still seems to exist in the help. Anybody got any...more >>

Validating a Textbox
Posted by markyd at 11/29/2005 3:45:56 AM
Hi, I've got a 4 textboxes (either standard cf of Opennetcf) on a form with a button to clear all textboxes. I need to validate the textbox entries on each entry (eg. customer code exists in the database) I can validate the entry no problem either by using the validating event or the 'lost foc...more >>

Package Load Failure
Posted by Marcos Queiroga at 11/29/2005 3:06:02 AM
Hi folks! I have installed VS2003 and VS2005 on the same machine, running WinXP SP2. After some days working fine, I am getting an error message when I try to load my device application project. The message is: "Package Load Failure Package 'Smart Device Project Package' has failed to loa...more >>

Newbie: DataGrid Cell formated & Alignment
Posted by Jayanto at 11/29/2005 12:00:00 AM
Hello, Can any body tell me how to change DataGrid Cell's format (as Decimal/Date) and Cell's Alignment in VB.net TIA Jay ...more >>

Disable Up/Down in textbox?
Posted by Tomer at 11/29/2005 12:00:00 AM
When the textbox has only one line the Up/Down function as Left/Right, which is not good for me. How can I disable the Up/Down key functioning in the TextBox control? I've tried to manually set back the SelectionStart/Length parameters, but it resulted flicks in the textbox display. I...more >>

Interop technic withan array of Point ???
Posted by azerty at 11/28/2005 11:58:23 PM
Hello I want to create a fonction in DLL C to change value in an array of Point come from C# world ... I do this sample fonction in C witch return sum of (X+Y) af all items in an Array of Point and change the value of its ... int GetPoints5(int length, POINT* points) { int result = 0...more >>

about sqlce(.sdf) database
Posted by zirong at 11/28/2005 10:49:19 PM
I'm a newbie to develop for ppc platform. Who can give me a way to create a sqlce database,add a table,a record and a index. Thanks. ...more >>

fmod won't work
Posted by mcable NO[at]SPAM depauw.edu at 11/28/2005 8:08:33 PM
None of the FMOD .dll files will allow me to refernce them in visual studio. I downloaded the Windows CE -Pocket PC /Smartphone. FMOD api's but when i try to add the reference all of the dll's say they are "not a .net assembly" it seems many people ahve used fmod in the compact framework so...more >>

Grainy Rotate
Posted by Joseph Byrns at 11/28/2005 4:43:53 PM
I am using LockBits and CF2.0 to do a basic rotate of a bitmap, the image is rotated but looks very grainy. Can someone tell me of any resources on how to rotate an image with better quality. There is one on CodeProject but it's in C++ and I struggle with C++, so something in .NET or an arti...more >>

Can I change to field type in an XML schema automatically?
Posted by jamie at 11/28/2005 4:13:02 PM
I have built an XML file using the DataSet.writeXML method and it creates this schema <?xml version="1.0" standalone="yes"?> <LengthConversion> <xs:schema id="LengthConversion" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> ...more >>

Marshal.StructureToPtr throws exception
Posted by John Olbert at 11/28/2005 3:58:04 PM
The following snippet throws a "ArgumentOutOfRangeException" exception in the last line-- Int32 sizeWo=Marshal.SizeOf(wo); ptrUWO = Marshal.AllocHGlobal(sizeWo*2); Marshal.StructureToPtr(wo, ptrUWO, true); It occurs if the last parameter in StructureToPtr is false as well. I am using the...more >>

Concurrency Violations in SqlCeDataAdapter
Posted by Raja at 11/28/2005 3:47:29 PM
Hi all, I am having a problem with using SqlCeDataAdapter to update the database. I am working with the dataset and the data adapter to do my Select,Insert,Update,Delete . The Dataset holds the results of the select commmand and I store the adapter in a Hashtable .When the user does an inser...more >>

creating menu shortcuts
Posted by Milsnips at 11/28/2005 2:49:12 PM
hi there, i've got a problematic HP 6300 that likes to freeze and hard reset itself on a customer, so i have put the install setup files/cabs in a SD card for easy re-installation. Just one thing i'd like to automate - how do i create a menu shortcut programatically of an existing file, ...more >>

OpenNetCF.IO.Serial - DataReceived event stops working
Posted by anbeyon NO[at]SPAM btinternet.com at 11/28/2005 1:25:53 PM
Hi All I'm looking for some tips on the OpenNetCF.IO.Serial class. I'm using it to send ASCII based commands via serial port to my Target. When I 1st run my target application all is fine I recieve commands and everything works. After a while (not a specific time) the target DataReceived e...more >>

ComboBox Items binding issue
Posted by Rod at 11/28/2005 12:26:42 PM
I am trying to select a particular ComboBox item programmatically immediately after setting the the DataSource of the ComboBox to an ArrayList. But there are no Items in the ComboBox after setting the DataSource so I am unable to select a particular item. What am I missing? Thanks, Rod Ear...more >>

Slowness when calling forms.
Posted by Alessandro at 11/28/2005 11:50:30 AM
Dears, I am developing an application Pocket.2003 with VS.2005 CF2. I have a form that contains many components and when I call this form, he is being long a lot to be presented. Does some exist trick to reduce the time of presentation of this form? I am calling this form like this...more >>

how to use seek with a SqlCeResultset
Posted by Paul at 11/28/2005 10:34:24 AM
I have a SqlCeResultset that I want to use seek on. The result set is based on a multitable query. The code below doesnt work. Whats wrong? Can i use seek with a multitable query?and the settings below? cmd.IndexName = strNDX; cmd.CommandType = CommandType.Text; ...more >>

Storing & Retrieving Images in SQL Mobile
Posted by Heather B. at 11/28/2005 9:02:43 AM
I am trying to take a picture from a PDA and then store that picture in SQL Mobile which I have done, but when I try to retrieve the picture I get an out of memory error. I'm not sure I'm storing it correctly though, do I need to do some sort of compression on it first? I'm using VS 2005 and...more >>

Strange SQL Server CE 2.0 Problem
Posted by Nate Kohari at 11/28/2005 7:53:50 AM
(This is a crosspost from microsoft.public.sqlserver.ce since I figured it was applicable to both.) I am developing a piece of software written in C# that is deployed on a device running Windows CE 4.2. It connects to an Oracle database via a C# web service and loads information onto the handh...more >>

Getting listview doublebuffered and exporting OnPaint method problem
Posted by Jon Abaunza at 11/28/2005 6:59:17 AM
Hello! I wanted to make the listview double buffered because it would be a listview inside a panel that would have more controls (The panel would have scroll). As the scroll is controled by the outside panel, it invalidates the whole listview when scrolling and causes flickering. In order to av...more >>

SQL CE
Posted by merco at 11/28/2005 6:44:50 AM
hi i'm trying to connect to a local PDA database , view http://tinypic.com/hwi8ua.jpg i've tried 1000 different connection strings Persist Security Info=false;User ID=sa;Initial Catalog=\programmi\dati\Sycomm97_sto_ottobre.sdf;Data Source=localhost but i get always an exception ... i also ...more >>

How to GetDC?
Posted by Jon Abaunza at 11/28/2005 4:01:34 AM
Hello! I am trying to get the device Context, and i have to do it through pInvokes. Does anyone know which dll I have to import? I tried with [DllImport("core.dll")] static extern IntPtr GetWindowDC(IntPtr hWnd); and [DllImport("core.dll")] static extern IntPtr GetDC(Int...more >>


DevelopmentNow Blog