Answer Questions
ImGivingUp outof memory exception in webbrowser
Hi, I am using webbrowser control of opennetcf to display html page in netcf 1.0. I am using webbrowser.documenttext method to display the html pages.Each html page have 5 to 7 images.If i load 10 pages one after another i am getting outof memory exception.So how to dispose images in webbrowser to avoid this exception. I tried using Gc.collect and it doesn't work. Hi, I re-worked my test application to have an XML file with HTML in nodes. When starting the application, I read in the XML file and create an XmlNodeList and then switch between the different "pages" using the InnerXml property of the various nodes. I have GIF and JPG images in a subdirectory of "My Documents&quo ...Show All
Michael Grau Sync data between desktop and pocket pc
I have a pocket pc application for pocket pc 2003 developed usign Vb .NET.It uses a Sql Mobile database (.sdb). I have desktop version of the same application using an access database. I need to transfer the data between the desktop and the pocket pc app.(ex. update the access database based on entires in the mobile database and vice versa). replication and migration are not an option since I do not use Sql server 2000 on the desktop side. Any help appreciated Thanks, Have a look at Extend Systems OneBridge Synch. We use it to synch data collected on the handheld in a .sdf database to the server on SQL Server (though I think Access is supported), and vise versa. It has an easy interface to easily ma ...Show All
Shahid Mahmood custom pushpins in layer
I've seen some examples of GeoRSS layers that don't seem to use the default pushpin. How do you specify custom pushpins for points loaded from a GeoRSS doc Oh excellent, do you know if there is some way to control the style of the pushpin, like there is when you add an individual pushpin thanks very much for the help You need to specify VELayerSpecification.IconUrl to the icon image you want to be displayed. There some limitations with GeoRSS layers. One is you have to set the same icon for all pins, the other is the map will be zoomed and panned to fit all the pins. Also if you have more then 200 pins the control is very slow. If ...Show All
Olle SW client certificate authentication in Pocket PC 2003
We are running a hand-held terminal application written in VS2005 C# that uses a web service to upload and download data. It had been working fine with both http and https (using TrustAllCertificates code), until certificates were loaded on our servers and client certificates were loaded on our machines in current_user. Now we get the following error: "Error loading user data: ConnectError." For security reasons, we may not move the certificates to the local_machine. We have been told that .NETCF does not support client certificate authentication but we may be able to get around the problem with custom headers. So far we have been unable to integrate the code we were given into our existing application. We would like to know if this is ...Show All
K_Dean Array.Resize
I'm trying to dynamically resize an array of objects and getting a error: Error 1 The type arguments for method 'System.Array.Resize<T>(ref T[], int)' cannot be inferred from the usage. Try specifying the type arguments explicitly. D:\Code\CSharp\StuntFighter2000\StuntFighter2000\StarField.cs 89 17 StuntFighter2000 I'm confused what this means my code is: Array .Resize( ref cStarArray, 210); cStarArray is declared as: private Array cStarArray = Array .CreateInstance( typeof ( Star ), 200); Any thoughts Not the same type so that isn't going to work. Try "Star[] cStarArray = new Array[200];" instead. Thanks, Mario and ...Show All
bioan sending/receiving datasets from webservice
Hi If sending/receiving datasets from webservice is mandatory in an application , is there any better solution in CFv2.0 in replace of using dime attachments Can i use XmlSerializer to convert datasets to bytes and pass that as parameter to webmethods or add to soap attachment instead of the dataset itself Please advice Thanks Gauls Just declare Web method which takes/returns dataset, framework would take care of the rest. Why do you believe XML serializer would serialize into "arraybytes" and not to XML I'd say you would get XML from it, hence the name. In fact, here's little secret: both SOAP serializer and XML se ...Show All
hte NETCF 2.0 and Desktop COM Interop
Is there exists any way to communicate with Desktop COM component from NETCF Mobile application via ActiveSync connection Sure. You’d need an application or service running on desktop which would relay data to/from device (e.g. over TCP/IP sockets) to that COM component on desktop. That's right, but i'm looking for some direct way without host application. Could you tell me if such kind communication is possible Thanks No, not really. ...Show All
UnKnown Nick Configure the emulator to use physical computer internet connection
Hi, i’m using VS2005 and PocketPc 2003 Second Edition. in my physical computer i have a internet connection. how should i configure my emulator to use that connection Thanks SP the url does not exist. my specific situation is: i’ve installed the network driver, checked the option 'Enable NE2000' in the emulator. when i go to the IE in the emulator, i shoulb be able to see www.google.com for instance right but i don’t. Any ideas on this thanks sp Hi Mohit, I am also facing the similar problem while connecting the WinCE Emulator to the internet using ActiveSync. I had configured the emulator to use DMA as a Transport. Once the emulator in up , I nee ...Show All
Suman&#35;SS SQL error? Please Help Me
please help me " Error" i want use dataset in windows mobile application and when i fill datagrid from dataset give fe unknown error please help me Picture for error link Error Picture have created dataset (Categories) from a sql express (Northwind), not sql mobile It's not an "unknown error" but perfectly normal unhanded exception which indicates a bug in your code - luck of exception handling. You should add exception handling, catch this exception and print all information from it - exception type, error message, stack trace and error message from error collection (if applicable). After that you would be able to analyze this exception and figure our why it was thrown. In this case it’s probabl ...Show All
Tb2006 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. sathish_indian wrote: Hi Derek, Thanks for ur reply. What should be passed in the "what" parameter of Find method. As of now I passed as "null". Do I need to give any category name I am n ...Show All
Warren13 Custom HTML Sandbox Powertoy
Custom HTML Sandbox - Powertoy Module The Custom HTML Power Toy is designed to allow you to add a sandbox module to your Space in which you can enter text, link to images, and use other HTML features. The Custom HTML Power Toy supports all of the same HTML that you can enter into a Blog entry and can be moved around your Space as a separate module, just like a list or any other Spaces module. Additionally you can control the Title of this module and whether the borders for this module are displayed or not. Follow these steps to add this Power Toy to your Space: Log into Passport and Edit your Space. In the Address bar of your web browser add the text “&powertoy=sandbox” to ...Show All
Phonics3k How to Display part of a large Image?
I have a image with 2MB, I only want to get part of the image and display in a picturebox without load the whole file, how to (I'm a Chinese boy, so my Eng is not very well, forgive me) hcaihao@gmail.com Can anybody give me a answer Thanks!!! I don't have a sample for you but I’m fairly confident Imaging API can handle parts of the image. Since you're using OpenNetcf.org let me quote some from it : 1. Thumbnails, loading parts of the large image Loading an image in Imaging API is achieved via calls to decoders - COM objects implementing IImageDecoder interface. The basic imaging interface IImage uses decoders to load image data. Most of the decode ...Show All
FZelle How to play wav through phone line?!
I try to make a answering machin for pocket pc 2003. So I need to play wav through line when incomming call happend. How should I play wave files through lines ! Your sarcasm is misdirected. The vast majority of limitations like this are driven by carriers. Simply speaking, they would not allow a device on their networks that does not restrict what application can do. Among those things are - not being able to record call audio stream or intercept it in some way - not being able to play audio into phone call - not being able to retrieve IMEI, be a messaging plugin, call privileged APIs of all sort including those setting networks parameters and otherwise interoperatinng with network (unless you are signed with a privileged ...Show All
spshah how to call a control's event?
In my form_load function; I want to call private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { } how to do that Thank you So you want to call that function from your form’s constructor without explicitly raising the event that causes that function Does it use either the sender or e values being passed in If not it is as simple as: comboBox1_SelectedIndexChanged(null, null); Otherwise you may want to pass in a reference to the calling object and an empty EventArgs object ala: comboBox1_SelectedIndexChanged(this, new EventArgs()); Does this work for you Simply, if you have private void comboBox1_SelectedIndexChanged(object sender, ...Show All
JIM.H. Hand held device slow in performance
I am developing an application for hand held device to scan 2D barcode using Visual C#. However, after scanning for 20 barcodes, the device will experience slow performance and sometimes lag. I experiment using Pocket Word to scan the barcodes. By scanning 1 barcode (normally consists of 10 lines), wait for the data to appear and highlight all data to clear off before scanning the next barcode. The experiment after 20 times, the data will slowly appear, sometimes even lag. And the response of the handheld device becomes slower. Does anyone experience such an issue Is there any improvement that we can do to modify the codes You should look into your source code. Are you creating too many objects ...Show All
