Answer Questions
RajaGanapathy In my microsoft virtual earth map application, how can I realize the following function: select a area and Zoom into this area?
In my microsoft virtual earth map application, how can I realize the following function: select a area and Zoom into this area I only need the sample in javascript. Thanks you very much. Not sure what you have going on your machine, John, but ALT-left click still works for me from drawing the zoom box. You know Jeff, normally I take exception to your comments but I gotta give you a pass on this one. John...holding Alt down while you drag with the left mouse button still works. As long as you don't mind the menu appearing and disappearing each time you use it. How can I realize a button message handler like this: pressing a button in the dialog of vc is the s ...Show All
KrazyMGA Find/Geocoding with just addresses
I have a list of addresses, and trying to place pushpins for each. Since the pushpin needs a lat/long, I'm trying to figure out the best way to obtain it. The documentation seems to indicate I should do: map.Find(null, "123 main st., 90210", null, onFound); then in the onFound callback grab the center of the map. The problem is since I'm just finding an address (i.e. just a "where", with no "what"), it centers the map on the address but never calls the onFound callback; so I have no way of knowing when to grab the center lat/long. I can do this: map.Find(null, "123 main st., 90210", null, null); loc = map.GetCenter(); but since the find fires off asynchronously, the map is not centered properly when ...Show All
AndyC12345 Serial problems with visual studio 2005 pocket pc emulator
hi!! I have to make a program which connects a pocket pc to another device by a serial port. I don't have a real pocket pc yet, so I'm using the visual studio 2005 emulator. The problem is that I cannot make the serial port work properly. I map one serial port from the pc to the emulator, and it seems the emulator can open the port. The other pc serial port is monitored by hyperterminal. Both ports are connected by a null-modem cable. at this point, the problems begin to arise: 1.- I can send characters by the port, but don't receive them at hyperterminal, only strange characters. 2.- The event DataReceived does not work. Here is the code. Im using the class SerialConnector from the main form, jsut to make a test: Does anybody have any i ...Show All
Alvin Chen Beta of Microsoft Certification Exam 70-540
Microsoft Certification Exam 70-540 is available in Beta form right now! This is a Technology Specialist exam for application developers in the mobility space. The Preparation Guide is available for the Exam at: http://www.microsoft.com/learning/exams/70-540.mspx . To register visit one of our independent testing providers: * Thomson Prometric: http://www.prometric.com/ContactUs/T...rs/default.htm * Pearson VUE: http://www.vue.com/ms/ Please use the following promotional codes when registering: Exam 71-540: BTA540 Best of luck! Howard Dierking Product Planner Developer and Database Certifications Microsoft Corporation I took this exam back on September 14, 2006. The concluding remarks on ...Show All
paso Serial Port on real PPC device
Hello, Have no troubles with data transfer through COM port using my app running on WM50 Emulator from one side and Hyperterminal on other side's PC. For some reason having problems with the real PPC device. COM port gets opened but when I try to write something over it looks like WriteFile hungs for a specified write's timeout and after expiration returns that everything was just fine but I see no data on terminal or analyzer. Any comments, ideas May be I have a conflict with ActiveSync It attempted to do Sync over the COM at the beginning but failed because there is no ActiveSync on the PC. TIA. This is very likely. Basically you are only guaranteed to have Tx, Rx and Gnd. The rest of the c ...Show All
Shiny Zhu Advertisments over Los Angeles
Hey, what must my eye see Nissan Sentra Advertisments placed in THE AIR!!!! hundreds of feed above the ground, in a giant size. Boooo, Microsoft, thats not okay. the ads on the ground are very annoying too, but this one tops all. I guess the point is that advertisement will allow developers to use the control for free or at greatly reduced cost at some point in the future John. Where exactly did you see this If you read the terms of use, you can see that "we reserve the right to place ads" is in there...so I guess it shouldn't come as a surprise. I'm not crazy about the billboards either, personally. I find them a bit annoying. I haven't seen any floating in the a ...Show All
tonn can we change celog.clg file??
hello people actually i configured OS using platform builder 5.0 with taking care of all build option to log the data in celog.clg file. but the problem is, when i run this OS in emulator using platform builder...it always make the file "celog.clg" in release folder only..... Is there any way to change the location of this file ...i mean i need to store the file in win ce local file system or some where else only..is that not possible i also changed the registry value... written on msdn..but got no effect.. actually i want to take this "nk.bin" to some other folder and run it with the help of emulator_500.exe..and ther is no release folder....so where i can get celog.clg file.... please help in this respect ...Show All
kyle4832 Discover and Pair with Bluetooth devices
Hello. I am trying to develop a Pocket PC app that uses a bluetooth GPS unit. I would like to be able to simplify the process of pairing with a GPS device by writing code to discover the GPS unit and pair with it. I understand (I think) that this is not possible at this time in the .NET CF 2.0 without using P/Invoke. My Question is where can I find some info and possibly some examples of how to implement something like this. I've tried Google, but perhaps I am not thinking of the right keywords. I would appreciate any help. ja ja lozers Thank you for your reply. Most likely all of these devices will be using the Microsoft stack, so any managed or unmanaged calls to the API would be great help ...Show All
Rafael (Live Butterfly) How to show a loading gif
Hello everybody, I want to create a gif while my app is connecting with the server. The tipical "loading" gif to say to the user that something is happening and you have to wait. Something like that: http://www.charitablegift.org/demo_files/images/loading.gif I have used Thread class but it doesn’t seem to work. Can you help me with an example Can you tell me what class do I have to use I am using VS 2005 Compact Framework. Thank you. Are you talking about the standard "Waiticon" on Windows Mobile In that case you can show it by: Cursor.Current = Cursors.WaitCursor; To remove it I believe it is...: Cursor.Current = Cursors.Default; If not, use the Intellisense on the Cursors enumeration.... Oystein ...Show All
kbalusu Connection over ActiveSync
Hi, I need to establish a connection between my desktop and ppc application so they can exchange data. I want the desktop application to connect to the ppc application and I want it to be done over ActiveSync. I do not want to use TCP over ActiveSync. That feature is already available in my app, but users complain that its to complicated to setup. Is there any nice and complete ActiveSync:ish reference out there, both for the desktop and the PPC Thanks in advance, Nille Hi, and thanks for responding! The CeRapiInvoke function works, but the problem is that it invokes in a separate process. The consequence of this is that I can't access the data in my app. Example to clarify: int someNum ...Show All
Blipwort Drive To / Drive From in Pushpin Menu
I was wondering if anyone knows the javascript code to add a link for "Drive To" and "Drive From" into a pushpin menu Thanks in advance! I kinda get what you are saying but I dont understand how to set the code up Thanks Ya, that would be great to know how to do to! Does anyone know the code Thanks Caleb T - MSFT wrote: In the description field for the pushpin, add your HTML to show a Drive To and Drive From link. Each link fires an event. That event gets the LatLong of the pushpin and stores it as a global variable. Then, when the user requests a route, the two globals (start and end) are passed to GetRoute(). I certa ...Show All
Skurcey2 ActiveSync + Automatic Exporting of the Pocket Access Database
Good day, Just wondering if it's possible to set up ActiveSync (3.8) to export the Pocket Access database to a dummy MDB as soon as it is cradled. Cheers, I found the answer to my problem. Seems that I didn't have to worry about this, as the third party tool already made a back up of the exported tables. Cheers, ...Show All
ronguy modal form will not close
I have a C#, .NET Compact Framework 2.0 SP1 application. I have encountered a recurring problem where modal Forms displayed using the .ShowDialog() method sometimes will not close when their Dispose() method is called. When this problem occurs, the modal Form remains on-screen as the top-most window but is completely unresponsive and cannot be closed. This problem is actually worse than an application crash because the only way out is to use the Settings > System > Memory > Running Programs control panel to ‘Stop’ the application. The modal Form in question does not have a CancelEventHandler for the ‘Closing’ event. Is this a known problem If so, I urgently need a fix or work-around for this problem. Why and h ...Show All
Blader multicolumn combobox in pocketpc application
hi, in my pocketpc application ,i need to display data from the dataset(webservice).It has two columns where it display the fields date and venue.i need to display both the columns in a combobobox and allow the user to select one row containing two columns(date and venue ) at a time.I did the same using two separate combobox,one for date column and another for venue.Is it possible to display multicolumn in combobox.Actually i search and find some multicolumn combo box(user control) source component which is created for windows application.If i use the same source code for creating multicolumn combo in pocketpc application,it throwing errors.The property,class which is used in that component is not supported in ppc application,What can i ...Show All
ashk1860 Setting the locale of a DateTimePicker in C#?
How do you set the locale of a DateTimePicker in NETCF2 Is it possible I need to make the DateTimePicker work in another locale than the OS locale alternatively change the global locale (How do you do that ). Answered here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=826488&SiteID=1 ...Show All
