Answer Questions
GlenO Blob User
Since the details of the SDK are not released yet, I'm kind of feeling around in the dark here. I'm starting on an application that will use the SDK. I just need to know whether I will have some byte array of data that will uniquely represent an identity for a particular use of the identity. If I can count on that, then I can move forward with my design. Please advise. In the Client SDK, you would either use the Identity.UserName or Identity.cId properties to store personalized data for a user. For more information, please see the reference documentation in the SDK, available for download here: http://connect.microsoft.com/site/sitehome.aspx SiteID=347 Hi, I don't have any specific knowledge of how the Live ID SDK is s ...Show All
Terry Smith Web service, xml, local storage
hello, im very green to .net cf and some help are needed regarding the usage of xml as local storage. i've used web service to open a connection to database to get the data that i want and convert it into xml. below are the code <WebMethod()> _ Public Function getStud() As DataSet <-- does this means, im going to return a dataset to the calling application Dim conn As New SqlConnection("Data Source=localhost;Initial Catalog=Proj;Integrated Security=SSPI") conn.Open() Dim da As New SqlDataAdapter("GetStudent", conn) da.SelectCommand.CommandType = CommandType.StoredProcedure Dim ds As New DataSet da.Fill(ds, "Student") ds.WriteXml("C:\student.xml") <-- how d ...Show All
fatalist Reduce detail of the map tiles?
Is there a way to say remove some of the extra detail at zoomed in levels ex: roads, city names etc. I'm assuming you want to remove them from Road/Hybrid view If thats the case, you'll need to mapcrunch your own tiles on top of the map as those names are part of the VE imagery and cannot be dynamically removed. Otherwise I'd recommend sticking with aerial mode (which doesn't have road names nor city names). Thanks guys. Just needed the definite answer. Custom tiles are the only solution. Thanks! Think of VE as static tile images, there are 3 sets of tiles plus birdseye. So you can't remove text from these static images As Derek said you co ...Show All
Evan Mulawski R
Hi I'm writing my first Device app... I get the following error from seemingly innocuous code: Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\DeviceApplication1\DeviceApplication1.exe'. Error 0x80070020: The process cannot access the file because it is being used by another process. Device Connectivity Component Any suggestions as to what might be wrong Thanks, Bakis. Running applications are listed in the "Memory" applet which is located in "Settings" item on a start menu. It also allows you to terminate applications as need. Or you could install one of available task managers for Pocket PC. To ...Show All
Magannahan Skjellifetti Orange Icons in Live Search
I'm not very fond of the red pushpins but the orange markers look perfect! The orange markers appear in Live Search when you do a search for businesses. Does anyone know where I can find the image source Also, I remember reading threads on how to print numbers on the markers but I couldn't pull it up from Search. Can someone point me in the right direction Thanks! Jeff / Stuart, I've add the snippet to the VE WIKI: http://www.viavirtualearth.com/wiki/NumberedPushpins.ashx If there is more to add or correct please visit the page and click on edit (no login required - just have to have a few goes at a capthca control) Thanks John. hi, now i am more confused then ever! i really ...Show All
Mainiac007 updating a datagrid
I am using bound text boxes to update datagrid rows. When I try to update the SQL mobile database with Me.TableAdapter.Update(Me.DataSet.table) I get an error that states "Unexpected Error" and "Upadate requires a valid updatecommand when passed datarow collection with modified rows." Is there another statement that is needed Thank you. For clarification, if a row is added, the data base updates with out a problem. If I alter an existing row, then I am not able to save it. The easiest way to do this would be to create an SqlCeCommandBuilder on your SqlCeDataAdapter and then do: dataAdapter.UpdateCommand = commandBuilder.GetUpdateCommand() I believe designers would add CommandBuilder aut ...Show All
Eric Totten Cdate cast error
Hi all I'm trying to do a Cdate(datestring) where datestring is the value 25/6/2006 but it's giving me a cast error here are some code examples from the command window Now #11/28/2006 6:12:49 PM# CDate("25/6/2006") Run-time exception thrown : System.InvalidCastException - Cast from string "25/6/2006" to type 'Date' is not valid. CDate("6/25/2006") #6/25/2006# system.Globalization.CultureInfo.CurrentCulture {System.Globalization.CultureInfo} Calendar: {System.Globalization.GregorianCalendar} CompareInfo: {System.Globalization.CompareInfo} CurrentCulture: {System.Globalization.CultureInfo} CurrentUICulture: {System.Globalization.CultureInfo} DateTimeFormat: {System.Globalization.DateTimeFormatInfo} ...Show All
hrubesh Max zoom out or zoom in parameters?
Is there a way to set the max zoom-put or zoom in MAP parameters Is there a way to know if the user clicked ZOOM IN as opposed to ZOOM OUT I don't think you can, but on map change zoom you can try something like: var currentZoom = map.GetZoomLevel(); if(currentZoom >= 13) { map.SetZoomLevel(12); } if(currentZoom <= 3) { map.SetZoomLevel(4); } Yeah I think that: e.view.zoomLevel In the onstartzoom event should return the zoomlevel requested, no the current zoom level. It would make it much more useful. Maybe something to ask for from the VE team John. eg. < html xmlns ...Show All
Visual Basic Expert How many is the MAX number about MSN Messenger buddy?
How many is the MAX number about MSN Messenger buddy Todd Biggs - Windows Live wrote: Yes, 600 is the current maximum number of people on a contact list. Thank you too I think I will test this soon. You can have your bot getting provisioned by submitting it to the http://gallery.live.com website or by using the provision bot: botprovision@hotmail.com . J-Thread wrote: Your question doesn't seem like good english to me, but I guess you are trying to ask "What is the maximum number of buddys you can have in your list ". I think it is 600 at the moment, but I am not totally sure... You are right. Thank you so much! Your question doesn't seem like good englis ...Show All
Binu Jeesman CFile::SetLength() exception in Storage Card folder
In the device emulator, CFile::SetLength() throws an exception when used on files in the Storage Card shared folder. Is this a bug or is that behavior to be expected Yes there is a know issue with Folder-sharing driver passing size equal/smaller than the current file size to SetEndOfFile/CFile::SetLength fails with ERROR_NOT_SUPPORTED. This should be fixed with next release of WindowsCE/WindowsMobile and DeviceEmulator. -Thanks, Mohit Hmm this is the 2.0 beta. I guess I'll just ignore this exception if the previous write (of the same length) was successful. Thanks. This is broken still when using the brand-new wm6 emulator (images ). Busted for, going on, two years, thi ...Show All
sammy chen pocket pc 2002 emulator webservices
I developed a directory service authentication smartdevice application in C#(visual studio 2003). As there is no support for directory services i used it in the webservice and called it in my application. Its works fine on my sytem where the web service is there. But when i try to run the application from other system it doesnt work. can u plz help me. Common reason for that is attempt to use "localhost" instead of server's name. That of course fails on any host but server itself per definition of localhost . Make sure you don't do that. Tanx a lot for the info. I was working in emulator(pocket pc 2003) after some research i found out that my sytem can acess same webservice fr ...Show All
KateMtl local.live.com Interface
Does anyone know of any resources to build an interface within VE similar to the local.live.com interface The site has a full screen VE control with menu panels that collapse / expand, icons linked to menu panes, links to routes etc. I really like the it and can see the logical step with custom VE applications is to move to this style of interface. Is the interface code for local.live.com available John. Maybe standards are the problem If MS did give us sample JavaScript / css, I doubt it would be FF ready But once IE 7 is main stream, and it's also a little more "standard" re. JS and CSS then hopefully we can start to see libraries out there. I'm sure you have already done the google search and come up with thing ...Show All
RPKJBP WM5 PPC connection issues with Activesync 4.1 and 4.2
I recently upgraded a bunch of Samsung I730 PDA's from Windows 2003 SE to WM5. We also upgraded Activesync from 4.0 to 4.2. Since the upgrade however, many user's are unable to connect their PDA to their laptops using Activesync 4.2 and in my case 4.1 (even though I was able to connect my WM5 testing PDA prior to performing all of the other upgrades). We are all trying to connect via the USB port, but when doing so, Activesync simply stays in the "connecting" state where the green icon keeps spinning and spinning. For some strange reason, I was able to connect using the IR port, but not through USB. We are not using Windows Firewall, we have that disabled. So I am doubtful that it may be a TCP network problem. The funny thing is, ...Show All
rodniko Load Image from stream?
.NET CF 2.0 Trying to load an image into a picturebox from a memorystream - is this possible when I try to do it I get a notsupportedexception theImageStream.Position = 0; this .thePictureBox.Image = new Bitmap(theImageStream); I dont think so.... the whole writing to stream is "wrapped up" when we get a "command" or notification from the server saying something like EOF, which then it writes the last bits of data recieved (minus the EOF command) pretty much its: write data from byte[] buffer into memorystream flush memorystream send memorystream to method method wants to load the image from the memorystream, first setting the memorystream position to 0 (beginning of stream) ...Show All
G20 Use VB2005, the command for a WM5.0 device program that needs to download a file
Hello, I have a small program that runs on a smart device that needs to download a text file from an ftp site on the Internet. I can't seem to find the command to do that; can anyone help me Thank you You shouldn't give up. Just download the current build of OpenNETCF SDF from http://www.opennetcf.org/getfile.asp file=SmartDeviceFramework20&dir=bin and use the OpenNETCF.Net.FTP class. IT should be fairly easy If you’d like to know how complicated it is and what is behind this single line of code, you can see for yourself: http://www.w3.org/Protocols/rfc959/ At first I did not understand why they would leave that ability out until I read your comment that FTP is outdated, now I un ...Show All
