all groups > dotnet compact framework > january 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 31
custom control font
Posted by Tomer at 1/31/2005 6:32:34 PM
Hi,
I've a custom control inherited from a control. lets say that this control
functions as a label.
I the designer I set the control's font to arial.
When I check in run time the font of the control I get the right size, but
the font name is always Tahoma.
This issue is very problemat... more >>
Loading an XML File And update the progress bar
Posted by RC at 1/31/2005 2:49:10 PM
I now want to load a large XML file.
How to show the updating progress on the progress bar?
The difficulty is how can I get the amount of the file being loaded.
XmlDocument doc = new XmlDocument();
doc.load(data.xml); //<---it takes long time to load
Any sample code or solution provided?
... more >>
Encryption and Decryption
Posted by John Smith at 1/31/2005 2:39:35 PM
Operating System: PocketPC 2003 (Emulator)
Language: VB.NET
I have downloaded the "Pocket PC Signature Application Sample" from
Microsoft's website
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/
html/PPCSignatureApp.asp) and have gotten it to work success... more >>
Wait Cuirsor not consistently displayed.
Posted by maark at 1/31/2005 1:37:04 PM
Platform WinCE 4.2, C#
I am working on a wizard based application. The navigation between the forms
is handled in button click event handlers for push buttons on the forms. I
want to display the wait cursor when the user presses the button to navigate
to the next form. In the button click e... more >>
cab files with #if (!COMPACT)
Posted by GS-SE at 1/31/2005 1:29:11 PM
My app uses C# classes that are shared with other apps that are Full
Framework. Therefore, I have several places where I have #if (!COMPACT) in
order to allow for methods and variables for the full framework. It works
fine when I am in debug, but it will not allow me to even create the cab
... more >>
efficient painting and animations with many objects
Posted by Carsten Marx at 1/31/2005 1:01:59 PM
Hello,
i need a solution for painting, scaling and animating many objects paralell.
I've tried a few things, especially this:
public void offScreenPainting()
{
Graphics gxOn = this.CreateGraphics();
gxOn.FillRectangle(new SolidBrush(Color.White),r1);
gxOn.FillRectangle(... more >>
Bug in Directories.GetFiles?
Posted by Claire at 1/31/2005 12:38:55 PM
The following is a self calling function to search directories for an
instance of a particular executable. VS .net 2003.
On one pass through, Im getting an error DirectoryNotFoundException when the
Directory.GetFiles(dir, "pocketvibrapro.exe") line is called.
At that stage the dir is "\Progra... more >>
MD5 in VB.Net
Posted by glenner003 at 1/31/2005 11:26:30 AM
Hello all,
Since there is no implementation of the MD5 hashing algoritm in the .Net
compact framework, I tried to build one myself. I have done this succesfully
before in Delphi (using rfc1321), but I can't get it working in VB.Net.
I found several implementations of it for VB6.0 and ASP (v1... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Mobile Web Form and HTTP Upload
Posted by AL at 1/31/2005 11:07:32 AM
Hello,
I'm new to mobile development but could not find any FAQ in this group -
if any is available please tell me. My question is: how to handle a file
input control (INPUT TYPE="file" in html) in a mobile web form?
I am to develop a Web application for HTML-enabled mobile devices, which
... more >>
Dinamically loaded assembly
Posted by Juan at 1/31/2005 11:03:52 AM
Hello:
I have a strange behaviour loading dinamically an assembly in PDA with
Assembly.LoadFrom. The DLL is in the same directory as the main EXE, and has
the same name :
AICA.exe
AICA.dll
When I implement( or copy manually) yesterday builded AICA.dll main
application takes it withou... more >>
Get active window from process
Posted by Linus Rörstad at 1/31/2005 11:01:37 AM
Hello!
Is there a API call to get the active window in a process? or is there
another way to solve this problem with getting the active form? The problem
is that I want one process to get the title from the active window in
another process.
Thanks
Linus
... more >>
Application has 2 buttons in taskbar
Posted by maark at 1/31/2005 8:47:01 AM
Platform: WinCE 4.2, C#
I am writing wizard based kiosk application. I have a class called Engine
which handles the creation, destruction and displaying of the wizard forms as
the user navigates through the wizard.
The void Main() method is in the Engine class (the Engine class is not a
Sy... more >>
Program freeze when updating control on background form
Posted by Iain McGinniss at 1/31/2005 7:23:01 AM
Hello all,
I am experiencing a problem with a compact framework program I am writing
where the program freezes if an attempt is made to update or read any of the
properties of controls on forms which are not visible (hidden behind forms
which have been opened on top of them). This is the s... more >>
Basic On-Screen Reports
Posted by chris.platts NO[at]SPAM [nospam]ocs.[removeme]co.[metoo]uk at 1/31/2005 4:21:12 AM
Hi,
I'm developing a piece of PDA software that needs to generate an
on-screen viewable report, which can also be saved and transmitted back
in a desktop-readable format (pdf, doc, html, etc).
The app isn't using an internal database -- it's all objects & their
properties. The report would... more >>
Sending Image From PC to PPC
Posted by Ted Tsoi at 1/31/2005 4:09:02 AM
I am trying to send a image from PC to PPC by using socket and BinaryWriter
and BinaryReader. The coding is as below:
PC Server:
writer.Write(byteArray.Length);
writer.Write(byteArray);
PPC Client:
int len = reader.ReadInt32();
byte[] Img = new byte[len];
if (len != 0) {
img = ... more >>
MS Application Blocks and Compact Framework
Posted by Rogerio Jun at 1/31/2005 3:15:02 AM
Can I to implement the MS Application Blocks(User Interface, Managed
Configuration) in Compact Framework ? ... more >>
hidding my application from TaskManager Apps
Posted by Mustafa Rabie at 1/30/2005 11:19:00 PM
Hi all,
I was wondering if there's a way to hide my application from showing in the
Task Manager applications.My application requires to keep running in the
back ground and i dont want my user to stop it by mistake from a task
manager application.
thanks
mustafa
... more >>
Get missed call notification?
Posted by Mustafa Rabie at 1/30/2005 11:11:01 PM
Hi All,
my application needs to get notified when there's a new missed call on the
Smartphone or PPCPE. Is there a notification mechanisim provided by netCF
or an API that does that?
or do i check the missed calls log every min and check if there's a new
entry using the opennetcf.phone cl... more >>
SQL CE and COLLATE option ?
Posted by Nakah at 1/30/2005 7:08:09 PM
Hi,
I want to use the COLLATE option with SqlCeEngine object, but I don't know
how ?
Is it possible to specify this option in the connection string ?
Thanks
... more >>
How to set the opacity level of a win form using .NET Compact framework?
Posted by Shaul at 1/30/2005 5:55:53 PM
is it possible?
Thanks.
... more >>
Accessing Windows Mobile Registry...
Posted by Thiago Luiz at 1/30/2005 3:21:00 PM
Hi All,
I need to access the registry in my application and I'd like to know
if it's possible with the .Net Compact Framework, and how?
thanks in advance,
Thiago... more >>
deployment woes!
Posted by Nick Swan at 1/30/2005 2:53:14 PM
Hi all,
I'm trying to deploy my first compact framework application and am having real trouble. I've read the following article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdeployment.asp
which to be honest isn't the best explained!
Anyway, my solut... more >>
Windows 2003 Mobile (Professional vs. Premium)
Posted by Doug Holland at 1/30/2005 12:41:04 PM
Hey all,
I'm looking at buying a device for development and I'm a little confused
between the two Windows 2003 Mobile operating systems, Professional and
Premium.
Which should I choose for Development?
Are there any major differences?
Thanks
Doug... more >>
Problems with Web Service on HP iPAQ
Posted by Peter Partch at 1/30/2005 10:24:57 AM
A CE consultant working with me is having problems calling a simple Web
Service (IIS running on XP Pro for our test case) from a Smart Device
Application using a web reference. Any attempt to call a method, any method,
results in a WebException throw on the CE device.
Please confirm that th... more >>
Setting URL of web service at runtime
Posted by Tim Johnson at 1/30/2005 10:22:02 AM
I'd like to be able to set the URL in my web-service client at runtime. I
see that when you instantiate a new one you can then set the URL:
MyWS.myservice1 ws = new MyWS().myservice1
ws.URL=<newurl>
But is there a way to set it once like a static for the life of the app?
Otherwise I have... more >>
Cursor
Posted by Veilchen at 1/29/2005 11:15:03 PM
Hello,
My application has to draw a cursor image on every mouse down / mouse move.
Is there a way to do that using a .cur file or any other image / icon file?... more >>
NJ5J: datagrid - setting column widths
Posted by Carl Perkins at 1/29/2005 10:49:03 PM
I have been trying to set the column widths on a datagrid using Styles but to
no avail.
When I load my datagrid with SQL Server CE data the cell widths are all
constant and too small in width. This forces the user to drag them larger -
I want to set the column widths individually so the user... more >>
.Net Compact Framework - Pocket PC vs Windows CE???
Posted by Carl Perkins at 1/29/2005 10:35:05 PM
Ladies and Gentlemen,
I am starting to develop a Smart Device application using the .Net Compact
Framework.
I am a newbie so please bear with me.
In setting up a project, I can set it up as a Pocket PC app or a Windows CE
app.
Also, I can select from many different emulators - that is where ... more >>
bring back to front after minimize?
Posted by h NO[at]SPAM rry at 1/29/2005 8:43:16 PM
Hi,
After some reading i found out that the (X) on the right above on pocketPC is not closing but minimizing the app i implemented a tray icon. On clicking i want the app to get back to the front.. sounds easy ;-)
but i can't figure it out...
i tried this:
private void NotifyIcon1_Click(... more >>
Can't connect to Sql Server 2000
Posted by pedroalves at 1/29/2005 2:51:27 PM
Hi all!
I have am developing an application that connects to an SQL Server
directly. I have a dedicated server machine, a laptop for development
and an ipaq 3760 (windows mobile 2002). This device doesn't have wifi,
so I have to use activesync through usb.
* All goes fine in this development ... more >>
Loading a bitmap from a .net resource as a HBITMAP
Posted by j.edwards at 1/29/2005 12:08:58 PM
I currently have some custom controls in a vb.net class library that use
native Win32 GDI calls instead of the GDI+ stuff as I found that way too
slow. The only way I know to get a HBITMAP required for win32 calls is to
use SHLoadImageFile() from aygshell - and that's been working well. Howeve... more >>
SqlCe needs to use nchar?
Posted by Tim Johnson at 1/29/2005 11:47:40 AM
I'm getting conflicting reports about SQL vs. SQLCe - if you're replicating
data from SQL Server down to SQLCe, do the text fields have to be defined in
both places as Unicode (nchar, nvarchar, ntext)? Or only in one, or in
neither? I'd been under the impression ".NetCF/C# and CE is only Uni... more >>
How to find my disposition errors?
Posted by compboy at 1/29/2005 10:57:55 AM
In my PPC proj, I had built it successfully, there is no building error,but
there is a disposition error, and how can I find it?
... more >>
SQL CE subscriber
Posted by Gouri Sohoni at 1/29/2005 9:24:54 AM
When I try to subscriber to a publication on desktop with emulator I get the
following error
Initializing SQL server reconciler has failed, number 29037
can somebody help me?
Gouri
... more >>
Default Resource in ASP.NET
Posted by Srinivasa Rao at 1/29/2005 1:03:02 AM
I have created a web application named CurrencyConverter . I have added a
webform named convert.aspx. When i have seen the directory in wwwroot, i
found a file named convert.aspx.resx. What is this file? Is this file default
resource? What we shall have to do if we want to compile default reso... more >>
PPC & Web Service Interaction.
Posted by packiyanath sk at 1/29/2005 12:30:08 AM
Hi
I am trying to access a webservice through a PPC application. This can
be done. But can any one suggest me on what are the possible options for
accessing the webservice from the PPC applications other than hardcoding
the Webservice server URL inside the application.
I beleive, One way i... more >>
Performance issues
Posted by Chakra at 1/28/2005 10:20:14 PM
One of our customers is trying to migrate from Appforge framework to .NET
CF. Their earlier application saves data like a flash, whereas the same
using Win-CE (developed by us) takes 60 times more. What is it that Appforge
has that .NET CF doesn't ? Or where could i be going wrong in my approach ... more >>
Transfer files from Desktop PC to PPC ...
Posted by Boris at 1/28/2005 10:07:01 PM
Grettings all,
My requirement is to transfer files from desktop PC to Pocket PC using a
program in PPC itself and not through some executable resideing in desktop
that the user has to invoke..
Description of the problem:
The desktop PC has some image files that can keep getting updated. ... more >>
Send Image From to PPC
Posted by Ted Tsoi at 1/28/2005 9:11:02 PM
I am trying to send an image file (a byte[] retrieved from MS SQL &
serialized before sending) from PC to PPC. However, only around 32bytes of
data can be received and displayed in a pictureBox of app in my PPC.
But there is no problem if doing so from PC to PC. Can anyone give me some
idea... more >>
Interop with Emulator
Posted by baronics at 1/28/2005 4:18:04 PM
I've been writing a Win CE 5.0 app in C# and testing in VS 2003 with the
"Windows CE .NET Emulator" as my target.
As long as I stay within .NET, I'm fine.
I just added code that calls an unmanaged function via
System.Runtime.InteropServices. Even though my unmanaged DLL is loaded along
wit... more >>
How much memory (RAM) should this take?
Posted by Dave at 1/28/2005 3:39:55 PM
How much memory would you expect an arraylist with 100,000 items (all
strings with about 7 characters per string) to take? I'm seeing about 8-12
MB on my emulator. Is that too high? Is there any way that I can bring
that down?
Thanks,
-Dave
... more >>
IndexOutOfRangeException
Posted by Peter at 1/28/2005 1:01:42 PM
Hello,
I'm programming a application on a WINCE 4.2 device
In the mainform(frmMain) I start a thread in formload event which reads the
GPS coordinates from port1 (internal GPS-reciever)
the coordinates are stored in Global variables
After a while (everytime on a differenty time moment) I ge... more >>
SQL CE 2.0 Win Mobile 2003 SE
Posted by Kamen Boyadjiev at 1/28/2005 12:59:45 PM
Hi,
I am writing an application that uses SQL CE 2.0 and for my surprise SQL CE
is not supported on Win Mobile 2003 SE. Is that so and if so does anyone
knows a Win Mobile 2003 SE compatible version of SQL CE 2.0 or some patch
that woud help solve that problem.
Thanks in advance
Kamen Boyadjie... more >>
Restarting Activesync from the device
Posted by Raj Kumar at 1/28/2005 12:39:03 PM
Hi!
Our application connects to a sql server on the LAN via the host computer
using activesync. We use TcpClient to get a connection to the server.Once in
a while, with no consistent pattern, we get socket exception with a message
"Connection refused. No connection could be made because the t... more >>
Assembly.LoadFrom strange behaviour
Posted by Juan at 1/28/2005 11:47:44 AM
Hello
I'm Developing for PDA and usingAssembly.LoadFrom("") method, but obtaining
a strange behavoiur.
If i use an old DLL I compiled long time ago, the method correctly loads
the assembly dinamically, but If i use now compiled DLL, instead of return
the DLLs assembly it returns my EX... more >>
Printing
Posted by Bernard Eitokpah via DotNetMonster.com at 1/28/2005 11:43:42 AM
How do I enable printing for an application running on a symbol ppt2800 and using a zebra tr220 mobile printer
--
Message posted via http://www.dotnetmonster.com... more >>
File Design Question
Posted by Darren Coleman at 1/28/2005 10:59:08 AM
Being new to the compact Framework I'm trying to decide on how to
store data to the Pocket PC device that I'm using.
My application will be collecting "Ticket" data, for each new "ticket"
I was thinking of have a new file created in a data folder. Once the
data was collected I would place the... more >>
Windows message queue
Posted by j.edwards at 1/28/2005 10:49:57 AM
I'm building a DateTimePicker in VB.NET that is a wrapper around
ComCtrls.dll and need to be able to receive win32 messages. In the compact
framework (WindowsCE namespace) there is a MessageWindow class - that's
perfect for what I want. However, I can't find an equivalent for "normal"
window... more >>
Translate piece of eVC code to VB.NET CF
Posted by Ray at 1/28/2005 10:41:06 AM
Hi, I'm using this eVC code in VB.NET CF, but seems last parameter is wrong
defined.
* eVC code:
BOOL WriteBitmapIntoJpegFile(const CString& strOutFileName, const int
nQuality, HBITMAP hBitmap)
* VB.NET CF code:
Public Shared Function WriteBitmapIntoJpegFile(ByVal strOutFileName As
St... more >>
Calculating the right height of a RectangleF for a string...
Posted by Carsten Marx at 1/28/2005 9:14:01 AM
Hi,
is there no chance to calculate the Height of a RectangleF in a easy way
for a given String if i had allready set the Font and the Widht of the
RectangleF?
I need this....
Please help...
Regards
Carsten Marx... more >>
|