all groups > dotnet compact framework > september 2006 > threads for september 22 - 28, 2006
Filter by week: 1 2 3 4 5
app_offline files in recycle bin
Posted by raghav at 9/28/2006 11:10:44 PM
Hi Friends
I have a question. I work throughtout the day with my application
(C#.NET, ASP.NET 2.0, SQL SERVER 2005 ). By end of the day if I see my
Recycle Bin, its full of app_offline files. Then everyday I remove
these
files from recycle bin. I want to know that is it normal? or something
is... more >>
.NET CF v2 not capatible on VGA Dell Axim!
Posted by Gavin at 9/28/2006 9:51:02 PM
Hi
Has anyone experienced any problems running .NET CF v2 applications on Dell
Axim x51v/Dell Axim X50v (Pocket PC 2003SE or WM5.0)? Whenever my users exit
the .NET CF v2 application the today screen shows large patches of purple.
Only way to fix this is to soft reset or rotate the screen. ... more >>
How to get rid of 'Program is from an unknown publisher..."
Posted by Richard Lewis Haggard at 9/28/2006 3:30:42 PM
After deploying applications from my development machine to my Dell Axim, I
get a warning, "...program is from an unknown publisher..." when I try to
run the application. How can I get rid of this warning?
--
Richard Lewis Haggard
www.Haggard-And-Associates.com
... more >>
Failing to deploy from VS05 to my Dell Axim x51v
Posted by Richard Lewis Haggard at 9/28/2006 3:20:30 PM
Using VS05, I created a project in C# for Windows CE 2005. I have a Dell
Axim X51v attached to the system via a USB cable. When I try to execute the
app, I get:
Error 1 Post-deploy error 0x80070005 returned after calling
'\Windows\wceload.exe /noui \Windows\System_SR_enu.cab'. Device
Con... more >>
see an excepion in debug
Posted by Kevin at 9/28/2006 3:18:43 PM
hi,
in my current project there is a lot of code like this
try
{
......
}
catch
{
.........
}
is there some way to see the exception type and message while debugging
this code(i dont have rights to change it on the TFS)?
thanks... more >>
New Windows Mobile 5.0 projects have non-PDA form size
Posted by Richard Lewis Haggard at 9/28/2006 3:13:46 PM
I've made CE apps before, in Dev Studio 2003, and the IDE automatically
produced a form that was appropriate for the PDA. However, I don't see that
happening in VS05. It seems to default the form to normal Windows size which
is, of course, inappropriate for the compact frame work's screen. Is ... more >>
CE 5.0 Device Emulator not appearing in target device list
Posted by Richard Lewis Haggard at 9/28/2006 3:04:55 PM
I've downloaded and installed the CE 5.0 Device Emulator but it doesn't seem
to be displaying in VS05's project properties Devices tab's Target device
combo box. What else do I need to do to get it to show?
--
Richard Lewis Haggard
www.Haggard-And-Associates.com
... more >>
OleCreateFromFile, Anonymous pipe, Thread, and deadlock
Posted by Mei at 9/28/2006 10:45:02 AM
Hi,
I hope someone can help me with this issue I have or point me to the
direction of what I should do.
I have a thread which listens to an anonymous pipe by using ReadFile().
Then somewhere else which has nothing to do with this thread calls function
OleCreateFromFile() and the progr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Get Unique Device ID for a PPC 2003 Device
Posted by Murthy at 9/28/2006 7:37:01 AM
Hi,
I am developing an Application for Windows CE.NET 4.2 Devices and PPC2002
Devices from LXE Manufacturer.
These are LXE MX5 Devices with integrated Scanners.
I used the code from the below path to get the Device ID.
http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstar... more >>
appln development for Win CE 5.0 based devices
Posted by KM at 9/28/2006 5:49:14 AM
Hallo
I managed to make a test app in C# under VS.NET 2003 CF ( smartdevice
application )
and run it with Win CE 5.0 SDk emulator . although only the Win CE 4.2
emulator loads
the program is running on it peacefully
but this is C#
if i have to do that same in C++ , i used eVC++4.0 b... more >>
apology to Paul
Posted by steel at 9/28/2006 4:54:28 AM
Paul, Sorry to inform you that maybe there is something wrong with my
computer or network. I can not put my post under that topic. and i can
not delete the page i have posted here.
... more >>
Query On WebService
Posted by poornima.venkataraman NO[at]SPAM gmail.com at 9/27/2006 9:14:40 PM
Hai,
In my Windows CE device application, i need to send some records
from sql server mobile to desktop sql server.
For that, i created one webservice, when i am calling this
webservice (ordinary helloworld webservice) i am getting the error like
"webexception" status is protoc... more >>
About the Focused Form
Posted by steel at 9/27/2006 6:27:07 PM
Thanks for your response. Paul.
The reason of a form always be focused is that: It can make the form
react with the FunctionKey at any time. In my device there are some
FunctionKeys and a small keyboard, the FuctionKeys should be responsed
at the instance the user push it. So I let the Form alw... more >>
Thread.CurrentCulture
Posted by Peter Morris [Droopy eyes software] at 9/27/2006 5:47:24 PM
It seems that Thread.CurrentCulture does not exist on compact framework 2.
Is there any other way I can set it?
I need to set the date format + currency sign.
Thanks
Pete
... more >>
My own autoupdater - problem
Posted by Martijn Cox at 9/27/2006 5:27:42 PM
Hello,
I have created an autoupdater webservice for my PPC2003 application, and
have managed to retrieve the download.cab from my web service on my device.
Next, however, while trying to install the new version, I run into the
fundamental problem of not being able to run the installer cab, ... more >>
NullReferenceException...why
Posted by Chuck Hecht at 9/27/2006 4:58:05 PM
I am getting the "NullReferenceException" error on this line
foundRow = dsScannerdata.Tables("dtReceivePdai").Rows.Find(mykey)
in the following code.
All of the values in the mykey field are unique and there are not blank
records
Any help is appreicated!!!!!!!
*******code to find ... more >>
Assembly name with spaces-how to uninstall programmatically
Posted by GD at 9/27/2006 4:05:54 PM
Hi,
I need to uninstall an assembly from GAC programmatically. It only works on
the assemblies with no white spaces in the assembly name. I have tried
multiple combination without success. As there are while spaces in the name,
I have to put two double quotes on the two ends of the file nam... more >>
Accessing source code
Posted by Martin Robins at 9/27/2006 3:32:34 PM
Microsoft very kindly provided the .net framework & compact framework v1 as
managed libraries that could be inspected using tools such as reflector if
you wanted to see what was going on under the hood; however due to the
change in how compact framework v2 libraries are constructed, the .dll f... more >>
Using System.Net.Socket over gprs..
Posted by chris-s NO[at]SPAM mailcity.com at 9/27/2006 7:44:42 AM
Hi folks,
Experimenting with the idea of using system.net.sockets for some very
simple 'push-messaging' over GPRS where the server/listener is running
the mobile device and the client runs on a PC.
I'm more than aware of all the issues surrounding change of
ipaddress/availability etc relati... more >>
tmail.exe -service
Posted by wheeldo at 9/27/2006 7:24:21 AM
Hi all,
I've been trying for some time now to discover what the -service
parameter options are for tmail.exe, but can't find any documentation
on it!
I've found that
-service "SMS"
does sms text messages.
-service "MMS"
does MMS text messages.
However, I can't find the one for... more >>
Microsoft CLR Debugger in Compact dot net framework
Posted by PHIJO MATHEW PHILIP at 9/27/2006 5:41:02 AM
Hello friends,
Is it any option for Microsoft CLR Debugger in Compact dot net framework.
Is any tool avaliable for debugging in compact dot net framework?
-PHIJO MATHEW PHILIP.
... more >>
RE: WM5 C# App.. How to stop it running?
Posted by Fabien at 9/27/2006 5:09:10 AM
Hi,
You can create an handler for the event FormClosed and in this
delegate, you call Application.exit().
BR
Fabien Decret
Windows Embedded Consultant
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/
... more >>
WM5 C# App.. How to stop it running?
Posted by robear NO[at]SPAM joshie.com.au at 9/27/2006 4:29:56 AM
Hi.
I'm new to C#, but pretty good in VB.
I have a C# app running fine on a WM5 device, and when I click the X in
the top right corner, I want to stop the app completely, rather than
hide it (as most apps do).
In VB, I could do application.exit, but not sure what syntax to use
with C# or... more >>
Button not visible in TabPage
Posted by grompl at 9/27/2006 3:26:44 AM
..NET CF 1.0 SP3, PocketPC 4.20.0.14053, Device: Intermec CN2B
I have a panel with a tab control with two tab pages and a button named
'ok'. If the selected tab page changes I'm adding that button to the
selected tab page:
Private Sub tabControl_SelectedIndexChanged(ByVal sender As Object,
... more >>
About the Always Focused Form, Paul
Posted by steel at 9/27/2006 12:59:15 AM
Thanks for your response. Paul.
The reason of a form always be focused is that: It can make the form
react with the FunctionKey at any time. In my device there are some
FunctionKeys and a small keyboard, the FuctionKeys should be responsed
at the instance the user push it. So I let the Form alw... more >>
webexception protocol error
Posted by raju at 9/27/2006 12:50:32 AM
Hai,
In my device application, i need to send some records to sql
server mobile to desktop sql server.
For that, i created one webservice, when i am calling this
webservice (ordinary helloworld webservice) i am getting the error like
"webexception" status is protocol error. My c... more >>
CF 2.0: Problem with DataGrid and decimal column
Posted by Carmine Moleti at 9/27/2006 12:00:00 AM
Hi to everyone,
This is the very first application I'm writing in C# .Net 2.0 for a
Smart device.
I've a class which, among its properties, there's one whose type is decimal.
This class' instances are bound to a datagrid via BindingSource.
When debugging via the emulator the datagrid corre... more >>
Switching between networks
Posted by Andy Baker at 9/27/2006 12:00:00 AM
I have a VB.NET 2003 application running on a CE 4.2 device, that connects
wirelessly to an SQL Server 2000 database running on a PC network. The
device also connects via the internal 802.11b card to a wireless portable
printer. I have both of these parts of the application running OK, but my ... more >>
my app is loosing 1.5MB mem per day?!
Posted by Matijaz at 9/27/2006 12:00:00 AM
Hello,
I'm getting confused.
I updatec CF to 1.0 SP3.
I call Dispose() for every object which provides it.
I added finalizers and impemented IDisposable interface for each of my
classes.
I had made some statistics with performance counters.
Now I'm checking memory status with GC.GetTotalMem... more >>
if eval1 || eval2
Posted by Peter Hartlén at 9/27/2006 12:00:00 AM
Hi!
We are using C# and VS2005 with a project migrated from CF1 and VS2003. When
running if-statements with two evaluations, where the second depends on the
first evaluation, we get runtime exceptions after our migration to CF2.
if a || b
{
}
If a is true, b shoulnd't be evaluated, ri... more >>
What happens when using VGA device?!
Posted by flik at 9/27/2006 12:00:00 AM
Hello,
I developed an application for a qvga device (240x320).
Therefore I used Formfactor = "Windows Mobile 5.0 Pocket PC".
Now it should possible run on a vga device (480x640).
Can I use the same application to run on a qvga device AND on a vga
device without any changes?!
Or do I hav... more >>
CF 2.0: INotifyPropertyChanged doesn't behave good with ListBox
Posted by Carmine Moleti at 9/27/2006 12:00:00 AM
Hi to everyone,
I've faced, and found a workaround, for the following problem:
1. Having a collection of objects implemented through BindingList<OrderRow>
2. OrderRow implements INotifyPropertyChanged to track changes to
properties, in particular to the quantity one.
The collection is ... more >>
How to Highlight a Cell in a Datagrid
Posted by Murthy at 9/26/2006 10:35:01 PM
Hi,
In your PPC 2003 Application we have a datagrid.
If i Select any cell with in the datagrid, then i can use Arrow keys to
navigate to different cell and view them.
How can i programatically select the First cell so that i can use Arrow Keys
for navigation and viewing other cells.
I am u... more >>
WebServices Query
Posted by poornima.venkataraman NO[at]SPAM gmail.com at 9/26/2006 10:05:11 PM
I have a device application with a database in it.I want to push the
tables from this database to the one in Remote SQL Server.I have
written the both the devce and the Windows application in VB.net.
The methods to accomplish the aboce are RDA,WebServices,Replication.
Now i do not know how to wr... more >>
CameraCaptureDialog
Posted by Jack TREVES at 9/26/2006 9:48:50 PM
Hello,
I want to use the CameraCaptureDialog in my application which is running on
an HP Hw6915.
I use the following code :
CameraCaptureDialog CamDial = new CameraCaptureDialog();
CamDial.Mode = CameraCaptureMode.Still;
CamDial.StillQuality = CameraCaptureStillQuality.Normal;
CamDial.... more >>
Send Email in Pocket PC
Posted by D G at 9/26/2006 6:31:31 PM
Hi,
I'm new to programming in the Compact Framework, and am finding that doing
something that should be straightforward incredibly difficult!
I want my app (written in C# using CF 1.0) to create a new Email Message on
the Pocket PC, passed params such as Subject, To, Attachments etc.
I'... more >>
GetDelegateForFunctionPointer
Posted by jminiman at 9/26/2006 11:33:01 AM
So this capability is absent in CF.NET 2.0. I'm pretty far from a COM
Interop expert...can someone share some sample code that is logically
equivalent to Marshal.GetDelegateForFunctionPointer? I'm not having
much success in finding such a sample on Google.
... more >>
ShowDialog crashes application
Posted by Bryan at 9/26/2006 10:31:43 AM
Hello,
I am using CF 2.0, with ARM processor. When I try to do something simple
like this:
Form frm = new frmChange();
frm.ShowDialog();
It crashes on ShowDialog(), I have even put it in a try,catch to see if I
can catch anything, but no, it just plain crashes and closes the whole
appl... more >>
Component Licensing Question
Posted by Tomppa at 9/26/2006 10:27:57 AM
Can OpenNETCF.WindowsCE.DeviceManagement.GetDeviceID() be spoofed?
I'm writing a component licensing class using the LicenseProvider class as a
base class.
My thoughts are to create a lic file contining the DeviceID and sign it with
the private key.
Are the holes in this approach?
TH... more >>
How to list all ActiveX controls registered on system using C#?
Posted by Melisa at 9/26/2006 7:00:01 AM
Hi,
I want to list down all ActiveX controls which are registered on my
system.
How can it possible through C# ?
Please help me and reply ASAP.
Thanks
Melisa
... more >>
PDA with usb host support and programming on VS2003
Posted by sshekar NO[at]SPAM gmail.com at 9/26/2006 5:50:06 AM
Hi,
I was looking for a PDA with USB host controller so that I can connect
a USB dongle that could be recognized by it. Also are there any PDA's
that anybody has come across wwith RS232 support. I know that we can
use the serial port of the PDA that is used for Active-Sync. However
since that... more >>
Re: Annoying sound in TextBox when pressing ENTER
Posted by maluman at 9/26/2006 5:45:50 AM
Does enyone know the solution?
Regards, e@7
... more >>
VirtualMode for DataGrid
Posted by arjunsingri at 9/26/2006 5:13:48 AM
Hi,
Is there any way we can implement just-in-time data loading for the
DataGrid control in the .NET Compact framework. It is possible to do
the above in the case of DataGridView control in .NET framework 2.0.
Here is the article which explains this process:
http://msdn2.microsoft.com/en-us/lib... more >>
TabControl about to switch event in the Compact Framework
Posted by PHIJO MATHEW PHILIP at 9/26/2006 2:35:02 AM
Hi friends,
Can anyone help me how to program tabcontrol in compact dot net frame
work(c#). Can any one help me with this matter.
-PHIJO MAHTEW PHILIP.... more >>
NullReferenceException when calling SqlCommand.ExecuteReader()
Posted by yfujiki at 9/25/2006 10:07:42 PM
Hi all,
i'm getting a NullReferenceException when calling SqlCommand.ExecuteReader().
Weird thing is that i get it only when i run it as a device application. Same
sample
code runs perfectly in Windows Application Form.
------------------------------------------- below is the sample ... more >>
How can let the Form always Focused
Posted by steel at 9/25/2006 9:13:01 PM
How can let the Form always Fucused, so it can recieve all the message.
I override the onlostFocus and add the Focus it again but it doesn't
works. it seems the form always try to give up its focus when there are
some controls in it.
thanks a lot in advance.
... more >>
How to Trap All KeyPressEvent in Form in CF2.0
Posted by steel at 9/25/2006 8:21:05 PM
Hi, How can I Trap All KeyPressEvent in the Form in CF2.0?
it means the All message sent to the controls in the Form is Processed
by the Form at first.
... more >>
how to uninstall an assembly from GAC
Posted by GD at 9/25/2006 7:46:44 PM
Hi,
I tried to use the following code (C#) to uninstall an assembly from GAC:
Process.Start("cgacutil.exe", "-u " + " \\Windows\\myAssembly.dll);
However, nothing happens. It doesn't event throw any exception.
Can somebody point out what is wrong with the syntax please?
Thanks.
GD
... more >>
Improve Application Startup Peformance
Posted by Kevin FL at 9/25/2006 5:39:01 PM
I have a fairly large CF 2.0 application with three files: 2 DLL's 556KB,
361KB and the .exe of 108K. I'm looking for any hints on how to make the
initial load of my application run faster. I'm using CeDbgView32 and it
looks like from the time the first thread is started until the first line... more >>
EmailAccount.Send
Posted by JosephByrns at 9/25/2006 1:32:21 PM
I am playing around with the PocketOutlook namespace and I have a few
questions:
i) What does EmailAccount.Send actually do? I have tried using this method
to see if I could send an email without displaying the compose form (from
MessagingApplication.DisplayComposeForm), but nothing happen... more >>
Sample: Signature Capture
Posted by Dave Benton at 9/25/2006 1:23:04 PM
Hi all,
I've used the MS signature capture example to add this ability to my
program.
To be able to show the captured signature I have to use the desktop program.
Has anyone managed to show the captured signature from the pocket pc ?
I've managed to save the signature as .bmp before sa... more >>
Error including VS 2005 .net application to CE OS
Posted by Srini at 9/25/2006 11:55:02 AM
I did the exact same thing as in article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce50/html/windowsce_kiosk.asp
..When i test it on emulator(x86_release) , the get the following error on
startup (Access Violation)
Loaded symbols for
'C:\WINCE500\PBWORKSPACES\ST... more >>
SDF 2.0 and WinCE 6.0?
Posted by Tomppa at 9/25/2006 9:06:28 AM
Does the SDF 2.0 work with WinCE 6.0 or only 5.0
THX
... more >>
OpenNETCF Smart Device Framework 2.0
Posted by PHIJO MATHEW PHILIP at 9/25/2006 8:43:02 AM
Hi Friends,
I would like how can download the namespace for OpenNETCF Smart Device
Framework 2.0 to be for smart device application development. I want to use
the namespace avaliable in OpenNETCF for pocket PC development.
Kindly pass to me any information regarding this issue
-PHIJO ... more >>
Pocket PC Panel Control visibility?
Posted by basuritta at 9/25/2006 8:07:03 AM
I have added some labels into a Panel control (just added at design
time through the visual studio 2005 interface) for a little test app
programmed for Pocket PC.
I want to change the visibility to the entire set of controls at the
same time.
I set the .visible property of the Panel to Fals... more >>
Code hiding?
Posted by Ofer B. at 9/25/2006 5:59:01 AM
Hello
When I try to open framework dll with the reflector. I can see all the code.
When I try to open a Compact framework dll, The code is hidden. only the
inteface can be seen.
Do any one know what utility the CF team used to hide the CF code?
Thanks... more >>
MSMQ with WM 2005
Posted by andy_oldstuff NO[at]SPAM yahoo.com at 9/24/2006 7:59:50 AM
Hi,
I really need to get MSMQ installed on an XDA Mini S running WM 2005
but it won't start the service.
The MSMQ blog article from Mark Ihimoyan
(http://blogs.msdn.com/ihimmar/archive/2004/06/14/154911.aspx) seems to
be a useful application to try but I don't have the necessary
developmen... more >>
GPS
Posted by Fabio at 9/23/2006 5:10:31 PM
Hi all!
Someone can tell me if there is some SDK or where I can find specifications
to comunicate with a GPS receiver?
Thanks!
--
Free .Net Reporting Tool - http://www.neodatatype.net
I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
... more >>
QWERTY device button question
Posted by drumred at 9/23/2006 1:08:01 PM
Greetings. Can a QWERTY keyboard button be used to start a program, much as
we can map other buttons on a device to launch a program? Perhaps a button
could be pressed and held for 'X' seconds to launch the program.
Thanks.... more >>
Zip and Unzip utility
Posted by Steamboat at 9/23/2006 10:13:02 AM
Is there a recommended Unzip utility that can be used to unzip files on a
Windows CE (ARM) device?\
Thanks!... more >>
XML, Windows App and Pocket PC App
Posted by asadikhan NO[at]SPAM gmail.com at 9/23/2006 7:52:47 AM
I am working on a project that works something like this: I have a
Windows Application that will generate some XML files containing
questions with some possible answers for each question. I want to push
out one of these XML files on a pocket PC, so that another application
that I will write for ... more >>
PlaySound, pause etc
Posted by Hilton at 9/22/2006 10:03:12 PM
Hi,
If I call PlaySound through PInvoke, is there any way to pause it and resume
later? If not, are there any other APIs that would allow me to play a sound
and pause/resume? What about a command line interface to 'Windows Media'
that would start it in the background (non-visible) and the... more >>
Grid control for CF1
Posted by MichaelGr at 9/22/2006 9:31:02 AM
Hi !
I´am looking for a Grid control for Compact Framework 1.1.
Can somebody give me a tip where i can buy that ?
Kind regards,
Michael... more >>
Green Windows Mobile 5 theme
Posted by polly.dixon NO[at]SPAM gmail.com at 9/22/2006 8:53:27 AM
Hi,
Does anyone know where I can get the green WM5 theme as advertised on
Microsofts site for Windows Mobile 5 OS?
... more >>
Need example of RegSaveKey(..) in C#
Posted by GT at 9/22/2006 6:47:02 AM
Hello
I have a Windows CE application written in C# and I need to save the registry.
I use RegistryKey.SetValue(..) to set the register values, however they are
lost after a cold boot unless they are saved.
The target has a HIVE based registry, so the RegSaveKey
(http://msdn.microsoft.com/l... more >>
How to Create an Custom Image Button In CSharp in Pocket PC 2005
Posted by PHIJO MATHEW PHILIP at 9/22/2006 4:49:01 AM
Hi
Can any one tell me how to create a custom image button using C# for Pocket
PC 2005?
Thanks,
Phijo Mathew Philip.... more >>
Timer does no longer fire after Menu = null
Posted by Dexlex at 9/22/2006 12:00:00 AM
Hello NG,
when I switch my form to fullscreen by setting
this.Menu = null;
my System.Windows.Forms.Timer does no longer fire, though still enabled.
However, key presses, clicks, etc. still work on the form.
As soon as I switch back to normal mode by
this.Menu = mainMenu1;
the tim... more >>
|