|
I got Bluetooth keyboard which is working with my PDA.
Instalation sofware came with Keyboard.
|
|
|
|
|
Hi, everyone!
Now I'm developing an application on PDA. The platform is Windows Pocket 2003. I want to use timer to inspect the communication. But I find the timmer0 isn't work after I call the SetTimer(0,1000,NULL). I don't know the reason. Could someone be kind to tell me? Thanks!
yours
whiteclouds
|
|
|
|
|
Hello Everyone,
A couple of quick questions. If I want to run a cf.net 2.0 app on a tablet pc as well as a pocket pc, is there any special porting required? I'm sure the screen size will be something that needs to be considered, but I'm thinking outside of that. Also, is there a good tablet pc emulator that anyone could recommend for testing?
Thanks,
Ryan
|
|
|
|
|
How can I detect that the device has been turned on? I've searched for this and found some material but nothing that I can understand. Anyone know of examples in C++?
Thanks
|
|
|
|
|
We use the RequestPowerNotifications API. I thought there was a sample somewhere on MSDN but can't see it.
There is a sample here[^].
|
|
|
|
|
I am new to CE development and need to develop a database application that several ce devices will sync with a wireless server on job status for a custom manufacturing firm. The more I read on microsoft the more I'm confused...please help. What is the purpose of embeded? I've got Visual Studio 2005 and thought I could simply start writing...but it seems I have to work with the os and platform builder etc. I've got the Windows CE.net book by Douglas Bowling, but it is written for CE 3.0 and with older Visual Studio. I'm looking to knock this application out quickly...what is the fastest track to learn? Do I simply need to bite the bullet and watch all the embedded, OS, Platform builder tutorials? Or is there a faster track?
learning...
|
|
|
|
|
In my all forms where I have Images I get this error
"An error message cannot be displayed because an optional resource assembly containing it cannot be found"
when I try to open form.
Should I re-install anything ?
Regards.
I Love SQL
|
|
|
|
|
To save space, the error messages aren't included in the .NET Compact Framework CAB. If you need them, deploy System_SR_ENU.CAB from C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics.
|
|
|
|
|
Thanks for your response.
I have hard resetet Pocket PC then I have reinstalled application and it works fine.
Regards
I Love SQL
|
|
|
|
|
How can I get used Memory Size on my Pocket PC?
Regards
I Love SQL
|
|
|
|
|
In C/C++, call GlobalMemoryStatus . For devices with RAM-based storage (i.e. Windows Mobile 2003 and older, custom CE platforms) call GetSystemMemoryDivision to find out how much space is allocated to programs versus data.
From .NET I think you currently have to use DllImport to call the above functions. See http://www.pinvoke.net/default.aspx/coredll/GlobalMemoryStatus.html[^] for details.
|
|
|
|
|
I'm looking to enter text in a textbox using only numeric keys (without holding down a seperate key to get it's numeric value). Like the phone dialer and the calculator.
Can someone point me in the right direction? VB or C# is fine. I have seen the Smartphone snippets, but they don't appear to work on the Pocket PC phone devices.
Any help would be appreciated.
ronkb
|
|
|
|
|
Hello,
How do I install an ActiveX control onto the PocketPC emulator for testing?
I've been trying to figure this out for hours!
Thanks!
Ian
|
|
|
|
|
In my Pocket PC application I set image gif animation and in run-time image doesn't appear animating.
How can i enable animating of gif image on runtime of application?
I Love SQL
|
|
|
|
|
Hi,
out of the box the Compact Framework controls will not support animated gifs.
If you are able to use the OpenNETCE SDF library you may be able to utilise their OpenNETCF.Windows.Forms.AnimateCtl control for this purpose.
Otherwise you are probably best to extract the individual GIF frames and add them all as embedded resources into your application. you could then use a timer and a picture box to cycle through the images etc.
Hope it helps,
Christopher Fairbairn
|
|
|
|
|
Thanks for your reply , I will gonna chceck that.
I Love SQL
|
|
|
|
|
Hello All,
Greetings!!!
My requirement is to retreive the UUID of the device connected via USB to my PC.
I am just new to this.
How can I write code which runs on on my PC with windows XPro talks to the device through and retreive the UUID of the devide connected.
Please suggest.
Thanks and Very Best Regards.
Amarjeetsinghmatharu@yahoo.com.
|
|
|
|
|
Hi,
You may like to take a look at the thread over on MSDN Forums available here - http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1504457&SiteID=1[^].
This thread discusses this exact topic and covers some of the problems you may fall into. In short it will be reasonably difficult to obtain the exact UUID as used by ActiveSync etc. However if you just need to get an id which is unique to a given device and repeatable you can probably do what you want by using the GetDeviceUniqueId API call.
Hope it helps,
Christopher Fairbairn
|
|
|
|
|
Hi everyone,
pls help,how can I format my datagrid to have a dropdown,
I actually want one of the column to be a dropdown.
Thanks in advance.
|
|
|
|
|
hi
Make a column to template column and then in template col property use a drop down control in the design.
ok bye
|
|
|
|
|
Hello, my name is carlos and I develop a application that work whit the sim of the pda. The SO is Windows Mobile 2003 Phone Edition, with .net compac framework 2.0 and open net compact framework.
I try to insert one contact in the sim but the next method don't work. The metode don't return any exception, but don't insert the contact in the sim. I debbuging the application and I have seen that phonebookEntry.Text and phonebookEntry.Address remains target (phonebookEntry.Text = "").
I don't know because this happens, I hope that somebody can say to me since it becomes.
[code]
Private Sub miAfegirContacteSim()
Try
Dim sim2 As OpenNETCF.Phone.Sim.Sim = New OpenNETCF.Phone.Sim.Sim
Dim phonebook As OpenNETCF.Phone.Sim.Phonebook = sim2.Phonebook
Dim phonebookEntry As New OpenNETCF.Phone.Sim.PhonebookEntry
phonebookEntry.AddressType = OpenNETCF.Phone.AddressType.International
phonebookEntry.Plan = OpenNETCF.Phone.Sim.NumberPlan.Telephone
phonebookEntry.Text = "Carles"
phonebookEntry.Address = "937979797"
If (phonebook.Count < phonebook.Capacity) Then
Dim i As Integer = CType(sim2.Phonebook, System.Collections.IList).Add(phonebookEntry)
End If
sim2.Close()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
[/code]
PD. Sorry but my english is very bad :P (I can write also in spanish or catalan)
|
|
|
|
|
As you might know, there's no "Clipboard" object in .NET Compact Framework 1.1 (target device PocketPC2002). However, i can access the clipboard through P/Invoke.
The thing is:
Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( _<br />
ByVal hWnd As Long, ByVal uMsg As Long, _<br />
ByVal wParam As Long, ByVal lParam As Long) As Long
typical clipboard function call would be SendMessage(hWnd, WM_COPY, 0, 0) . But i don't know how to obtain a handle of the TextBox control. Can someone help me?
i tried this solution, but it didn't work.
EDIT: Looks like i need a handle of an active window, so i get it through GetFocus() . I saw a hWnd as Long declaration somewhere, but it doesn't affect anything since IntPtr and Long are basically the same.
Here's my code:
<br />
...P/INVOKE<br />
Declare Function GetFocus Lib "coredll.dll" () As IntPtr<br />
Declare Function SendMessage Lib "coredll.dll" Alias "SendMessageA" ( _<br />
ByVal hWnd As IntPtr, ByVal uMsg As Long, _<br />
ByVal wParam As Long, ByVal lParam As Long) As Long<br />
...END P/INVOKE<br />
<br />
...SUB<br />
Dim hWnd As IntPtr<br />
hWnd = GetFocus()<br />
Try<br />
SendMessage(hWnd, WM_COPY, 0, 0)<br />
MsgBox("SUCCESS")<br />
Catch ex As Exception<br />
MsgBox("FAILED" & vbCrLf & ex.Message)<br />
End Try<br />
...END SUB<br />
Msgboxing hWnd returns a value (some integers, so this one works), but SendMessage fails throwing NotSupportedException . Any solution out there?
EDIT
i found a working solution!
the correct function declaration is:
Declare Function SendMessage Lib "coredll.dll" (ByVal hWnd As IntPtr, ByVal Msg As System.Int32, ByVal wParam As System.Int32, ByVal lParam As System.Int32) As IntPtr
This is the code for obtaining a handle of the control:
Public Function gethWnd(ByVal ctrl As Control)<br />
Dim hOldWnd As IntPtr = GetCapture()<br />
ctrl.Capture = True<br />
Dim hWnd As IntPtr = GetCapture()<br />
ctrl.Capture = False<br />
SetCapture(hOldWnd)<br />
Return hWnd<br />
End Function
This code requires two additional declarations:
Declare Function GetCapture Lib "coredll.dll" () As IntPtr<br />
Declare Function SetCapture Lib "coredll.dll" (ByVal hWnd As IntPtr) As IntPtr
And so the final message call will look like this:
SendMessage(gethWnd(CONTROL), WM_COPY, 0, 0)
and the constants declaration:
Public Const EM_CANUNDO = &HC6<br />
Public Const EM_EMPTYUNDOBUFFER = &HCD<br />
Public Const WM_COPY = &H301<br />
Public Const WM_PASTE = &H302<br />
Public Const WM_CLEAR = &H303<br />
Public Const WM_UNDO = &H304
|
|
|
|
|
Hi,
i have a xml file tjat i get from a website,
and i need to save the xml to the disk, but i need to add a namespace to the xml.
Im using XmlTextReader To read from a stream,
and after that im using xmlDocument.Load.
i want to set a namespace to the xml that i got,
and dont know how.
thanx,
shay
|
|
|
|
|
How can I install programmatically .NET Compact Framework on Pocket PC?
I Love SQL
|
|
|
|
|
target platform - WinCE 3.0 (PocketPC2002)
I need to handle the textbox caret position changes e. g. when i move caret somewhere something happens.
VB .NET (CF 1.1), eVB or eVC++ 3.0 - doesn't really matter, but preferrably something VB
Right now i'm working on a round-about method - to start a thread with infinite Loop sequence which checks the caret position and responds to it's value. But this is relatively slow and unstable...
|
|
|
|