|
Thanks alltough i don't know about openNETCF (new to me).
My problem is not reading out battery status, i can do that
(there's a sample on the MSDN site which allows one to program that).
my device is a asus 620BT, it has no backup power, and looses everything, each time. Since the included auto backup software doesn't work allways.
While Asus doesn't seam to do anything about this, i allready have heard more people with this problem. So then came the idea of monitoring power and when below xxx% switch the device of. Perhaps with BeeB or somehing like that.
jipijee
|
|
|
|
|
Hello, everybody,
I'm a newbie to WinCE. Does anybody know any plugins for EVC/PB like Visual Assist X for VC++?
Thanks a lot!
David
|
|
|
|
|
Hi
Can you please provide an idea how to diplay the image saved in the sql ce as image to the picture box using vb dot net compact frame work. Please provice sample code too.
Aruj
|
|
|
|
|
does anyone now how to get the internal memory layout for a mobile. I have a M1500 from orange and have been experimenting with custom images and need to dump the disc n chip to and sd card anyone got any ideas
|
|
|
|
|
Hello all
I was testing an application developed for Pocket PC 2003 into other PDA with windows mobile 5.0. However, I found a problem. When I opened the serial port (a GPS port) for the first time it works well. Even when I do it in a second time. But at the first time the CreateFile function fails, giving the following error:
"The network resource or the specified device are not longer available"
and I have to soft reset the PDA to be able to use that port again.
After that, I tried with commercial applications for PocketPC and I found the same behaviour. Finally, I decided to try with the TTY sample of the Windows Mobile 5.0 Pocket PC SDK (specially designed for this OS) and it happens the same!
Any comments or ideas?
|
|
|
|
|
Hi All!
I use RemoteDataAccess in my application. To get new data from sql server 2000 I use Pull method. Here is some problem: i must drop table before rda.pull method starts. Sometimes problems with connection occur and i lose data. I decided to make backup database and if it needs, i must get data from this database. At first I return DataTable object from backup base received with query "select * from tablename". At second I create table in working base. Then I want use DataAdapter object (Fill method) to create DataSet. I want make infill dataset (necessary table). But code doesn't work. Here's my code (newTbl - datatable from backup) :
Dim myAdap As New SqlCeDataAdapter("select * from tbl", myConnection)
Dim ds As New DataSet
myAdap.Fill(ds, "tbl")
Dim i As Integer
For i = 0 To newTbl.Rows.Count - 1
ds.Tables(tbl).ImportRow(newTbl.Rows(i))
Next
myAdap.Update(ds.Tables("tbl"))
Here's no errors, but table in working base has not rows. Help with advices!!! Thanks!
|
|
|
|
|
How Can I Hide/Disable Pocket PC Start Button & Taskbar using C#(Visual Studio 2005)
Thanks
|
|
|
|
|
...and most notably their back color property.
I'm using the following code to create instances of picture boxes and display them on a device running PocketPC 2002.
Dim myPic As New PictureBox<br />
myPic.Location = New Point(32, (picCount * 35))<br />
picCount += 1<br />
myPic.Size = New Size(53, 35)<br />
myPic.Text = "newPic" & CStr(picCount )<br />
myPic.BackColor = Color.Black<br />
myPic.Text = "HERE" & picCount <br />
<br />
'---add the button to the form<br />
Me.Controls.Add(myPic)<br />
As you can see there are no images in the pictureboxs right now, that in inconsequential regarding the problems that I'm having right now, basically my problem is simply that the pictureBox control will not reflect that its backColor property has been changed to black. Is this a known issue with the .NET CF? Or am I not creating the control correctly?
Big thanks in advance for your help.
BMW
-- modified at 11:47 Monday 12th December, 2005
|
|
|
|
|
Hello,
We have a database application written in Borland C++, and using Interbase, Now we need to add 3 pocket pcs to the system. I couldnt find a way to connect database from pocketpc so I made a webservice in c#, I am connecting database from webservice and getting data from webservice to pocketpc. Is there a way to directly connect to database from pocketpc.
Because when I use webservice and run the webservice. Other clients cannot connect to the database, I get error another process is using the database file.
In webservice I am using firebird/interbase NET provider.
thanks
|
|
|
|
|
Hi Experts,
I have a DLL built in C++ and am trying to make it work on PocketPC.
I created a project and build the DLL for PocketPC: in VS2005
New Project--->VC++-->Smart Device --> Win32 Smart Device Project (Platforms
choose "Pocket PC 2003" and Application Settings choose "DLL")
and the DLL was successfully built.
Then i created another project, to built a application in C#:
New Project--->C#-->Smart Device (Pocket PC 2003) --> Device Application
in the application, i used
[DllImport("MyDLL.dll", EntryPoint = "MyFunction")]
private static extern bool MyFunction(......)
The 2 projects were built in one Solution.
When i tried to "Deploy Solution" under Build, i can find that only the DLL
was deployed into the device. I need to "Deploy DeviceApplication" to deploy
the application.
After i deployed the DLL and the application,
i debug the application, at the place when i call MyFunction, there is error:
Can't find an Entry Point 'MyFunction' in a PInvoke DLL 'MyDLL.dll'
I also tried to use:
[DllImport(strDllPath)]
in my application, but i have the same error.
On Desktop, the DLL and the were called in the same way and worked well
before.
The function in the DLL was implemented as:
extern "C" bool MyFunction(......)
{
}
and it was exported in DeviceApplication.def
Does any one has any idea why i have this problem and how can i solve the
problem?
Thank you very much!
Vic
Thanks!
vic
|
|
|
|
|
Can anyone tell me, how I can obtain adoce31.tlb, required to build the contribution: "Porting Carlos Antollini's ADO classes to the Pocket PC ( J P Figueira)" ???
|
|
|
|
|
If you don't have adoce31.tlb, you can replace it with adoce31.dll:
#import "C:\Windows CE Tools\wce300\Pocket PC 2002\dataaccess31\target\arm\adoce31.dll" rename_namespace("ADOCG") rename("EOF", "EndOfFile")using namespace ADOCG;
|
|
|
|
|
Thanks a lot. However I am using eVC++4.0 and when attempting to build J P Figueras AdoSample, it is complaining about the COle classes. When including afxdisp.h, I get the message: Can't build MFC OLE projects using static MFC libraries. Of course defining _AFXDLL brings up Unresolved External WinMain.
Do you know any way to get this running with eVC++4.0?
Thanks a lot
|
|
|
|
|
Hi. I have a Combobox "Type" and have the list there. I want to show the results of the entry from the combobox into a text.
For example,
I pick "Fruit" from the combobox.
I want to display on the screen: "This food is a Fruit"
If I pick "Vegetable" from the combobox, it will display:
"This food is a vegetable"
Right now, I'm getting:
"This food is a 2"
How can I make the 2 into Vegetable?
This is what I have, and I have a feeling it has to do with the GetValue and/or GetOrdinal.... I just can't seem to get it to work....
TypeLabel.Text = rReader.GetValue(rReader.GetOrdinal("MovieType")).ToString();
Thanks as always... Sorry for such a dumb question.
|
|
|
|
|
Hi All,
Greetings to everyone...
I need a help .. Will greatly appreciate the response.
Problem: I have a web based application (ASP.net, C# and SQL server). I want to install and run that application on my PDA. Is it possible to do that?
Can it be done without any change to the existing application runing on my localhost?
Please help.
Thanks and Regards,
PK
|
|
|
|
|
pk123us wrote: Can it be done without any change to the existing application runing on my localhost?
Doubtful. Try it and see and post your results!
M.
|
|
|
|
|
Hello,
This is the first time I've posted anything, but I'd like to thank everyone for all the wonderful infos they have posted. I realy have learned a lot.
I am working on a program that has been modified from Brian Nash's "Compact Framework Movie Collection Manager". He (and I) uses SQL Server CE and C#, but I would like to add an image to the database. Basically, all I want to accomplish is that an image is displayed for a particular "Movie ID."
I searched on the internet and found the following snippet:
1. Create Database - did that -- no problem.
2. Create Table using ExecuteNonQuery()
string sqlCreateImageTable = "CREATE TABLE Photos (photoID int IDENTITY (1, 1) NOT NULL,"
+ "name nvarchar(50) NULL, photo image NULL)";
Added this, no problem (no errors)
3. Read bytes of Image from FileStream
FileStream fs = new FileStream(photoPath, FileMode.Open);
int photoLength = (int)fs.Length;
byte[] photoBytes = new byte[photoLength];
int n = fs.Read(photoBytes, 0, photoLength);
Not sure where to add this......
4. Insert Image into Sql Ce
string connectionString = @"Data Source =\PhotoAlbum.sdf";
SqlCeConnection oConn = new SqlCeConnection(connectionString);
oConn.Open();
SqlCeCommand oCmd = oConn.CreateCommand();
oCmd.CommandText = "INSERT INTO Photos (name, photo) VALUES (?, ?)";
Added this, no problems (i.e. no errors) here.....
oCmd.Parameters.Add("name", label3.Text);
oCmd.Parameters.Add("photo", SqlDbType.Image).Value = photoBytes;
Added this, but since I don't have an image, I don't see anything. (??)
oCmd.Prepare() ;
int rows = oCmd.ExecuteNonQuery();
oConn.Close();
But it doesn't seem to work quite well. I am having problems in Step 3..... (particularly photoBytes)....
Any help would be greatly appreciated. If I'm too vague, I'm sorry. I'm a newbie at this C# thing and am just starting with SQL stuff. I've been mainly an HTML/Perl/CSS type of programmer. This is, by far, the toughest code I've worked on. Don't cut me down for my lack of knowledge!
Thanks,
M.
|
|
|
|
|
Hello, I am a beginner in writing pocketpc applications.
I am writing an application that has several levels of pages.
When the program starts, there would be a main page for user to choose his choices on a form. When clicked on certain link, can I show the new form/page at the same form? (Like webpages)
I can do it by placing different new pages in different user controls in normal Windows C# program. In this way, I can easily manage the different pages and "new" one when used. However, I found there is no such "user control" in C# compact one. Is it meant that I have to put everything (every new panel) on the same form?
-- modified at 4:54 Saturday 3rd December, 2005
|
|
|
|
|
I'm a newby to mobile development and was needing a hand figuring out how to load images into a pictureBox control at runtime, I had originally solved the problem using an imageList but decided the constraint of having a uniform size for each image in the list was not even close to ideal.
Thanks a bundle in advance for your help.
BMW
|
|
|
|
|
I have developed a Win CE 5.0 application using eMbedded Visual C++ 4.0 SP4. It runs fine on both Windows CE .NET 4.1 and Windows CE 5.0 emulators. I compiled the ARM version using ARMV4 configuration, but the resulting executable does not work on the StrongARM IPAQ 3870 neither on the xScale MDA compact / PXA272. Any suggestions?
Regards,
BB
http://spin.bartoszbien.com
|
|
|
|
|
I would like to activate the autorun feature for my CAB installers created with CabWiz (it has four cabinets, one for each platform). I know there should be several autorun.exe files located in \storage card\<cpu>\autorun.exe, where <cpu> is the winnt.h definition value of the target processor. The question is: what code should I compile into autorun.exe?
Regards,
BB
http://spin.bartoszbien.com
-- modified at 6:27 Wednesday 30th November, 2005
|
|
|
|
|
Hi everybody I am working on embedded systems and came to know about the timer importance in this area.
I get puzzled sometime by the software timers, why they are good compare to HArdware timer and interrupts as why they do save the Change in the CPU states.
Can anybody educate me on this more.
Regards
Anil Kumar
|
|
|
|
|
I am a new fresh man to the WinCE.
Could any kindly tell the relationship and difference between the two tools: PlatformBuilder and VS2005. What's they are each purpose?
When i install the VS2005,and then install the WINCE5.0, the remote tools in the VS2005 cannot work,does any one know why?
Any comment are appreciate! Thanks a lot!
|
|
|
|
|
i have to prepare a code on sending sms from mobile to pc and it should be recieved as email in Inbox in the pc and vice versa. Pls do forward any inputs on this ..
viv..
|
|
|
|
|
Well vivek thats a interesteing work u r going to do.
first of all i would like to know what comminication interface you are going to use for it.
Is it TCP/IP, UART ,bluetooth or what?
Anil Kumar
|
|
|
|