all groups > dotnet compact framework > january 2008 > threads for january 15 - 21, 2008
Filter by week: 1 2 3 4 5
Imaging and DPI
Posted by Charles Teel at 1/21/2008 12:21:41 PM
I'm working on a project where I need to be able to adjust the DPI of
either a Bitmap, Image, or Graphics object. So far I can't find
anything that will get it off of the standard 96 DPI.
Surely there's a way to modify one of these objects to different DPIs
(something like the full framework's... more >>
Problem with SQL CE, select with sum and SqlCeResultSet
Posted by carnivore at 1/21/2008 8:41:17 AM
Hello,
I have a field named "value" defined as numeric(9,3) in a Sql Server CE
(3.0.3600.0) database. I do a simple select query with one join and sum
on field value. This query works good on sql server management studio
but if it is executed in SqlCeResultSet i get a error:
Expression cause... more >>
WCELoad
Posted by Rick at 1/21/2008 7:11:24 AM
After an extended period of use of my Mobile Device(WM5) and testing
of my application which I frequently reinstall applications via
WCELoad, I start getting "Unable to remove previous version" errors
from WCELoad. I thought it might be a locked file in the install
directory, but I proved that ... more >>
How do I Gradient Fill A Polygon the Compact Framework way?
Posted by mcm at 1/20/2008 4:26:12 PM
Help! I need to gradient fill a Polygon on a Windows CE 5.0 system. How do I do it?
This works beautifully on a Windows Vista desktop as the target:
//*******************************
GraphicsPath pathPoints;
// fill the points path (for example a rounded rectangle)
Brush brushButton =... more >>
DLL,MFC,Bitmaps
Posted by Hilton at 1/20/2008 3:44:55 PM
Hi,
I have an MFC DLL that reads a file and generates a bitmap which I then need
to display in my C# app. This is a CF 1.0 app (so no Graphics.GetDC method
unless I use GraphicsEx). I have two plans:
Plan A:
The C# app passes in the file name and some other parameters to the DLL.
Then... more >>
DLL
Posted by Hilton at 1/19/2008 6:05:45 AM
Hi,
I wrote some simple DLL code, created a DLL called DLLTest.dll and copied it
to a directory on the Pocket PC:
#include "stdafx.h"
#include "DLLTest.h"
extern "C" __declspec(dllexport) int __cdecl Function1(void)
{
return 42;
}
I have tried various combination of the above... more >>
Setting Date/Time for daylight savings using Opennetcf Ver 2.0
Posted by Manish Bafna at 1/19/2008 1:53:01 AM
I am using opennetcf.windowsce namespace of Smart Device Framework 2.0 for
daylight savings.I was able to successfully
set timezone using SetTimeZoneInformation but i am not able to set Date/Time
using LocalTime and SystemTime of DatetimeHelper.I am not able to figure out
how to set bias/offs... more >>
Encryption Algorithm Functions in SIM
Posted by Freesc at 1/19/2008 12:38:38 AM
Hi,there
i 'm writing a application of certification
i have been trying to get the IMSI and encryption algorithm
functions(a.k.a certification functions) which stored in the SIM card
is there some APIs in Windows Mobile 5/6 can make it ?
Thanks in advance~
:-)... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Using window panels instead of windows.forms
Posted by personificator at 1/18/2008 7:20:16 PM
Hello .Net enthusiasts. I have a problem with a Mobil Application I'm
developing on the Windows CE 5 platform. The application will crash
eratically without displaying debugging info usually when loading a
separate form using show and hide methods. I placed try/catches on all
the code blocks I t... more >>
Suspend mode
Posted by Andy Baker at 1/18/2008 2:37:51 PM
We have been having a few problems with a customer of ours who has several
devices running CE.NET 4.2. There are two distinct problems.1) The device is
suspended after being left all night, but pressing the power button does not
cause it to come back on. A soft reset will get it going, until i... more >>
Quick survey: Multiple pages on a form
Posted by David at 1/18/2008 9:50:26 AM
Hi,
Just a quick survey to see how you handle having too much information on a
form for the pocket device.
My current app has a lot of information. In the past (ASP.NET), I have
written many panels or user controls and switched panels on and off when
required. This is all in one page.
... more >>
Image Strectch using Graphics.DrawImage()
Posted by mrabie at 1/18/2008 8:40:53 AM
hi all,
i am writing my own messagebox control, it's composed of 3 parts
1) Top bar
2) Middle Area (resizable)
3) Buttom bar
the top and bottom bar sizes doesn't change, but the middle area
changes depending on the size of the dialogbox (im my case a form that
i resize). When i draw the ... more >>
Button Backcolor property not working even with SP2 installed
Posted by David Robinson at 1/18/2008 6:57:01 AM
Hi,
I have been trying to get the backcolor property of the button control to
work under the .NET compact framework with a custom Windows CE image, but I
am having no luck. The problem only seems to occur when running the
application on a customised Windows CE image. If I run the applicatio... more >>
SQL Server Compact
Posted by RobC at 1/18/2008 4:14:00 AM
How do ascertain the absolute position in a ResultSet after a seek / ReadLast
etc?
... more >>
html in pocket pc application
Posted by van13alex@gmail.com at 1/18/2008 1:45:33 AM
Hello everybody! I'm developing a pocket pc application and basically my
application contains controls such as labels, textboxes and buttons. I
want to add a well modified text in my app and i'm thinking that the only
way to do this is by modifying my text via html. How can i add in a pocket... more >>
Confusing VM behavior
Posted by Brandon at 1/17/2008 8:46:00 PM
You have heard from me before on our memory utilization saga - I will try to
keep this one short and sweet. To make our issue more reproducable, and to
just help me see what going on, I put toghether a utility just to eat memory
and see if we can cause our issue to be more easily reproducable... more >>
Is there any command can trigger uninstall?
Posted by Jabin.Yan@gmail.com at 1/17/2008 7:15:41 PM
In MSDN link ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/
MS.MOBEMBDEV.v10.en/mobilesdk5/html/
wce51conUninstallingApplications.htm
But I want to write a piece of code to trigger uninstall application
which is installed by cab file.
Is there any command which can be used?
Thanks,
Jabin... more >>
mscorlib.dll and PInvoke and .NET 3.5
Posted by Harry Simpson at 1/17/2008 11:34:14 AM
I'm now working in VS2008 and created a test app to print BT from MC70 to a
Zebra printer
When I try to print I get a
Missing Method Exception "Can't find PInvoke DLL 'malibtdll.dll'.
StackTrace: " at Zebra.Communication.MotorolaBluetooth.Disconnect() at
Zebra.Communication.MotorolaBlue... more >>
Mobile Json Serializer/Deserializer
Posted by John Kraft at 1/17/2008 10:32:00 AM
I've recently begun using Json to transmit data in my projects instead
of XML. I've been using the Newtonsoft.Json implementation and have
been very happy with the performance and ease of use. I've run into a
snag now, because I'm using CE5.0 based devices to contact our
services. Unfortunate... more >>
Help - Referencing/Deploying SQLCE3.1 with VS2008
Posted by chris-s@mailcity.com at 1/17/2008 1:56:21 AM
I recently raised an issue here about how to upgrade my project to
VS2008 and retain SQL CE 3.1 rather than upgrade to 3.5. After
following what I believe are the correct steps it didn't work as
expected. I'll apologise for the length of the posting, but I wanted
to provide any information that ... more >>
Cannot deploy or debug with VS2005 or VS2005
Posted by BlackMDK at 1/16/2008 9:24:21 PM
This is one bizarre problem. Last week I was working on this project with no
problems today I tried to deploy and it said deployed successfully but it
was to fast, I checked device and no it did not deploy. After trying to get
it going for many hours summary is this.
In VS2005 and VS2008 i... more >>
Problem waking up device... I think I've tried everything...
Posted by LEM at 1/16/2008 4:46:39 PM
Hi all,
I have been for almost 2 days trying everything.
I need to wake up the device once the PDA is in idle mode (the user
pressed the power button)
I tried with SetSystemPowerState,RunAppAtTime and they don't work.
The only one that works is using the attached code. The problem is onc... more >>
Button onPaint event doesn't fire?!?!
Posted by mrabie at 1/16/2008 1:57:25 PM
Hi all,
I am writing a class that inherets from the Button control to draw a
custom image on it. I override the OnPaint event but it never gets
called and the button draws the default shape n color... any ideas why
it might be doing that?
Thank
here's the code:
public partial class O... more >>
Options for communication with the device
Posted by David at 1/16/2008 11:39:13 AM
Hi,
I am looking at commincation options. Here are my thoughts so far, your
comments would be appreciated.
What I need to do is to be able to export from a desktop app and also allow
the desktop app to drag (import) from the pocket device. What I would also
like to do from the pocket dev... more >>
Installer Project - No device-compatible programs available
Posted by Bob at 1/16/2008 5:35:01 AM
I have written an app for WM6. When I debug it using the any of the Windows
Mobile 6 Emulators it runs fine. Same if I debug to a real device.
I need to package the app for deployment. I've been through all the various
walkthroughs including Christopher Tacke's Deploying .NET Compact Framewor... more >>
Error while inserting data.
Posted by Harsha at 1/15/2008 11:28:01 PM
Hello all,
I am trying to insert data into a table.. and it is giving the following
error.
"ExecuteNonQuery -- Error Code: 80040E2F Message : A duplicate value
cannot be inserted into a unique index. [ Table name =
CUSTOMIZATION,Constraint name = IN_CUSTOMIZATION ] Minor Err.: 25016 So... more >>
APPLICATION.DOEVENTS TAKE FOCUS
Posted by tony at 1/15/2008 8:19:29 PM
Hi,
i have 2 applications running on the same time.
the user is using app A .
sometimes in app B (hidden form) when try to connect to the internet, im
calling Application.Events to get windows message about the connecting
process.
when this happen, the focus is taken from app A.
... more >>
Framework
Posted by Brij Kishore at 1/15/2008 7:45:14 PM
I am having Dotnet 2000 and old framework i want to upgrade my framework 5.0 what i will do
... more >>
Turn On/Off Wifi Radio via C#
Posted by Noble D. Bell at 1/15/2008 4:28:01 PM
Is there a way, through C#, to turn off or turn on the WiFi radio? I need to
find a method that will allow me to do this via my program. I would really
like for it to be compliant with logo testing standards if possible.
"ConnMgrReleaseConnection"?
Thanks in advance,
Noble... more >>
Out of Memory Error w/Image from HBitmap
Posted by Patrick Dugan at 1/15/2008 2:09:56 PM
I have a subroutine (posted here) that takes a image from a file and resizes
it and loads it onto a PictureBox.
There is a timer elsewhere that sends the routine a new filename to use.
The routine works fine until the 77th file or so. (The file names are
randomly assigned so they vary each t... more >>
Blackroc Printer anybody?
Posted by elena at 1/15/2008 1:47:03 PM
Hi, all
I have this little Blackroc printer and trying to figure out
how to print barcode and detect marker on the paper.
The manual has some typo error and it is difficult to check if
the paper has marker on the wrong spot or the command doesn't work.
My question: Is anybody using this printer... more >>
WM6 smartphone and answering to incoming call with c# 2005
Posted by d.orlando@studiocode.com at 1/15/2008 10:51:56 AM
There is someone that know this kind of problem?
I've not find anything about it, there is only read only properties on
Configuration and Status...
Any resources?
Please help me, thank you!
Victor von Doom
mail: d.orlando@studiocode.com... more >>
Installer Project
Posted by Bob at 1/15/2008 9:06:02 AM
I have written an app for WM6. When I debug it using the any of the Windows
Mobile 6 Emulators it runs fine. Same if I debug to a real device.
I need to package the app for deployment. I've been through all the various
walkthroughs including Christopher Tacke's Deploying .NET Compact Framewor... more >>
|