Answer Questions
bond12 How to rotate a image in smartphone
Hi, I want to know how to rotate the image in a smartphone application. Thanks and Regards, Amritanshu Agrawal hi jeff, how could u accomplish this in compact framework 1.1 thanks sadiq It's not entirely clear what you're trying to do. Do you need to just rotate it some multiple of 90-degrees Or does it need to be some arbitrary rotation Is this something that happens just once that you could just create a second copy of the resource in some paint program on the desktop and just load this other resource Or is it an image that is created at some later point (e.g. a drawing program, or loading an arbitrary image from a file) that needs to be rotated If you just need to rotate a mu ...Show All
cuteheart96 Directions display underneath the map
I've put into practice most of previous thread and come up with this code that asks for a start postcode and then gives directions to a fixed destination. It works but throws an error icon at the bottom Line: 2 Character: 250914 Error: Exception thrown and not caught Code: 0 What's wrong Here's the code <html> <head> <title>Directions to King's Lynn</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script> <script> var map = null; function GetMap() { map = new VEMap('myMap'); map.LoadMap(new VELatLong(52.77, 0.40), 1 ...Show All
lustigorMolch Daylight Savings PPC Issue
Hi, Can anyone let me know how to prevent the Pocket PC from automatically updating to the daylight savings when i set the time from a C# .NET CF application. I sometimes get a popup by the Windows mobile OS saying "The Clock has been automatically updated to the daylight savings. Please check the clock settings to see if the time is correct." This pop up shown is not consistent and i want to control this from my application of NOT updating the daylight savings when i set the device time. Just to let you know, am setting the time in Universal Time format using WinCESetSystemTime. public struct SystemTime { public ushort Year; public ushort Month; public ushort DayOfWeek; public ushort ...Show All
ForEverLearning How to set column visible and invisible in Datagrid for Pocket PC application?
Hi, I want to hide a column in a datagrid for pocket pc application after binding the dataset to the datagrid Please suggest me how to achive this. Thank you OK. Thank your for clearing that up for me! Because data grid on devices does not pay attention to that. Desktop should not pay attention to it as well as it's only intended for XML mappings and documented as such on MSDN but it does for some strange reason. That makes it hard to show column in the grid and hide it from XML at the same time. above code is not working for me the only different thing i have done is, i do every thing at desing time. do i need to do something else please help ...Show All
matthiashilpold MSN Add-In developer info
After writing a couple small msn add ins for fun I though I'd share some of the things I've learned from this. Security Unless an addin is signed with a strong name key and loaded into the global assembly cache it will run with very restricted access. E.g the permission set "Internet". Error codes: 8013150A = An error relating to security occurred. ( COR_E_SECURITY ) More info about how strong naming works can be found here . Sending Messages (Limitations) You can only send messages in the IncomingTextMessage event. And only to the person who sent you the message. This means you can't have for example a timer sending out a message to someone every X hours. Or forwarding all messages from Bill to Bull Error codes: 810003DF = Attempt sen ...Show All
Nerick How to call APIs in ossvcs.dll
Hi everyone, I need to call GetWirelessDevices() to get Wireless device in the Mobile 5 . I get information as follow from MSDN GetWirelessDevices() ..... Requirements OS Versions: Windows CE .NET 4.2 and later. Header: Wrlspwr.h. Link Library: ossvcs.dll I use follow code to get pointer for GetWirelessDevices(), it return NULL for the API. I think I use the incorrect method to call the GetWirelessDevices(). But I don't know how to call the API from the DLL file. Anyone could help me HRESULT (*pGetWirelessDevices)(RDD **pDevices, DWORD dwFlags); HINSTANCE hModule; LPVOID lpMsgBuf; hModule = LoadLibrary(TEXT("ossvcs.dll")); // Process any inserts in lpMsgBuf. (FARPROC&)pGetWirelessDev ...Show All
xuyca loading image files into a imagelist object
Hello all, Im trying to load a bitmap image into a imagelist programaticly using VS 2005 VB. I usaly use system.drawing.image.fromfile but it does not seem to be supported on the compact framework is there another way Thanks -BCR You could use this instead of Image.FromFile(): New Bitmap("\Full\Path\ImageFileName.exe") Make sure to provide full path to the file, that is needed since relative path are not supported on devices. Also make sure to dispose of this bitmap as soon as it’s no longer needed. ...Show All
Prince of Dhump DFWEBBOT IS The 20 Questions KING!! VOTE
The robot invaders contest ( www.robotinvaders.com ) is closed for new entries, so all bots are in. A total of 51. With $40.000 in prizes, everybody of course wants to win. But which bot do you think will make a good chance The prizes: Grand prize (1): AlienwareR MJ-12 7550 Workstation First Prize (1): BoseR LifestyleR 48 DVD Home Entertainment System Second prize (5): AlienwareR Sentia M3200 System Third prize (10): GarminR nuvi 360 User's choice: 80 GB USB Portable Drive / DX1 Input System / LED Binary Watch The bot with the most votes on September 15th gets the user's choice award. It looks like that would be " samplebot@hotmail.com " with a total of 412855 votes! Amazing. Last time I talked to that bot though it could ...Show All
rajjon How to get Email CollectionID of the AirSync?
Hello guys, Is it possible to get the Email CollectionID of the AirSync by any kind of API (currently, I am using MAPI + POOM) The follow page describe about the AirSync content but I am wondering if there any standard way to get this ID http://www.geekzone.co.nz/forums.asp ForumId=17&TopicId=8451 Thanks, Asher This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forum for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati ...Show All
MgManoj deploy with the .exe file
I have finished an application with c# .net cf 2.0 And I build it with the setting is "release" "any cpu", then I send the application's .exe to my user, and the exe file be in the application\bin\release . the user's handset is windows mobile 5 handset. Can the .exe run at the user's handset Is it right of my deploy way Please tell me, Thank you Hi, You can make you application appear in the program folder by: 1- double click your cab project , or the partialy blue file inside it, until the project window appears in the place where you write you code. 2- right click on the left colomn where there are some folders in a tree view. 3- choo ...Show All
Hakan Eren Install / Update and deployment question
Hi all, i have here the following situation... - I developed an App with CF 2.0. The App has 4-5 different DLL's - The App (Version 1.0) is installed on 20 Mobile devices at a customer (with SQL Mobile). These devices have 4-5 times a day online access to the server at the customer site (via GPRS). - No i developed a Version 1.2. Two of these DLL's on the device have to be updated. But the users of these devices only come to the office 3-4 times a year because they are allways on the road (this is where sales guys have to be ;-)) Now my questions : - What do you think is the best Way to update these DLL's when the sales guys a always on the road and can't use ActiveSync for doing this Greetings Henning ...Show All
JRQ CListCtrl and italic fonts
I have a simple dialog that contains a CListCtrl of type "small icon" and I want to display the strings with an italic font. I use small icon because I don't want the window to be scrolled horizontally, and "small icon" takes care of that (the window is scrolled vertically). The problem is that when I set te font as italic, when the items are displayed in the list, a small part of the string is clipped out from the right side. The font is displayed correctly as italic, but that small part is missing when the list is displayed. For example, if I want to display something like "Test (1)", the only half of ')' is displayed. Is there any fix for this How do I set the colu ...Show All
Michael Ziggy Morton Serialport works... but doesn't work
I've writen a program tha needs to communicate with two different types of modems. One of them provides encryption technology so that the user can communicate on a classified level. The program works fine with this device. There are no special commands for using from the programs perspective except that it has to send commands to it to unlock it. Once done it talks fine. My problem is with the unclass device. The program will send data (i.e. AT, AT+CSG, etc..) to Hyperterm and the commands appear there. When we type something on HyperTerm it appears in the window like it's supposed to. When we use Hyperterm to talk to the device the device sees it and responds accordingly. Yet, when we connect the PDA to the device it's as if the connec ...Show All
Michael Hansen How to load new pushpins depending on my map location
This might be an obvious question so please bare with me. I want to be able to have push pins loaded asynchronously as I move around the map. So if i have 20 pushpins in one state and 20 in another, I obviously only want to see the 20 while i'm in that state, but as I scroll or pan to the next state i only want those other 20 pushpins to be loaded as I move to that location. Can someone point me to an example of this as i figure this would be an obvious scenario, I just haven't been able to find a good example. What a great help. I am using .net 1.1. Is there a workaround for this version of the framework. I am happy to use Atlas for fhis. Hi, well, after the map has ...Show All
stombiztalker Are MSN Groups changing to Live?
Is it true that MSN Groups are changing to Live Groups I made a sugestion to microsft about msn groups moviong to windows live spaces. there, the group blog would be right there. But I fell it should be renamed to Windows Live Clubs or something like that. but microsoft saying "you can contract directly to your contacts by downloading WLM" Yeah, my group has well over 500 members, i'm expected to add them all..... rebulid groups from scratch and intergrate in to spaces. make spaces larger by adding groups and it will be all on the same network and same log in info and everything. I'm pretty sure that's only the chat servers, I think ...Show All
