Hi,
I maintain a c# compact framework application and have had 2 cases in 2 days where the a caught exception had a unexpected string in the Message. Both times due to a different exception type being thrown. In the following code the socket exception is caught, but the message shown relates to something else.
//method1
try
{
...
hi
how i can fill collection from database and connect this collection to ComboBox ?
thank's in advance
...
Are there any good .net Compact Framework reference implementations (w/ source) out there that demonstrate good practices for developing on WM-enabled devices?
My main area of concern and uncertainty is with Data Access. ORMs seem out of the question (do they even exist? are they feasible on resource-constrained environments?) and the ...
Hi Folks,
I am looking for some advice on handling WM 6.5 Gestures in a C# 2.0 Application. Currently things like pan and scroll are interfering with controls like the Tab Control and listviews.
Is there a way to catch these using C# 2.0 and handling them? I've been looking at the MSDN wrappers etc but these are built using .Net 3.5 an...
I get an application error thrown when I close the program using as cancel button which all it does is close the form.
The error says:
"Application appName.exe encountered a serious error and must shut down"
How do I start fixing it? It is not a thrown exception; no other info is given.
What could it be and how do I fix it?
...
I would like to handle such as situations as web service down. Do I use a timer or is there an exception that's being thrown when the web service is unreachable or taking too long from the client?
i am using cf 2.0 and .net 2.0 for the web service
...
I want to use an AES 256-bit web service with a Windows Mobile 6.1 application (.netcf 3.5).
I can't seem to find an answer ANYWHERE as to what types of encryption the SSL/TLS stack on the .net compact framework supports. Maybe I'm just being blind...
Please help! Going crazy!
...
Code:
[DllImport("AYGShell.dll")]
static extern Int32 SHFullScreen(IntPtr hwndRequester, UInt32 dwState);
public const UInt32 SHFS_SHOWSIPBUTTON = 0x0004;
public const UInt32 SHFS_HIDESIPBUTTON = 0x0008;
public Form1()
{
InitializeComponent();
}
private void OnPaint(object sender, PaintEventArg...
I'm looking for a component to render SVG files in .Net Compact Framework (preferably 2.0) with the possibility to rotate and scale the image.
DXF would also be an alternative but SVG would be preferred.
Does anyone know of a component able to do this? Or have any recommendation on how to implement it?
At the moment I'm leaning toward ...
I'm writing a compact framework 3.5 application for a windows mobile device. In this application I'm consuming a web service in order to sync with our database. However, whenever I try to make a call to the web service from the device or the emulator, I get the following error: Invalid URI: Hostname could not be parsed. I'm connected ...
Hello!
I have a very simple wcf service. And a simple windows mobile client.
I have two Windows 2008 servers. One is my development pc. The other is placed in our dmz.
If I deploy my application to my development pcs, IIS, and open a port all the way in(Just for test). It works.
But if I copy the service on to the dmz server, it d...
I am trying to load high resolution image(like 3264x2448). For that I am using IImageFactory class in C#. IImageFactory is downloaded from the Microsoft site. If I try to load the high resolution image I am getting “out of memory” exception. Have a look at the below sample:
IImage GetIImage(string fileName)
{
Bitmap bitmap = null;
Gra...
Hi Folks,
Hoepfully someone can shed some light on a problem - I am trying to listen to\intercept all windows messages generated by an application and dispose of certain types, for example Notify or Gesture messages.
I have been reading articals on how to do this using the Microsoft.WindowsCE.Forms.MessageWindow and creating a class wh...
Hi All,
I have an C#.NET application for pocket PC. Application needs .NET3.5 framework to run on device. If I deploy the application through VS2008 by connecting device through ActiveSync then it deploys framework also. Is there any way if I can deploy framework without VS2008???
Cheers
...
We're developing with Compact Framework for a device under Visual Studio 2005. However we want to make an emulated version of the software as well, running at the PC (preferably selectable via a Build Configuration).
It seems however that the .vsproj file is specific for devices; there is no way to use the full .NET framework for examp...
Hi,
i am creating .cab file installer for windows mobile application,
problem is i need to keep the 90X90 .png image as icon for application.
as per the link
i tried to load the icon,step am following are
1) writing the icon path to registry
2) then loading the icon...
i followed the step mentioned above link,
but the problem is i...
Hi,
Here's the idea:
I have two panels that have MouseDown events. The idea I had was to have a timer that would enable and disable the panels alternatively every tenth of a second.
I was hoping that the MouseDown event would be caught by one panel and then I could read the e.X and e.Y of the event, and then the MouseDown event would ...
I am trying to get two windows mobile devices to communicate with each other.
The API I am using (EMDK) says:
Any Microsoft API can be used for serial communication after the pairing is completed.
So, can anyone point me to an example of serial communications using C# .NET (Preferably Compact Framework).
...
The only thing I've found is EQATEC Profiler. Are there any other profilers out there that can be used to profile .NET CF apps?
...
I am trying to use the GPS_DEVICE structure from within .NET CF 3.5 and I keep getting an error (87) returned from the call to GPSGetDeviceState. As far as I know, 87 means invalid parameter, but I do not know which parameter is invalid!
Can anybody please advise to what I have done wrong with my code as I have now spent the best part o...