Answer Questions
Doug DeBug How to add a self register dll in a solution and cab file
My project needs a dll to be registered in gac of device.[it is System.SR.dll resource dll] How Can Add a simple folder in my solution and then add this file in the project. ThenHow can I add this file in the cab file so that it will be self register You can not have CAB in a CAB. Install it the same way you're installing your CAB and NETCF CAB instead. 1. This file is not self registering DLL but managed assembly. 2. You create a folder and add some managed DLL to the CAB project the same way as any other file. 3. You can not redistribute this file, you need to redistribute entire CAB file which would GAC it for you. Please see this for list of files you can redistribute: "%ProgramFiles%\Microsoft Visual Studio ...Show All
Kolja IMAP Client with SSL
Hi, What is the easiest way how to implement IMAP client with SSL in CF Thx. There are some open source SSL implementations like this one . You may have some luck adapting it to Compact Framework The easiest way is to get a ready-to-use IMAP client component. Plenty of those including free ones and even source code I found some, but the problem was that some classes were missing in Compact Framework. I need one that supports SSL connection and is free ( the best with source codes ). Creating own IMAP library woudn't be a problem, but i don't know how to implement SSL in Compact Framework. I've had some luck porting the Mentalis.org library to Compact Framew ...Show All
Dan Heidel Where to obtain Windows Live Alerts SDK?
Hi all, Where can I obtain a copy of the Windows Live Alerts SDK I've checked developer.live.com, but it is not on there, and I'm starting to wonder if the SDK has to be explicitely requested from Microsoft. Thanks, Siebe Tolsma Oberon Medialab J-Thread posted the correct link, http://signup.alerts.live.com/brochure/. Alerts support for RSS feeds has, for the most part, made the v6 SDK obsolete. Hi Siebe , I don't think there is a public Windows Live Alerts SDK yet... I found this page but I don't think that is what you mean... I'll see if I can ask somebody from Microsoft for you. Keep up the good work at Oberon! ps. You can download the old SDK h ...Show All
Joel Hensley Sample XML File related Projects
Hi all, does anyone know of any sample (good :)) XML file related Compact Framework projects that I can get my hands on I'm look to use config files in my project, so anything that makes use of them would be cool. I can't seem to find anything on MSDN or with the Windows Mobile Sample Projects. Thanks 1. You may use OpenNETCF.Configuration.ConfigurationManager class from OpenNetCF.org 2. Read this article about creating your own configuration manager 3. Another article on reading xml config files in CF. 4. You may use XmlSerializer to deserialize you xml config file into a managed class instance in CF 2.0 Thanks for the links, R.Trifonov They are very useful! :) ...Show All
rogupta Reproduce MP3 by CF 2.0
Hi everybody!! I'm trying to reproduce MP3 by CF 2.0 about WM 5.0, however I have got to reproduce only WAV: [DllImport("coredll.dll")] public static extern int PlaySound( string szSound, IntPtr hModule, int flags); My second option has been to use Windows Media Player and to hide its windows: private void button2_Click(object sender, EventArgs e) { Process audioPlayer = new Process(); audioPlayer.StartInfo = new ProcessStartInfo("wmplayer", "Windows//notify.wav"); audioPlayer.Start(); IntPtr hWnd = FindWindow(null, "Windows Media"); ShowWindow(hWnd, SW_MINIMIZE); } but it does not work, since this windows appears maximeze. What can I reproduce MP3 using basic library ( ...Show All
SweptSquash Correct use of Find with callback and index
Hi Could anyone give any pointers on how to use the find method with callback when changing the index when using wheres and whats. I've implemented a page where you're supposed to be able to navigate through results. When you click e.g. "next results", the index variable is increased by one and the find method fired off again. The next results button/link is only available when findResults.HasMore == true I seem to be getting weird results however. On some wheres and whats I get 1 more pin if I click next. Sometimes I get a lot more but the older pins aren't removed. I tried increasing the index variable by 10 for each click but that isn't the solution. Any ideas Cheers Aled ...Show All
Jkumar Add VScrollbar To Panel
Hello Experts, I have a Panel for which I have specified a dimension. In runtime, I am adding child panels within this panel. I have also added a vertical scrollbar to this panel. All I want is to scroll through the contents of the parent panel, such that it displays the generated child panels. Right now, I am able to render the child panels within the parent panel but can't make it scroll. How to do this I cant find any panel property which can be used to repaint the visible area of the panel while using the scrollbar so that it can be made to scroll. Please help me as soon as possible. I am badly stuck. To earn points, you can also post your answer at: http://www.experts-exchange.com/Programming/Wireless_Programming/Pocket_PCs_All/Q_2 ...Show All
Vijay Guru Prasadh How to use Serial Ports !
Hello, I don't know using which component to control serial port on Device. The OS runing on device is WindowsCE 4.2 and .NET compact frame work 1.1. I added reference System.IO but not found class SerialPorts in this package. Can you help me solve this problem Thanks for your help. Steven UK. Hi Michael, Thank you very much for your help, I will upgrade to NETCF2.0 SP1 and writing applications by VB.NET 2005. Steven. Dear Ilya Tumanov, Can I upgrade Netcf 1.0 to Netcf 2.0 on WindowsCE 4.2 It work OK After upgrade to NETCF 2.0, can I using VB.NET 2003 writing applications runing on WindowsCE 4.2 Please advise me. Thanks for your support, St ...Show All
Dan-Teklynx Setting Zoom Level with GetRoute()
Is it possible to set the Zoom level after the map.GetRoute() function I want to display the three maps. One with the normal view and two with the starting position and the ending destination at zoom level 17. The code runs fine but it doesn't zoom... var map = new VEMap( 'startmap' ); map.LoadMap(); map.GetRoute( "3029 NW 28th Ave, Boca Raton, FL 33434" , "3303 W Commercial Blvd, Ft Lauderdale, FL" , null , null ,onGotRoute); var xLat = new VELatLong(26.21531,-80.00402); map.SetCenterAndZoom(xLat,17); map.HideDashboard(); The map asynconously goes off and find the route allowing other code to execute. So while it is off getting the route it pro ...Show All
Rotte2 bulk geocoding canadian addresses
im looking for tool to bulk geocode canadian addresses. will have to geocode over 200, 000 addresses at first then 10-20% on daily basis. steph can you shared your code for interacting with mappoint CD for geocoding...or point me in the rite direction. thanks steph Our MapPoint license allows us to do bulk-geocoding on a daily basis. It isn't the same web service WSDL as the standard MapPoint functionality. I support the process but didn't set it up so I'm not sure what complications there might have been in starting it up but it seems to work good for us. Brandon Try www.geocoder.ca Denis ...Show All
Jazz4sale Networking question: MTU check.
I have to know what is the network MTU on device. As far as I know there are two methods of checking MTU: 1) Check it by sending non fragmented datagrams, or 2) reading IPv4InterfaceProperties.Mtu Property. Both of them are not working on .NET CF. IPv4... is not supported as well as setting non fragmenting property in Socket class. Is there any other solution for this problem, that works on .NET CF This problem was connected with packet fragmentation problem. It was solved in: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=532111&SiteID=1 ...Show All
Simmy7 VE Map object as a user control
Hi, I had created the VE Map object as a user control and had 2 instances running in the same page, the pushpins i created i had done it with unique ids ( var pin = new VEPushpin('<%=myMap.ClientID %>' + k, new VELatLong(lat, lng),imgPath,'', ((html))); ) still when i do the mouse hover on 1 map object both the objects refresh has anyone encountered this problem is there a fix ram Derek, Are you trying to put up two user controls, and within each user control exists one instance of VE Thast true, i am loading 2 instances of the VE user control in a page What do you mean, "it stops working" when there is only 1 instance of the VE user control in the page the pins are ...Show All
dr.acv VE based mashup to track ebay visitors
Here is a VE based mashup to track visitors on e-bay auctions or craigslist listings. http://www.nethram.com/visitor/ebay.html And here is an e-bay listing that uses this tracker http://cgi.ebay.com/AT-T-free-2-go-prepaid-card-100-mins-worth-25_W0QQitemZ200004251995QQihZ010QQcategoryZ43308QQrdZ1QQcmdZViewItem ...Show All
Sujithf Filtering Address based on Country in Virtual Earth
Hi, I am working with Microsoft Virtual Earth. I want to show Adresss. I used VEMap.Find() method to find the address. I passed street name,houseno,city,zipcode,county,state and country informations to find the address. The problem is I got the address throughout the world which matches the address. But I want to filter the address based on Country entered. So pls kindly assist me to sort out the problem. Is there a method to filter the address based on country in Virtual Earth Help me. Thanks in advance. Hi derek, Still it is not filtering based on country. I placed a DropDownList to select the country. I entered a city name that is not in the selected country. But still the map searches that city and shows ...Show All
Marcus J How to ActiveSync Time at moblie..
I found a free software at http://www.pocketgear.com/software_detail.asp id=19734 site : the free software have a function : "World Clock Sync can sync with internet atomic NTP time servers. Once you connect with ActiveSync, or with GPRS, you can adjust the time of your Pocket PC accurately!" .....But How to programe code for this function ...Can erverybody give me some suggests or some API for it..Thanks! Hi kuntushi: Thank you for replying me question.so first I try CeSetUserNotificationEx API, it works.But how I get PC time to set mobile device,when my application get "net connect" event, I also read the document about SNTP, But from now no ideals about relative to activesync mobile device time. ...Show All
