all groups > dotnet compact framework > april 2007
Filter by week: 1 2 3 4 5
own Control
Posted by Martin at 4/30/2007 3:06:18 PM
Hi,
i wrote a UserControl for normal Windows App.
i can´t use this Control in compact framework.
is it possible to write a userControl that can be used in both frameworks ?
And how ?
Or i have to write 2 userControls :(
thx
Martin
... more >>
Load From XML
Posted by MikeB at 4/30/2007 8:56:43 AM
Hello all, what is the best / most efficaiant way to load data from XML into
a sqlce database? Here is what I am using to create the XML:
//Create Main Dataset
DataSet dsMain = new DataSet();
//Create Dataset to hold all DB Tables
DataSet dsTables = new DataSet();
myApp.Classes.Globals... more >>
issue with Bluetooth serial communication
Posted by Jay at 4/30/2007 7:32:51 AM
Hello All,
I notice I have a problem with an application I am writing where a
form starts up and opens a Bluetooth serial communication (COM8 on my
Verizon 6700 device).
I open the port on form.Activate(), and close the port on
form.DeActivate(). The communication works great if I manually ... more >>
class object serialization
Posted by tasleem at 4/30/2007 7:14:03 AM
hi all i want to transfer class object between 2 PDA using library
(inthehand.dll) 32.net,
in windows application BinaryFormatter class is there for serialization of
object. i tried but that class is not supported in .net CF.
My question is, any replacement of that class or any method th... more >>
Create OTA?
Posted by Malleswar at 4/30/2007 4:05:30 AM
Hi,
Can any one explain or provide the link to create the OTA(Over The
Air) for Pocket PC application? OTA allows the user to download the
s/w directly from Pocket PC or Windows Mobile.
Thanks in Advance,
... more >>
opening main menu with soft keys
Posted by Malleswar at 4/30/2007 3:58:58 AM
Hi Friends,
I am using menu in my form. By taping on menu I can be able to open
it. It comes by default. But here by using soft keys or hard keys, I
want to open the menu. Can any one plz tell me how proceed for this?
Thanks in Advance,
... more >>
Opening main menu with soft keys
Posted by Malleswar at 4/30/2007 3:44:27 AM
Hi Friends,
I am using menu in my form. By taping on menu I can be able to
open it. It comes by default. But here by using softkeys on key board
I want to open the menu. Can u one tell me how proceed for this?
Thanks in Advance,
... more >>
serial port problem in mio P350
Posted by bule at 4/30/2007 12:16:00 AM
Hi all i have this strange problem with a MIO P350, i am trying to open and
read from its serial port or better i have a craddle which fill in the pcoket
pc with a mini usb and exits with a serial ..
but it seems that nothing happens , i'll send bytes but nothing is received..
the craddle w... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Emulator images for Pocket PC 2003
Posted by Dave Harry at 4/30/2007 12:00:00 AM
Using VS 2005 standard with VB.
Looking to start making software for Pocket PC, I believe my emulator should
work out of the box, but didn't.
I downloaded emulator images, but it turns out they were for Pocket PC 2003
_SE_.
Are the original ones available somewhere?
I found the Pocket PC... more >>
CF 2.0 SP 2 Redistributable ???
Posted by Ofer B. at 4/29/2007 1:14:02 PM
Hello
I installed .NET Compact Framework 2.0 Service Pack 2 Redistributable and
noticed
That:
1. My "C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0" is now empty.
2. The installation puts its files in "C:\Program
Files\Microsoft.NET\SDK\CompactFram... more >>
Out of Memory Exception
Posted by Murthy at 4/29/2007 3:18:01 AM
Hi,
I want to display the Photos from a Folder in a Picture Box for my windows
mobile 5.0 application.
User can view the photos by pressing the Next Button.
But it is throwing out of memory Exception when he navigates through more
than 5 photos.
Here is my code.
private void ShowPhoto... more >>
Obfuscation with Xenocode
Posted by David at 4/28/2007 12:26:01 PM
I downloaded a trial copy of Xenocode, but it breaks my application.
I loaded my CF1 app and two assemblies, and selected the "Minimize size -
recommended for CF apps" option. I also turned off "metadata reduction" (so I
could use mapping file feature) and "dead code elimination" (because my ... more >>
How do I create a C++ Class Library?
Posted by Bob Binns at 4/28/2007 10:34:04 AM
I have some C++ Class libraies I'm trying to port to PPC. It's not obvious
how. None of the supplied templates seem to create one. If I create a CLR
class library, I get Win32 and cannot seem to add the PPC platform (or it is
not obvious how). If I create an MFC / ATL dll, I cannot seem ... more >>
Can not use HttpWebRequest for localhost
Posted by Sergey Shcherbakov at 4/28/2007 12:00:00 AM
Hello, everybody.
I am experiencing the following problem.
Environment: Visual Studio 2005, .NET CF2 SP2, Windows Mobile 5.0,
Fujitsu-Siemens LOOX n560.
I can not get any response using HttpWebRequest on PDA if the locally
running server is requested AND PDA is not connected to any LAN.
... more >>
How to hide a dialog until it is completely painted
Posted by Kevin at 4/27/2007 4:07:54 PM
Hi, all!
I have an issue where an "owner-drawn" popup keyboard (which is just a
CDialog positioned at the bottom of the screen) is painting slowly. In
other words, the keyboard keys are painting one by one.
Is there a function I can call (or some other setting I can use) to tell
Windows ... more >>
CF2.0 SP2 not building with WinCE 4.2 ?
Posted by hoomee at 4/27/2007 12:08:10 PM
I've just installed the March 2007 QFE for WinCE 4.2. This QFE is supposed
to include support for CF 2.0 SP2.
Now, when I build my OS image, the CF 2.0 is no included in the build.
Poking around, it appears that all the former environment variables and
whatnot ("dotnetv2", "NETCFV2_MODU... more >>
Borderless Popup window
Posted by Murthy at 4/27/2007 10:04:02 AM
Hi,
I want to show a border less customized popup window on WIndows mobile 5.0
I want this window to close when i tap on my background window.
I am able to show the window and close it but the problem is every time i
show this window, The Start Menu becomes visible on the top. I want my Popup... more >>
Multiple Instances of Application
Posted by Simon at 4/27/2007 6:38:09 AM
Hey gang.
This is a different question than most when it comes to multiple instances
of an application. We want to run multiple instances of our EXE.
In the past inside our "parent" application we would shell execute the EXE
multiple times and changing the window text was a "hack" which wo... more >>
MSSQL 2005 and SQL Mobile Edition - how transfer data?
Posted by Magda at 4/26/2007 11:56:23 PM
Hello,
how fast transfer data beetween MSSQL 2k5 and SQL Mobile Edition? I want do
this when terminal is connected by ActiveSync. W don't want use RDA or
replication so I have to use SqlConnect, SqlCeConnect etc.etc. And I have a
problem: TIME. How fast transfer data from MSSQL to SQL Mobile. ... more >>
Textboxes becoming Labels - way confusing...
Posted by Hilton at 4/26/2007 11:32:24 PM
Hi,
C#, CF 1, Smartphone (Blackjack):
I have successfully added textboxes, labels to various controls. Now for
some reason when I add text boxes on this one Control (defined as "Control
control"), the textboxes appear to change to labels. It is really wierd. I
was expecting to see 'bo... more >>
Windows CE 5.0 and Context Menu
Posted by banleong NO[at]SPAM gmail.com at 4/26/2007 10:46:46 PM
Hi all,
I have a CF2.0 application that uses context menu. It does shows up
perfectly in Windows Mobile or PocketPC but it doesn't shows up in
Windows CE5.0. The file agyshell.dll already there in windows folder.
Any helps or pointers?
Regards,
... more >>
ListView Hang?
Posted by kody at 4/26/2007 5:08:00 PM
I copied the sort column code from the msdn to make the listview column
sortable.
(.net CF doesn't have the built in sort function.)
however when I click listview column header to make it sort, sometimes the
items in the listview sorted but hang. At that time, if I click the items in
the li... more >>
RDA PROBLEM
Posted by Murat at 4/26/2007 1:32:39 PM
hi,
I am developing a project on a pda with 2003 SE operating system. and
i use RDA to pull data to my pda but i have a problem. whenever i try
to pull data, i get this error : "SqlCeExpection. A request to send
data to the computer running IIS has failed. For more information, see
HRESULT".
... more >>
Delete registry key: access denied
Posted by cyberco at 4/26/2007 9:19:56 AM
WM5 PPC
In order to show the GPS Control Panel on my Tytn I have to delet the
registry key:
HKEY_LOCAL_MACHINE\ControlPanel\GPS Settings\Hide
But the following code:
RegistryKey registryKey =
Registry.LocalMachine.OpenSubKey(gpsRegistryKeyName);
regis... more >>
CAB files over the air (OTA)
Posted by Wrecked at 4/26/2007 4:54:19 AM
Hello,
I was trying to install my application over the air on a PPC 2003. The
application is developed on VS2005 and i have generated a cab file
using the same. I wrote a simple HTML page containing the link to the
CAB file in the server. I open this file in IE on a GPRS enabled PPC
and then ... more >>
remotely reading device settings over WIFI
Posted by Milsnips at 4/26/2007 12:00:00 AM
Hi there,
What i'd like to know is how it is possible to read device settings over a
network connection.
I am toying with the idea for a small desktop app which checks a IP range
for available devices. If it finds a device, then I want to get the
DeviceID, and other device details, type, p... more >>
Standalone Device Emulator 1.0
Posted by Neville Lang at 4/26/2007 12:00:00 AM
Hi all,
While my questions are not specifically related to CF, it is in the area of
CF testing and usage so I apologize in advance if this is not the best forum
to post these queries. If there is another forum for these types of
questions, please let me know.
For the past few years, I ... more >>
New install vb2005 - where is pocket pc stuff???
Posted by Stephen Plotnick at 4/25/2007 10:52:50 PM
I bought a new computer with Vista.
I installed my VB2005 and did the needed upgrade from Microsoft due to
Vista.
I tried to open a poject that I previously created to start toying around
with programming on my WM5 phone. It was working before with the emulator
and also on the phone. No... more >>
Tfr a file from the device to the desktop
Posted by Trafalgar at 4/25/2007 1:32:00 PM
I have a task to tfr a file from the device to the desktop.
RAPI works fine from the desktop, but the device does not know that the file
tfr went thru ok.
Question 1 : Is there a way to send a notification to the device?
Question 2 : If Q1 is a no, then here is what I tried... I have a Wind... more >>
TypeLoad Exception
Posted by VJ at 4/25/2007 12:20:14 PM
Why can't it say what type failed to load... life would be easier..?, is
there a way to find out?
VJ
... more >>
SQL CE data transfer.
Posted by tc at 4/25/2007 12:00:00 AM
Hi. I've got a mobile app that I'm upgrading from old CEDB technology to
Mobile SQL. VB2003 to 2005.
The only way I can find to transfer data to and from the mobeil device is
connecting to a server, sql, iis, etc. This is a problem as the system
doesn't use an sql or iis server, never wi... more >>
CF App on Device or Emulator
Posted by Neville Lang at 4/25/2007 12:00:00 AM
Hi all,
Is there anyway, programmatically, that an app (C#, CFv1) can detect whether
it is running on an actual device or an emulator on a desktop?
Regards,
Neville Lang
... more >>
Encryption question
Posted by Sven Rutten at 4/24/2007 10:05:58 PM
Hello
We have an application which is communicating with a server using
TCPListener/TCPClient (stream)
Now we want to protect the data which is sent over the stream. The data is
in bytes or strings and then written to the stream.
As speed is very important, we are looking for a way to e... more >>
read touchscreen
Posted by Martin at 4/24/2007 3:12:20 PM
Hello,
is it possible to receive each Event if the Touchscreen is clicked?
I would not take a click or mousedown event because I only get the last
position.
I would like however each point received!!
Even if I click at 2 place at the same time.
Is that possible and how?
Or in the other... more >>
Display RTF file
Posted by Peter Morris at 4/24/2007 2:58:04 PM
Hi all
I'm executing PWORD to show the contents of an RTF file, but this isn't
ideal because the user has to close the document and then close the app
afterwards just to get back to my app.
Is there a way I can display an RTF file in my own app? I don't see a
RichEdit type of control.
... more >>
Warning messages using the Microsoft.WindowsMobile.Status namespace
Posted by HardBap at 4/24/2007 7:53:20 AM
Windows XP SP 2
VS 2005
Compact Framework 2.0
Windows Mobile 5.0 Pocket PC SDK
target device is Windows Mobile 5.0 device.
here is the code (simplified for brevity):
using Microsoft.WindowsMobile.Status;
..
..
..
public static Boolean Check()
{
Sys... more >>
Determine CE version before deployment
Posted by Trafalgar at 4/24/2007 7:38:01 AM
I have an Setup and Deployment package ready, but would like to run an
application from the desktop to determine the version of CE used, before the
cab files are installed. I can create an exe on the desktop using OpenNetCf
libraries to deterct the ce version, but how do I get the Setup and
... more >>
DLLImport dynamically
Posted by Frank Luker at 4/24/2007 12:00:00 AM
Hello,
I want to build a stopwatch class (high resolution timer) that runs with
compact framework 2.0 and also with a windows application.
I found a suitable class
(http://weblogs.asp.net/pwelter34/archive/2005/07/01/416999.aspx) but the
problem is that it imports "kernel32.dll" wich run... more >>
Bubble breaker ball like custom control with VS 2005
Posted by Joe at 4/23/2007 8:30:05 PM
I need a custom control similar to the Bubble Breaker game balls in
WM5 for smart phones. Since a button can't be used with smart phones,
I was hoping for some pointers (or even better some code) that could
do this. Perhaps even a free, already existing control with the source
that has more or l... more >>
How to run the Smartphone 2003 game without Visual Studio installed
Posted by OverTheEdge at 4/23/2007 10:12:33 AM
http://msdn2.microsoft.com/en-us/library/aa446553.aspx
I want to know how is it possible to give a demo of this game on a PC
that doesn't have Visual Studio 2005 installed.I often need to show
my changes to my teachers from a pen drive.Is it possible to run the
emulator without Visual Studi... more >>
code on the fly
Posted by Markus at 4/23/2007 8:18:05 AM
hi
the feature CSharpCodeProvider don't semms supported in the compact
framework.Is there anay other way to run code on the fly on a windows ce
device ?... more >>
System.PlatformNotSupportedException
Posted by avanja NO[at]SPAM gmail.com at 4/23/2007 2:48:33 AM
Can anybody help me solving this problem?
I have mobile computer model HandHeld dolphin 7600.
Processor: Samsung, ARM920T-S3C2440A
OS: Microsoft Windows CE 5.00
I've managed to establish network connection through bluetooth with my
network (I can ping the computers and copy files with w... more >>
Where has Propercase gone!!
Posted by Nigel Vandyk at 4/22/2007 7:54:04 PM
Hi
One of the handiest string functions is undoubtedly strconv which allows you
to convert a string to proper case.
It normally resides in Microsoft.Windows.VisualBasic but it doesn't seem to
be there for the Compact Framework. All the more puzzling as the constants
for the function VBbstr... more >>
Power consumption
Posted by Moshe Peleg at 4/22/2007 6:06:43 PM
Hi,
I'm looking for power consumption API's if there are any.
I'm using GetSystemPowerStatusEx and GetSystemPowerStatusEx2 in order to get
batteries status,
but I'm trying to fine tune power consumption in my application.
Trying to get power consumption when BT is on/off etc.
In additio... more >>
Does Compact Framework v2.0 support Asynchronous delegates??
Posted by MobileMan at 4/22/2007 2:46:01 PM
I have a Win CE v5.0 app I'm building, and I'm trying to use Asynchronous
delegates. It does correctly compile, but I get a runtime
"NotSupportedException" when I hit my Asynchronous delegate code.
Here is a sample:
public delegate String MovementTaskSelect(String primaryKey);
Movement... more >>
How to execute a .cmd file on confirmation
Posted by Developer at 4/22/2007 5:40:42 AM
I want to execute "foo.cmd" file on confirmation. My code snippet is
if(MessageBox.Show(cmdQueryArray[i], "Do You Want To...... ?",
MessageBoxButtons.YesNo, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1) == DialogResult.Yes)
{
System.Diagnostics.Process proc = new System.Diagnosti... more >>
GPRS Connection
Posted by Simone at 4/21/2007 2:41:18 AM
Hi.
How can i open/close a gprs connection with c# from a pocketpc2003/WM5
device?
Any ideas?
Thanks in advance.
Simon.
... more >>
Update records with SqlCeResultSet on SQL Mobile - HOW?
Posted by Adam at 4/20/2007 10:25:42 PM
Hello,
I have two tables, and when one table something change I have to modify
second table.
I don't know how update records in second table using SqlCeResultSet.
This code only adding a new rows to table2. So, how update records and add
new ?
sqlCmd.CommandText = "select [a],[b],[c],[d]... more >>
Print Dialog
Posted by mokkalioglu NO[at]SPAM gmail.com at 4/20/2007 2:03:29 PM
Hi all,
I have a question to the mobile application developers. I develop an
application for my school project and i want to print out some
documents. But i dont know how to do it. I do it with Print Dialog on
windows forms but is there a way to do this while working with mobile
applications?... more >>
Data communication between server and devices
Posted by Zeno Loco at 4/20/2007 8:50:26 AM
Hi,
I'm planning an application with peculiarity the to have a big
communication activity between mobile devices and one or more servers.
I've read some articles and documentation and make some tests about
that, but I still not have a clear idea about how move myself.
Can you help me to unde... more >>
|