all groups > dotnet compact framework > may 2008
Filter by week: 1 2 3 4 5
Helpful resources for moving from VB6 to VB 2008?
Posted by Michael Ray at 5/31/2008 12:53:02 AM
I've developed in VB6 for the manufacturing floor for quite some time.
Anyway, a client wants to use .Net for a simple app to run on a Win CE
PC. Since speed isn't important here I have no problem with finally
learning .Net. However, I need to get this simple app done fast (ie, in
2 weeks) so ... more >>
General question re: data storage on WM6 devices
Posted by Jack Black at 5/30/2008 2:53:20 PM
This is more of a general question related to data management on mobile
devices/smartphones than anything specific. Up until now, I've petty much
relied on storing data in my mobile (NOT smartphones) applications using
XML; there really didn't seem to be any truly good and small
(footprint-... more >>
The Click Twice Control BUG
Posted by Alberto Cardoso at 5/30/2008 7:29:05 AM
Hi!
Ive been looking for a solution for this for a while with no success.
Create a form with a listview, fill the listview and show an messagebox on
the screen.
When you close the messagebox you need to click TWICE on the form. Only the
second click takes action... I found this is a bug:
... more >>
Differences between 2.0 and 3.5
Posted by New_at_CF at 5/30/2008 4:07:54 AM
Can someone tell me what are main differences between cf 2.0 and 3.5?
... more >>
Db connection
Posted by OdlDevelop at 5/30/2008 2:21:28 AM
Good morning to every one. I=92m developing a little application for
Windows Mobile with C# and I need a database connection. Is it
possible to connect to a mdb database from an application based
on .net 3.5 compact framework? If yes, how? If not, is there any other
database I can use (different... more >>
Accessing device remotely from Desktop PC
Posted by Viral at 5/29/2008 11:04:00 PM
Hello Friends,
For providing support to our users, I was searching for a tool which enable
me to see remote pocket pc's screen.
I found pocket controller professional edition good as from that i can
directly give ip of remote device (from our application user can see current
ip assigned... more >>
CF 2.0 multithread app accessing database
Posted by Chris at 5/29/2008 1:17:01 AM
I am developping a smart device app that uses data stored in mobile SQL server.
There is a background thread that every specified period of time
synchronizes data from desktop SQL server to mobile one (by webservice). The
thread inserts data to mobile sql server only.
The data stored in the mo... more >>
keybd_event problems.
Posted by TC at 5/28/2008 1:30:41 PM
Hi All. I've asked this question before and didn't get any solid answers,
but the application went cold, so I left it alone.
The app has re-surfaced so I'm back on it but face the same frustrating
problems, I hope someone has come accross this and has an answer.
It's a compact framework a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Audio Playback Repeat
Posted by Jhawk at 5/28/2008 12:03:56 PM
I have a weird issue to resolve. We have an application, which uses
the inbuilt windows media player to play audio files. If the media
player is used outside our app to play regular music and if the
'repeat' option is checked by the user, it affects our playback as
well: our audio file also keep... more >>
Registry privilege
Posted by Paula Schezcui at 5/28/2008 11:41:05 AM
Hi! i´m working with a PPC WM 5 device, and i need to modifie the registry.
I get an security error, because the device is in default security mode.
How can i change this setting to allow me modify the registry value ? Are
there an agile mode ? because i need do it over 50 devices....
Thanks... more >>
CeRegistry OpenNetCF
Posted by Ruben at 5/27/2008 3:40:55 PM
Hi boys.... i´m working with a great framework named OpenNetCF, and when i
try to look for a registry value from my desktop app ( my device isPPC WM5,
ActiveSync), all time i get this error:
{"Error retrieving registry properties"}...i tried with and emulator, and i
get the same error... i´ll... more >>
Webservice Call
Posted by MDB at 5/27/2008 2:13:38 PM
I have a website that has 2 Virtual Directories set up which host
webservices. The first one is named webservice and the second one is named
betawebservice. Both are set up identically and are pointing to the same
directory (local path). When I invoke both webservices through a internet
brows... more >>
How to create a control like the Timer
Posted by Carsten Unterberg at 5/27/2008 1:18:01 AM
Hi,
I try to create a control like the Timer in c# with Vs2008, which is visible
as an icon in the designer during the designtime and invisible during the
runtime. In former times, width vb6 it was possible. I think it is possible
in Vs2008 too, but I don't know how...
Does someone knows h... more >>
WCF with Certificates in .NET CF?
Posted by Tobias Hebel at 5/27/2008 12:50:23 AM
Hi,
is there a way to use certificates to authenticate a WCF client / server
infrastructure in .NET CF?
mfg
Tobias Hebel... more >>
WindowsCE for MC3090
Posted by rcs768@gmail.com at 5/26/2008 11:32:32 PM
Hi
I am developing one application for the the device MC3090. in my
application the device should connect to any server via wireless and
fetch some data from the server to diaplay in the appliction.
now i have developed the application (only desiging pat) but not able
to get the connection ... more >>
Code in VB for getting a Device Unique ID (Product ID) please
Posted by NET CF Questions at 5/26/2008 5:23:27 PM
We're looking for a sample code for getting a Device Unique ID
(Product ID) in VB.
VB, VS 2005, .Net cf 2.0 sp2
The one we have from the manufacturer is in C++
////////////////////////////////////////////////////////////////
HWND hDeviceId = GetDlgItem(hWnd, IDC_DEVICEID);
PDEVICE_ID pDe... more >>
How to force an event to cancel
Posted by NET CF Questions at 5/26/2008 5:19:19 PM
We're looking for a method that will force a cancel on an event.
For example, if a search on a db is taking too long, the user can
press a button and cancel it and do a search on a more limited
dataset.
VB, VS 2005, .NET .CF 2.0 SP2... more >>
DataGridTableStyle and BindingSource problems
Posted by Jason James at 5/26/2008 2:13:55 PM
Hi,
I can create a custom table style when binding a datagrid directly to
a datatable (typed on non-typed). The code below works just fine:
DataGridTableStyle dgTableStyle = new
DataGridTableStyle();
dgTableStyle.MappingName = stockDataSet.Items.TableName;
... more >>
Detect version of CF
Posted by Chris at 5/26/2008 9:27:00 AM
One question, how can i detect in my setup wich version of compact framework
has the device, and if not, to deploy the .cab of the CF 2.0 ?
Thank a lot in advance
... more >>
SQL Mobile 2005 Script
Posted by Matheu at 5/26/2008 9:13:09 AM
Hi, my question is if possible to create a script of a database, and run it
when i do the deploy of the application on the device ?....
Any link or sample to do it ?
Thanks a lot!
... more >>
graphics.DrawString() text align right how to???
Posted by juvi at 5/25/2008 11:07:00 AM
hello,
I want to align my text drawings to right....how can this be managed?
I am using graphics.DrawString(.....)
thx
juvi... more >>
Mobile devices
Posted by Vince at 5/25/2008 4:42:47 AM
Hi,
I've been a ASP.NET C# developer for sometime now, but I have an idea
that Id like to see work on a mobile device. So I have a couple of
questions as I'd like to use Microsoft products to build it.
Firstly, seeing there are many mobile/smart devices on the market, how
does one go about ... more >>
Get Click location on picturebox??
Posted by juvi at 5/25/2008 2:19:01 AM
Hello,
I want to get the location where the PictureBox gets a click and where the
click ends (If somebody is click-and-holding something and moving somewhere)
Is this possible?
thx
juvi... more >>
Runtime size of program is growing!?
Posted by juvi at 5/25/2008 2:16:01 AM
Hello,
I have a little program that uses the ImageFactory class from the OpenNETCF.
I am loading images through new StreamOnFile as shown in an solution from
opennetcf.
My question is now: How can I avoid that my program is growing in size if I
am loading such images (the same images) ag... more >>
Error emulator WM5
Posted by Matheu at 5/23/2008 3:29:34 PM
Hi boys... i´ve a problem, and up to now, i couldn´t find a solution...
In my Pocket Pc Phone emulator WM5, i tried to install the CF 2.0 SP2
(NETCFv2.wm.armv4i.cab)...when i installed, a reset screen appear, i tap in
Ok, and when it reboots, i check in Programs Installed, and with the
cgac... more >>
Deploy my app
Posted by Chris at 5/23/2008 11:47:12 AM
Hi, i´m working with a device (HP) with WM 5. This device hasn´t CF 2.0
installed by default, and my app need it to work.
How i can detect in my .CAB if the device has or not CF 2.0 installed, and
how to deploy it if necessary ?
Thans a lot
... more >>
Windows CE 5.0 .NET Framework
Posted by tmoraes at 5/23/2008 8:55:04 AM
Anybody Could help me?
I try to run one aplication with Visual Visual Studio 2005 with .NET Compact
Framework 2.0 forms application for Windows CE 5.0, but when i run my program
in my device, my device say : This application requires a newer version of
the Microsoft .NET Compact Framework than... more >>
When to use Close method and when to use Dispose
Posted by NET CF Questions at 5/22/2008 3:05:52 PM
What are the rules on this?
I guess I'm not quite sure when to use the Dispose method.
I've seen code using both often, or using one or the other, but I'd
like some kind of guidelines on this.
Thank you.... more >>
How to best get values from a multidimensional ArrayList?
Posted by NET CF Questions at 5/22/2008 1:40:30 PM
I'm having a problem only being able to pull the value from one of the
columns in a multidimensional ArrayList.
Let me explain what I'm doing and what I'm trying to do.
--------Base------
We have a ComboBox with
Table(T_CUSTOMER)'s
CUSTOMER_CODE value as ValueMember
CUSTOMER_NAME value as... more >>
Long Text string in Combobox aligning right (shouldn't be) and cutting off head of string instead of end
Posted by NET CF Questions at 5/22/2008 9:56:35 AM
We have a combobox populated with data (let's say product names) with
some names being longer than the pull down window (box?) so part of
the name is not shown.
This is not a problem.
Our problem is that instead of showing the name from the left (or in
other words the start of the name) it ... more >>
Remote Desktop Solutions
Posted by Doug at 5/22/2008 9:44:57 AM
Does anyone know of any tools which allow for the remote access of a
Windows CE desktop?
Such as what LogMeIn can do for Windows Mobile? (which doesn't work
under CE) Are there alternatives?
Thanks,
Doug... more >>
Reassigning the soft keys
Posted by Hugh Janus at 5/22/2008 3:53:04 AM
Hi all,
I am using VB2005 to write a program for Windows Mobile 5.
I have removed the control mainmenu from my form and I now need to
capture the keypress for when a user presses the left soft key (which
says "Start" on the main Windows screen) and the right soft key (which
says "Contacts" ... more >>
Building apps for WM3 and WM5
Posted by Jason James at 5/22/2008 12:41:45 AM
Guys, I have a mixture of devices running WM3 and WM5 and would like
to develop the same source code for both platforms. I am using VS2005
and C# along with SQL CE 3.1. Does anyone have any information that
might help me in my quest to not have to maintain two lots of source
code?
Many than... more >>
notifications windows Mobile 5
Posted by Xavier PACOTTE at 5/21/2008 5:45:11 PM
Hello,
I want to activate / desactivate a windows notifications.
I saw the [HKEY_CURRENT_USER\ControlPanel\Notifications] but
the key it is numbers.
How can I know the different notification and for what?
How can you desactivate them?
Best regards.
... more >>
Docking layout off by a pixel or two
Posted by Scott Gifford at 5/21/2008 2:57:49 PM
One other issue I'm having: I'm trying to devices of different sizes
and resolutions, including those that let you change from portrait to
landscape mode. Rather than doing tedious pixel calculations, I'd
like to just use the Dock property to lay things out automatically.
This almost works gr... more >>
Annoying scrolling behavior on SmartPhone
Posted by Scott Gifford at 5/21/2008 2:38:33 PM
Hello,
I've got a SmartPhone app with a configuration screen that has grown
to have enough items that it needs a scrollbar to see them all. The
layout is the recommended layout, with a Label control above a TextBox
where the value is entered.
Basically it's fine, and as the user moves thro... more >>
Connection failed. The device is not ready - ???
Posted by Ole at 5/21/2008 12:14:24 PM
Hi,
I'm working on a CE device to which I have a SDK installed. Until 3 month
ago it all worked fine and i could connect to and debug the device from
vs2005 and its remote tools. Yesterday I had to modify my application, but
found that I couldn't connect to the CE device - and I still can't... more >>
TechEd in Orlando in a week or so
Posted by Harry Simpson at 5/21/2008 10:58:19 AM
Anyone going? Looks like a very strong Mobile development track. My boss
won't send me so I've got to live through those of you attending...
... more >>
Install CAB - PPC2003 VS Mobile 6
Posted by davebythesea at 5/21/2008 7:39:01 AM
Hi folks,
To pass an update to our application I create a smart device CAB project,
add the app folder to the Program Files folder, and add the main exe to this
folder then build the CAB.
When this CAB is run on a PPC 2003 device, only the exe in the app folder is
overwritten, which is w... more >>
Slow Performance
Posted by neera at 5/21/2008 3:16:39 AM
We did a simple test, we created a smart device application with a
form, no coding at all compiled it and tested it on device. We were
surprised to find that loading it takes 5 seconds on Symbol MC35 and
on HP iPaq it takes 3 seconds showing wait cursor on both the devices.
We can just think w... more >>
create shortcut while installing a cab
Posted by dhar.madhurima@gmail.com at 5/20/2008 9:56:23 PM
I was reading a thread in this forum.
One statement I came across.. I did not understand...
SHCreateShortcut(@"\WINDOWS\Startup\SAMSLoad.lnk", @"wceload.exe /
noui /noaskdest ""\Program Files\SAMS PDA\download.cab""");
Specifically, what this statement is doing?
@"wceload.exe /noui /noaskde... more >>
Detecting touchscreen clicks on ListView
Posted by Scott Gifford at 5/20/2008 4:30:09 PM
I'm working on getting a Windows Mobile 5.0 Smartphone application I
wrote running on a Windows Mobile 5.0 PocketPC device. I'm using .NET
2.0 and Visual Studio 2008.
I'm using a ListView control to display a menu of available activities
to the user. On the SmartPhone the user would choose a... more >>
Downgrade to CF 2.0
Posted by Armando Rocha at 5/20/2008 4:21:38 PM
Hi,
Im woking on applicaion running on CF 3.5. It is possible change them to CF
2.0?
--
Armando Rocha
Mobile Developer
http://www.ifthensoftware.com
PORTUGAL
... more >>
Symbol/Motorola Developer Community
Posted by Harry Simpson at 5/20/2008 3:46:06 PM
I've been flailing away writing for Symbol/Motorola Pocket PC devices for
almost 8 years now. I've often wished there was a community of developers
that could share methods and utilities and ideas of architecting for these
devices.
I know there are a bunch of you out there.
I write in V... more >>
How to deploy real cert in packaged .exe (VS 2005, .net cf 2.0 sp2, WM 5.0)
Posted by NET CF Questions at 5/20/2008 12:59:21 PM
We are developing an application for a Windows Mobile 5.0 device using
VS 2005, .net cf 2.0 and currently when we deploy it to the device for
testing we get the following error;
"The program is from an unknown publisher ...(etc)"
When we go to package this for real use (not test), what are the... more >>
VS2008 temporirly hangs during compilation
Posted by Serge Wautier at 5/20/2008 11:05:28 AM
Env.: VS2008 / CF 3.5
Hi All,
Whenever I build a project, VS2008 hangs during ~30 seconds at the end of
compilation, before the 'Compile Complete...' line is printed. This happens
only in case of successful compilation. If there's an error, this delay is
not observed.
devenv.exe jumps a... more >>
XML-Reader on handheld
Posted by Georg Kreyerhoff at 5/20/2008 2:32:14 AM
Hi all,
I'd like to parse an XML-file in a C#-application for a handheld
running Windows CE. I tried the
XMLDocument and XMLTextReader-classes from the System.XML-namespace,
but receive
a "NotSupportedException" when calling XMLDocument.LoadXml() or
XMLTextReader.Read().
Are these functions... more >>
VS2003 and WM 6.0 debugging
Posted by Markus Humm at 5/18/2008 1:24:48 PM
Hello,
I'm using VS2003 for development and won't right now upgrade to
something new as it would require CF 2.0 or higher I assume.
New devices today have CF 2.0 pre installed, esp. WM6.0 devices.
But: I cannot debug on them! If I try I get a message on the
device when it tries to run the ... more >>
Loaded Assemblies
Posted by Thore Berntsen at 5/16/2008 11:10:49 AM
Is there any way I can find out wich assemblies my application has loaded
into its process?
Thore Berntsen
... more >>
Serial Port
Posted by shadow-king via DotNetMonster.com at 5/16/2008 9:24:29 AM
hello,
I just want to create a serial port program that will put on a textfile
everything a machine sends to a computer thru the serial port...
--
Message posted via http://www.dotnetmonster.com
... more >>
|