I'd like to call SndGetSoundFileList from c#, but I got no idea how the p/invoke for this function needs to be, due to the pointer parameters.
HRESULT SndGetSoundFileList (
SND_EVENT seSoundEvent,
DWORD grfLocations,
SNDFILEINFO** ppSoundFiles,
int* pcSoundFiles
);
I'd like to get the list as a string-array, of course.
C...
Hi
How does one do validation on a mobile 6 phone? Like in asp.net they have like validation controls and in windows forms they have the the "error" control. Yet I don't see any of these in mobile 6.
Like when I write my validation checking if statements and a error is found what do people do? Show a popup message? Or how do they displ...
Hi
I want to grab the .dll from a mobile phone application I am making since I want to add it to my nunit so I can write & test my application. Yet I don't see any .dll in the bin folder. How do I unit test it?
...
Hi
I want to use the dataGrid in the compact framework edition but I need it to have a column that only had check boxes it in it. How can I add this column?
...
using Fluid.Classes;
using Fluid.Controls;
using Fluid.Drawing;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SmartDeviceProject8
{
class ConversionPage : FluidPanel, ICommandContainer
{
private NumericPad numPad;
priva...
Hi
Iam trying SSL connection in my C# application for WM6...Getting "message cant de displayed optional assemby missing" exception ......I am using code as follows
ServicePointManager.CertificatePolicy = new MyPolicy();
public class MyPolicy : ICertificatePolicy
{
public bool CheckValidationResult(ServicePoint sp, X509Cer...
Hi,,
Does any one have any custom web-browser control for windows mobile?.
i tried using default WebBrowser control for windows mobile in c#, it gives me lot of problem like,
it does't have gestures,it doesn't open some of sites like "icicibank.com" and many more...,
i just done a quick googling on this i found this article given by Mic...
Hi
I am trying to draw a rectangle on a windows mobile phone.
Draw the rectangle
Fill the rectangle with a color
Draw it on to the phone.
Give it a event handler that when a user clicks something happens.
I am unsure how do steps 2, 3 and 4. I see that there is a drawing class called rectangle but I don't know how to get it on the f...
Hi
I am wondering how do I close a form after I open up a new form.
For instance I have a login form and when they login I open a new form up but I want to close the login form down.
So how would I do this?
I am making these forms on windows mobile 6 compact edition. Not sure if it would be different then in windows forms.
...
Hi
am trying Https ssl connection in my C# application...i am getting
"Unable to read transport connection" for the line
WebResponse response = (HttpWebResponse)request.GetResponse();
I am forcing Certificate to be accepted
ServicePointManager.CertificatePolicy = new MyPolicy();
public class MyPolicy : ICertificatePolicy {
public...
Hi
I have made my application and I want to check it out. I made a Cab file through the smartphone cab setup wizard.
Now I have no clue what to do.
...
Hi
HP iPAQ 110 Classic Handheld. I made an application that uses windows mobile 6.0 professional SDK with .net 3.5 framework.
the phone settings sates
windows mobile 6 classic
CE OS 5.2.1616(Build 181200.0.4.0).
So why is it when I try to run my application it I get
MissingMethodException
This application requires a newer
...
Hello.
I'm developing a Windows Mobile 5.0 and above application with .Net Compact Framework 2.0 SP2 with C#.
I'm overriding OnPaint method on a custom messagebox that draw a bitmap that fills the entire form with alpha transparency, and a gradient box with a button and a message over the semi-transparent background.
I'm testing it bu...
I am trying to create a windows mobile application that contains a database and can occasionally be connected to the Internet. When connected, I would like to sync the local database with the central database server. The central server is a MySQL server. The local database can be anything (probably SQL Compact).
What I did so far:
Ins...
I was developing Windows Mobile applications on a Windows machine using C#, just to test the platform, but now I'm back to Linux and now developing for Windows CE on it(CeGCC and FPC), but it's very boring to compile and send the executable to the device everytime just to do a simple test, then I want to know where can I find a good emul...
I'm coding in OpenNetCF for WIndows Mobile 6.0. I need my application to connect to a particular Ad-Hoc network. I find that if there is no other device connected to that same Ad-Hoc network, the device automatically switched back to some other network (that is currently available). I want my application to stay connected to the Ad-Hoc n...
hi
how to get the ESN from a specific handheld?
thank's in advance
...
Hello!
I'm developing a Windows Mobile 5.0 and above application with .Net Compact Framework 2.0 SP2 and C#.
I have this code inside a method:
if (listBox1.InvokeRequired)
{
Invoke(new MethodInvoker(
delegate() { listaBox1 = listaBox2; listBox1.Visible = true; }));
}
else
{
listBox1 = listBox2;
listBox1.Visible = t...
hi
i looking for any way to transfer file from PPC to PC - and from PC to PPC ,
i dont want to use WebService, and if i use RAPI i need that in the PC will be any program - and i dont want
(i dont want that in the PC will be any of my program)
how i can do it ?
thank's in advance
...
Hello!
I'm developing a Windows Mobile 5.0 or above with .Net Compact Framework 2.0 SP2 and C#.
when I try to access the control's width on a method that handles an event it throws me the following exception:
Control.Invoke must be used to interact with controls created on a separate thread.
Is this method running in another thread?
...