Answer Questions
elephas good introduction into Windows Mobile programming
Hello! I would like to begin developing on the Windows Mobile platform, I know C++ and MFC programming. I need a good book or website that shows how to do mobile specific stuff with MS Visual Studio 2005, like making alarm sounds or making it vibrate, how to get the battery level and stuff like this. Thanks in advance! I think the following book will be the best for you: http://bolingconsulting.com/programmingwindowsce.html Also you can findout many resources at the internet in: http://www.codeproject.com/ce/Pocket_PC_Development.asp http://www.microsoft.com/windowsmobile/developers/default.mspx http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwmnew/html/maDocs_wm.asp www.devbuzz.co ...Show All
Peter D.252325 Sample of Dynamic Screen for windows forms
Hi, Ca you provide a sample of a creation of a form with; combos , textboxes radio buttons created at runtime on the fly for windows forms in Compact Framework for Pocket Pc Regards Mario Please drag and drop whatever you need on a form in the designer, then open designer’s generated file for this form. You will see how form is created at runtime dynamically as all forms are created this way. ...Show All
dominick.baier How to use PlaySound API to play sound from a Resource?
Hi. I'm developing a Smartphone app using VB.Net 2005 and the Compact Framework v2. I want to play a sound that is in a resource of my EXE, using the PlaySound API. Declare Function PlaySound Lib "coredll.dll" ( ByVal pszSound As String , ByVal hMod As IntPtr, ByVal fdwSound As Integer ) As Integer To do so, according to the PlaySound documentation, the second parameter of the API - hMod - needs to be the "Handle to the executable file that contains the resource to be loaded." But I can't find a way to get the handle of my EXE. Any help is appreciated. Tony Don't think you need it mate, This is my code for playing a sound Public Sub PlaySound(B ...Show All
Luis Esteban Valencia Muñoz Mega Cluster logic
Dr Neil first mentioned this on the via virtual earth site recently and now I need to use them. Just though I would put my ideas out here and see what you all think and can add. To be clear this is a concept and I’m looking for ideas / help before I build it. Basically the issue is you have X number of points to put on the map where X is very large. 1. If you go and add them all it is going to slow down to a crawl. 2. If you have points at a close proximity at certain zoom levels they are going to sit on top of each other and be unhoverable. The solution is to have a mega cluster that provides information about the points it represents. Firstly we need to look at how we calculate what po ...Show All
zu35926 genasm error message when adding DesignTimeAttributes.xmta to my project
This is weird. I have a Smart Device C# library that builds perfectly. When I add a DesignTimeAttributes.xmta to it and rebuild it I got the following error message: genasm.exe(1) : error There was an error finalizing type . Type 'MyNameSpace.MyClass, MyLibrary, Version=9.2.0.0, Culture=neutral, PublicKeyToken=null' was loaded in the ReflectionOnly context but the AssemblyBuilder was not created as AssemblyBuilderAccess.ReflectionOnly. My Namespace is MyNameSpace. My library is called MyLibrary. I have tried to reproduce it on a small project and I can't. I will keep trying to see if I can narrow it down. Thanks in advance for helping. Just hit this one today. If I use protected List<> I get the "finalizing type" ...Show All
donkaiser Problem trying to consume a web service behind a web service proxy
I am hitting a rather critical bug regarding consuming a web service on a mobile device that is sitting behind a web service proxy (Jaxview). My device is able to see the wsdl of the service (on IE) and it is able to send a request to the service, but on the response I get the error below. The response is processed just fine if I bypass the proxy but that is not an option in my environment. I also have been capturing the tcp traffic to confirm that the proxy is indeed sending back valid xml responses to my request and it is. I am really at a loss as to why I am getting this error. Regards, Darren "The response did not contain an end of entity mark." at System.Net.HttpWebRequest.finishGetResponse() at System.Net.HttpWebRequest.Get ...Show All
xRuntime StructLayoutAttribute problem
Hi everybody, I wrote this code... This is a test structure [ StructLayout ( LayoutKind .Explicit)] public struct structure { [ FieldOffset (0)] public byte number1; [ FieldOffset (1)] public int number2; } .... private void button1_Click( object sender, EventArgs e) { structure s = new structure (); s.number1 = 20; s.number1 = 30; } It allways throw TypeLoadException... but Pack Field is not supported in CF, and I need to pack my structures. I realy don't know how to do this. Thanks All fields must be properly aligned, e.g. 32 bit integers must be 4 byte aligned per ARM CPU requirements. So second integer can't be at ...Show All
mcomroe UPnP (once more): linking problems
Dear all, I am writting an application for windows mobile in VC++ 2005 and when I compile my program, I get error LNK2001: unresolved external symbol IID_IUPnPDeviceFinder and unresolved external symbol CLSID_UPnPDeviceFinder I included the "upnp.h" from UPnPctrl part of the MS Server Components but I get that error. I have also included the path to upnp.h in the project properties. I noticed that there is no .lib file included in the /lib directory of UPnPctrl part. do you think that this must be a problem Any help will be really appreciated. Thank you in advance. PS. The error comes up when I use the CoCreateInstance(CLSID_UPnPDeviceFinder, NULL, CLSCTX, IID_UPnPDeviceFinder, (void **) &finder); ...Show All
emepvsd Form closing event not fired
Hi, I have an application with only one form. If the user wants to close this form I want to ask him, if he would like to save his work. I'm trying to do this in the form's closing event. But this event is not fired. Has anyone any ide ralph Overriding OnClosing will not change anything. The default implementation fires Closing event. If you are not getting the event, OnCLosing is not called. Application.Exit does not fire OnClosing by default. If you want to make sure the user gets asked, do not use Application.Exit Is there some event fired when this "x" button is clicked Your form will likely get a Deactivated event. Keep in mind however that there are other situations where that event will be raised ...Show All
GoDaddy Pushpins in V4
Pushpin script working in version 3.x is no longer working in V4 when in 3d mode (works fine in 2d)...quite a few of the parameters in the failing pushin are null and the javascript error is complaining about a problem with 'length' A little debugging revealed an interesting bug--the title field can't be "null", but can be an empty string. In other words, this works: map.AddPushpin(new VEPushpin('LayPP:13',new VELatLong(30.557437,-84.221834),' ','13',null,null,null,null)); I'll let the team know. Caleb-- I don't have much more to add...here's an example of script causing the problem...again, this works fine in 2D V3, V4 and the pushpin does display in 3D, but as soon as I mo ...Show All
Dario Aznar Cab File Update
I have basically built a piece into my program that allows me to download a cab file update however it cant really execute the cab file while the actual program is running so does anybody have an idea as to how I could shutdown my application and then kick off the cab file You can: - Shut it down from CAB setup DLL (C++ only). - Use separate "updater" application which is not in the CAB. - Launch CAB installer and terminate your application right away (might be unreliable due to timing issues). - Use CeRunAppAtTime() to schedule CAB installer to run soon and terminate your application before that happen. ...Show All
JD04 How to Add icon to PPC task bar?
Hi, everybody! I have created a small window (16*16) as HHTaskBar child and put it on task bar. But how to make my window to change it position when other windows (clock, volume, battery etc. ) that belong to task bar appear or change their state Thanks for any help. Please refer to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=223605&SiteID=1 ...Show All
Merrik Trouble connecting to the Web Service
Hi, I know this issue has been raised many a times but i am still searching for the solution. I am working on a smart device application under VS 2005 .net deployment for the Pocket PC 2005. Well when i work on the emulator for connecting to the web service it displays Connection could not be established to the Network with the following error at runtime: A first chance exception of type 'System.Net.WebException' occurred in System.dll A first chance exception of type 'System.Net.WebException' occurred in System.Web.Services.dll A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll I have tri ...Show All
Buis8907 Send SMS as plain text
Hi, I tested the sample Sending SMS application in compact framework. It sends sms as a flash format. But I need plain text format. How to send sms as plain text format Please send your suggestions or links. Thanx, M. GANESAN What's "flash format" Flash format is a sms is displayed at the front we can't save that only we can see. But if you sent a sms as plain text, we can save that in the device. I got the output. If you give the Service Provider information to the SMSSendMessage() API, the message will be sent as a plain text format otherwise you are not giving provider information the message will be sent as flash format. Thanx, M. GANESAN ...Show All
Rod at Work emulator uid
Greetings to all, I am trying to identify of unique form PPC. Well, so far everythings ok, I have found code that gets the MAC to me from a phisical device, but the problem I have at the time of getting something that identifies of unique form the emulator to me of the PPC. In this page it says to me how to do so that the most real PPC http://blogs.msdn.com/vsdteam/archive/2005/10/07/478295.aspx In this other says to me that there's no way http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=9997&SiteID=1 I need something that is unique and each emulator can identify me. I let the code to get the MAC to you from the physical device, in case somebody has this problem, because solved. [DllImport("coredll.dll")] private static ...Show All
