|
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
|
|
|
|
|
Hi,all,
Does anyone have some good ideas about derive form CCeSocket in EVC 4.0?
When I try to use the "Insert->new class",when I choose the "class Type" as MFC class, I just cann't find the CCeSocket from the "basic class". So I just write the codes myself. Do you have any decent way to do the same job?
pls tell me. Thank you
Best Wishes,
HWB
|
|
|
|
|
Please help me in mobile phone interface programming. How can I write and add another language bar in the phone settings? I mean to change the phone language to some other language with NOT Latin alphabet.
NastradamuS
|
|
|
|
|
Hi, all,
I am now using CCeSocket and met the OnReceive() bug: That is, on the server side, for the accepted socket, the OnReceive() never called. I have followed the steps on MS website but still cannot work. On MS website, it said the solving method applies to WinCE 3.0 and lower version. But I am now using WinCE4.2(PocketPC 2003). I don't know how to solve the problem now.
My procedures is as follows: modify the wcesock.h-> in my codes, after the listening socket accept the communication socket, make the latter's m_bConnectCalled = true->rebuild. Is there anything I miss?
Anyone got any good ideas? Thank you so much!
Best Wishes,
HWB
|
|
|
|
|
Hello, I am looking into having some GPS software written for me that would control the output of 1 or more applications when a certain height/speed parameter is met. Any takers??Contact me at tdolan@homelandsecurityaviation.com Thanks Tom
|
|
|
|
|
I have done some simple work
with GPS NAVMON module and VB .
I am basically a vc++ programer
but before i will under take i
like have a full details of ur
s/w requriement means a SRS.
Sir u can communicat to me with vikasamin@rediffmail.com
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
I mean, are there any that have an option for making a mobile app?
Gonna get me some smartphone action
|
|
|
|