Hello,
As I love to develop file I/O applications and my new development platform is Windows Mobile. Is there any way to read all the file, without using File.ReadAllText? Because Windows Mobile don't have this function.
...
Hello,
I'm building a application that uses a file to configure some fonts. It's like this:
Font = Verdana
Size = 12
Style = Bold
And my code is like this:
openDialog.ShowDialog();
string file = openDialog.FileName;
StreamReader reader = new StreamReader(file);
while (reader.Peek() <= 0)
{
string line = reader.ReadLine();
st...
Hello,
I"m developing a simple application that have a line like this:
string[] values = ReadAll(inputFile);
As inputFile is a string, but how I can do this without conflicts(Cannot implicitly convert type 'string' in 'string[]')?
...
Hello,
I'm building two programs, a text editor and a zipper, but in this two programs I want to associate a file type to they, but how can I do this? Thanks.
...
Hello,
I'm developing a application for Windows Mobile using C#(.Net Compact Framework 3.5), but I need to associate my program with a file type. When I try to use FileAssociationInfo I'm getting this error: The type or namespace name 'FileAssociationInfo' could not be found (are you missing a using directive or an assembly reference?)
...
I was compiling my Windows Mobile project that is a image viewer and just when I clicked in the build button I got this error:
CVTRES : fatal error CVT1105: cannot seek in file
I'm using Windows 7 Ultimate with Visual Studio 2008 SP1.
...
Hello,
I'm developing a simple appplication to play WAV files using PlaySound, with this code:
#region DllImport
private enum Flags
{
SND_SYNC = 0x0000,
SND_ASYNC = 0x0001,
SND_NODEFAULT = 0x0002,
SND_MEMORY = 0x0004,
SND_LOOP = 0x0008,
SND_NOSTOP = 0x0010,
SND_NOWAIT = 0x00002000,
SND_ALIAS = 0x00010000...
Hello,
I'm going to improve one of my new projects and one of the features that I want to add is the possibility to post a new thread in a phpBB forum board, but it's possible to do this? If it is, how can I do this? Thanks.
...
Hi, I'm trying to compile a small Qt application for windows Mobile 5.
so I've few questions:
currently i'm using ubuntu 9.10, I've hear some thing about cross-compilation but I din't found a real example of have to do it. Will it be possible to compile from linux?
How to compile an application for mobile anywhere(windows(VS, mingw,et...
I am new to this platform, and I am trying to resolve an issue with existing code that was developed by a contractor many years ago.
In Resource.h, I have something that looks like this, where the last two items I have added.
#define IDC_HOSPITAL_NAME_LABEL 1069
#define IDC_REASON_LABEL 1070
#define IDC_HOSPITAL_...
I need to download more than 1,000 files into a windows mobile 5 directory located on the storage card. If i copy the files onto the storage card via my desktop there is no problem. But when i try to download the files from the handheld device I get a disk full error, even though there is plenty of room due to the 1,000 file limit.
Has ...
Developing an application with impressive and a little complex GUI is quite easy for Pocket PC platform. But if I want the same application to run on SmartPhone platform as well, I need to make extensive changes in my application.
Smart Phone doesn't even support radio buttons.
I want my application be usable on as many mobiles as poss...
Hi all,
I'm looking at prototyping with a HTC Advantage, which runs Windows Mobile 5 and has a screen resolution of 640x480 (or the other way if in portrait).
Before anyone jumps in and suggests developing as a native Windows mobile app, we're prototyping as a Java midlet because we also want to find out what restrictions/limitations/d...
Can anyone suggest a performance analysis tool that runs on win32 on a native c++ app?
How about one that runs on Windows Mobile?
Thank you.
...
How do you make VS 2008 automatically install SQL Server CE 3.5 when debugging (F5) a CF app on a windows Mobile 5.0 device?
VS used to do this automatically, but now it stopped and I don't know why. I have changed the structure of my solution and the projects, but it is still using SQL Server CE 3.5. It used to also install the Query A...
Hi all,
Is there a way to enumerate all open file handles and/or registry handles in Windows Mobile 5 / Windows CE 5.x? In particular, I'd like to get the handles for all processes in the system, and not just the ones for my application. This would be similar to the list of handles in Sysinternals's Process Explorer for Win32 or Sysin...
I have bunch of Symbol MC 70 devices. They run Windows Mobile 5. Most of these work just fine, but I have one that is sending the sounds (alarms and such) to the phone rather than the speaker on the device. (The sounds play in the speaker used for listening to a phone call)
Does anyone know how to route this back to the actual phone ...
I have a SQL Server CE Database file that gets re-deployed every time I run. This makes testing difficult.
The only way I have found that allows me to get around it is to open the database file on the device using Query Analyzer. My best guess is that this locks the file.
Opening the db (and putting in the password) takes some ti...
Is there any C# sample code for updating the time and date on Windows Mobile?
...
My devices are having power issues. The battery is not lasting as long as we would like.
There are several components that I could guess are causing the battery issues.
Right now the best way I can see to find the culprit is to go through one by one and disable each of them, then conduct a test (that is about 6 hours long).
To ge...