Answer Questions
Mike Chapman Hello I am trying to create a program
That shows the time from the hardware SO I want to press the button and then have the output display on a screen in a box.. That is the onlly possible solution.. Is to install .NET CF 2.0 Sp1 on the device I couldn't use .NET CF 1.1 SP1 / SP2 to comple a project in VS 2005 To get the time: DateTime.Now.ToString() so you could have a main form, a label, and a menuitem with one of the buttons allowing you to press it and display the time in the label. Double click the menuitem button to create an on click event, then type.... C# code: this .theLabel.Text = DateTime.Now.ToString(); MessageBox.Show(DateT ...Show All
Ido Ran Error message - ObjectDisposedException - MS Win Mobile v5
i am getting an error message when running a small Auto Updater application. it is based upon MS. NET Compact Framework Sample : Auto Updater and uses the exact same code to download and install onto pocket pc the auto updater application downloads a cab file and installs it onto the pocket pc - this all works fine on MS pocket PC version 4.20.1081 but when i try to run the auto updater on a pocket pc using MS Win Mobile v5 - the application does download the cab file and then installs it. but then i am presented with this error Updater.exe ObjectDisposedException WaitHandle::CheckResultInternal+0x1c ManualResetEvent::Reset+0x11 TASK::Wait+0x18 Control::Invoke+0x83 frmUpdate::OnDataRead+0xa9 LazyAsyncResult::InvokeCallback+0x ...Show All
tantz how to use #if COMPACT_FRAMEWORK
I am implementing a new security model for a project, and I need to change a dll to be CF compatible (ie remove all XPath stuff). I figure a good way to do this would be to use, for example: #if COMPACT_FRAMEWORK private System.Windows.Forms.Panel gbNewPassword; #else private System . Windows . Forms . GroupBox gbNewPassword; #endif However, my compiler wont build it, mostly because it doesn't seem to know I want it to build in COMPACT_FRAMEWORK mode. The project is a C# Smart Device project, by the way. How do I get the compiler to believe we are building the project for compact framework Should I be creating a new solution configuration Thanks, Iceman_Aragorn You'd need to define COMPACT_FR ...Show All
Tianyu Li Extending Context menu items of contact in smartphone
I have extended context menu items of windows mobile 5.0 pocket pc. Now If I deploy the same project to smartphone the context menu items remain same. Although dll is deployed similarly all the registries in are there.But the context menu items remain same. Could any body give me a example of extending Contact context menu items for windows mobile 5.0 smartphone Did you soft-reset / power cycle the phone Peter How Can I do that Looks like you are following it up at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=591811&SiteID=1 I'm closing this thread as answered, please unmark it if necessary. ...Show All
Kaisor onchangeview event does not happen after using Pan()?
I've created a map and am also using map.AttachEvent("onchangeview", SomeFunction). I've also created my own custom compass and zoom buttons. Clicking on the zoom buttons fires the onchangeview event function, but it doesn't fire when clicking on the points of the compass. For moving the map I'm using Pan(x,y). The map pans correctly, but this doesn't trigger an onchangeview event. I'm looking to get the lat & long coordinates of the map's boundary after the pan has occured. Is there another way I can do this Thanks I am having the same problem. Did you find any solution for this Thanks! ...Show All
S10n Error calling web service from WinCE 4.20 device
Hello, i wrote an application for smart devices with C#, Net CF 2.0. This app calls web services running in IIS on my server. The app runs without problems on a WinCE5.0 device and on a WinCE4.20 Second edition device. Calling the web service from a Datalogic Jet running WinCE4.2 - not second edition - with .NET CF 2.0 SP1 fails. Because of an other problem ( seen thread "not a valid Windows CE SETUP file") I do net get a error message. From browser on the DataLogic device i can call the site running the web service, so it should not be a connection problem. Where could be the problem Thanks for any help. Jorg .NET CF 2.0 is not supported on Windows CE.NET 4.2 ...Show All
Nick Mc Crash when hosting Windows Media Player ver 10.3 ActiveX control (T-Mobile DASH)
I am using Alex Feinman's Compact Framework ActiveX host (as described in this MSDN article ). It works great when hosting Media Player versions 10.1 and 10.2, that are available on most WM5 Pocket PCs and Smartphones. For some reason, when trying to instantiate the WMP control on a T-Mobile DASH smartphone, the device UI hangs (every single running application including the home screen). The only difference that I found is that DASH uses a newer version of Media Player -10.3 (mine is build 15097). I was able to trace the problem to a call to InPlaceActivate() -> DoVerb( -5 ....) during the control creation process ( called from TransitionUpTo(..) in AxHost.cs) . Oddly enough, commenting the call to InPlaceActivate(), allows the ...Show All
Sniper167 battery laptop
hi my laptop is working on mains will not work on batteries even when my laptop shows only 4 per cent of battery power has been used and the orange light which is usually used for battery laptops is showing up on the mains can someone help thankyou This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Rahul Garg What is the root directory for the emulator?
On my development machine I'm trying to make the following code read XML files using VS 2005, VB and the new Device Emulator and I keep getting the file cannot be found exception: Dim xmlStr As String Dim newDS As DataSet newDS = New DataSet() newDS.ReadXmlSchema( "Judges.xsd" ) newDS.ReadXml( "Judges.xml" ) xmlStr = newDS.GetXml() tbResults.Text = xmlStr Does anyone know what folder the emulator is using as it's root folder, or where I should put these files so the emulator can read them I tried using xmlStr = Path.GetFullPath("Test.txt") but all it returns is "\Test.txt" Any help would be greatly appreciated and thanks in advance. ...Show All
RamyM PPC 2003 SE - SerialPort - One way traffic
Scenario: I can map the ports fine...getting debug on serial port 0 Getting strings using SerialPort.Write("string") on serial port 1 I can't, however, get any data from hyperterminal to the device (T-Mobile MDA III / i-mate PDA2K with Windows Mobile 2003 SE) or emulator. Datareceived event never fires. What am I missing ReceivedBytesThreshold = 1 Handshake = None To reiterate: I can send data on the serial port in the PPC or Emulator but not receive anything. Any assistance appreciated. Hi i need help on bluetooth serial port. i am using win mobiles2003 SE too. it's a dell Axim x50. I not sure wat i need. i for PC version of the programe. i have use wsc4C from marshall. a ...Show All
Ross Watson Installing Fonts
Hi, I would like to display Japanese|Chinese | Korean | etc. text within an application based on user selection of language. I’m in search of Asian Fonts for my PocketPC iPAQ Model ID: hpiPAQ hw6510a, OS Version 4.21 . I tried downloading the following fonts: Microsoft MingLiU true type font Microsoft MS Song true type font from the site http://www.declan-software.com/chinese_ppc/mssong_ppc.htm . http://www.declan-software.com/chinese_ppc/mssong_ppc.htm . http://www.declan-software.com/chinese_ppc/mingliu_ppc.htm I got a msg "This software is made for an older version of Windows Mobile and hence it may not work as desired...". And so even though the fonts got installed on ...Show All
sagittarian Debugging WM 2003 SP with VS2005
Is it possible to debug a WM2003 SP using VS 2005 All my attempts on several devices on several different desktops yield the same result: Access Denied. I can: 1. debug WM2005 SPs with VS2005. 2. run on a WM 2003 emulator. 3. run un-attached to the debugger on a WM2003 phone. but i cant debug. I've heard of several people having this same problem too. I've heard rumors that it is possible though and it must be. What could my problem be Thank you for any advice. 1. Sorry for confusion. I can debug on the WM2003 emulator but NOT on the device. Using VS2005, I can debug anywhere EXCEPT on a physical WM2003 device. I have tried on several devices, all of which I successfully debugged on using Embedded Visu ...Show All
ultra03 deploy pocket pc program
i can not build or deploy my program!!! my file gives a Hello World in a client rectangle. As you can see it compiles as a win32. ------ Rebuild All started: Project: dddd, Configuration: Release Win32 ------ Deleting intermediate and output files for project 'dddd' , configuration 'Release|Win32' Compiling... stdafx.cpp Compiling... davidtwo.cpp dddd.cpp Compiling resources... Linking... Generating code Finished generating code Embedding manifest... Build log was saved at "file://c:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\dddd\dddd\Release\BuildLog.htm" dddd - 0 error(s), 0 warning(s) ========== Rebuild All: 1 succeeded, 0 failed, 0 ski ...Show All
unahb Adding Custom Today Screen Item
Actually I need to add a "cutom today screen Item" to Pocket PC automatically when message has been reached to my messenger. I am presently working on Visual Studio.Net 2003( Compact Framework1.1). Actually I have tried this link: C:\Documents and Settings\Administrator\Desktop\malleswar\adding image\Creating a Pocket PC Today Screen Plug-in with the _NET Compact Framework.htm but for building Embedded Visual C++ (eVC) has to be used. If u know better way than this plz guide me. Manav, Thank you for ur response n support. Actually I have tried both in EVC++ and VS2005. when I open in EVC++, it displayed "access is denied". when I open in VS2005, it displa ...Show All
Sivaraman Help file link not working
Hello i try to call a help file from my application using: Help.ShowHelp(this, @"\windows\testHelp.htm#main_contents"); here is the htm help file that i put in windows directory. but once in the main_contents menu and i click on the links, which supposed to take me to different sections of the help file, it said "Cannot open Help. The file cannot be found." so what is the matter < html > < head > < META HTTP-EQUIV = "Htm-Help" Content = "testHelp.htm#Main_Contents" > < KEYWORD VALUE = "testHelp" TITLE = "Test Help" HREF = "#main_contents" > </ head > < body > <!-- PegHelp --> < p > < a name = "Main_Contents& ...Show All
