Answer Questions
AmrishDeep Unable to create cab files in visual studio 2005
Dear All I am facing a problem when i am trying to create cab files for the smart device application. it is not showing me any option to create the cab files. it is giving me option to only build the project. waiting for your reply thanks in advance regards Mahmood Windows Mobile 2003 is supported by VS2005. If you build your application against the correct SDK and in the SmartCab project set the correct minimum and maximum supported OS version, you should have no problems creating a cab for WM2003 Hi All, I have created CAB file for c# component, it is getting downloaded onto Client machine but not getting registered unlike INF file registers the ActiveX ...Show All
Eighty Managed version of lineDrop in Windows Mobile 5.0?
I'm trying to write an application that drops calls from known telemarker numbers. The SystemState class in the Windows Mobile 5 SDK makes it easy to detect incoming calls and determine the number. However the matter of dropping the call is a whole other issue. AFAIK, there is no facility in the Compact Framework for this (correct ). I've looked at OpenNETCF and Alex Feinman's TAPI wrapper (which I don't believe works on Windows Mobile 5). Am I missing something or is there simply no way to do this Thanks, Matt When I use Alex's TAPI wrapper against the Windows Mobile 5 Smartphone Emulator I get the following when I dial out a number (forget about receiving just yet): An unhandled exception of ...Show All
RayPowers Sounds with C#.NET CF
Hi, I'm trying to add some sounds for a Pocket PC C#.NET program. But after searching during long hours I still can't play some waves when a click in a button or something like that... I really need for some help... Someone can help me ! Hi Pal That depends on the device. If your device has a Media Player application capable of playing WAV files I'd do this. Copy some WAV files with different encoding setting (8/16 bit, mono/stereo, 11.5kHz/22kHz/44.1Khz sampling rate) and see which one plays fine and which don't. Hope this makes sens Michael This is a native function, it can't access managed resources. Either don't use resources (change action type to content so file would ...Show All
achalk Close the message box just by touching screen
Hi, I am using VB.net and Visual Studio 2005 to compile a program. Some messages have to appear on screen in order to tell users what the program completed, such as, "Update Succeed", "Item Was Not Found", etc. However, in order to close these message box, users have to use pen to click the "ok" on the right upper corner of the message box. What I want is: instead of clicking the "ok", users can close these message box just by touching screen. How can I do that Thanks a lot. Can you dim a boolean as "Dim touchToQuit = False" When the application pops up that message, set the touchToQuit = True. In the Form_Click event, type something as below: If touchToQuit = True Then ...Show All
kenneth123 HT trap _ and - keystrokes
Does anyone know how I can trap the underscore and dash keypresses I have to allow these keystrokes while excluding others. When a dash is depressed, e.Keycode returns a value of 189 and when I try "e.KeyCode.ToString = " I get "Back, ShiftKey, RMenu" which makes no sense at all. Thanks in advance! Try hooking the KeyPress event instead and take a look at e.KeyChar: private void textBox1_KeyPress( object sender, KeyPressEventArgs e) { e.Handled = !(e.KeyChar == '_' || e.KeyChar == '-' ); } Thanks! That was very helpful. ...Show All
aharuray Smart Client application in 2.0 - Solution Required
Hi Group, Currently I am developing one smart client application in .net 2.0. I tried the following code of codeproject.com to call the server application. I have developed one server application and client (console) application to achieve this. string strURL = "http://localhost/Smart/Bin/Release/Smart.exe" ; string sClassName = "MySmartClient.SmartForm" ; Assembly assemblyContent = null ; assemblyContent = Assembly .LoadFrom(strURL); Type typeContent = assemblyContent.GetType(sClassName); typeContent.InvokeMember( "Main" , BindingFlags .Public | BindingFlags .InvokeMethod | BindingFlags .Static, null , null , null ); It is working fine. But whe ...Show All
Jandost Khoso How to package emoticons into installation package?
Is that possible and how to package a bunch of emoticons into a single packaged installation file No one have any clue :( Appearantly not... If you want to add multiple emoticons all at once, I think there is a Messenger Plus! Live Script to do that. The information about emoticon packages is not public, so you would probably have to figure that out for yourself. I tried to dig thru quite a bit but it seems the entire thing is very proprietary. Not really an easy task. It would be great if you could point me to the script, then I might be able to get some clue. ...Show All
SolveIt Type inconsistency exception, XmlSerializer & XmlChoiceIdentifierAttribute with .NETCF2 SP1
Hi, I've got a weird exception on such a line during runtime: XmlSerializer xs = new XmlSerializer ( typeof ( IPAddress )); Exception message: Type of choice identifier 'ItemElementName' is inconsisitent with type of 'Item'. Please use array of <namespace>.ItemChoiceType. Here is the IPAddress class, which was generated by xsd.exe from the following schema portion: < xsd:complexType name = " IPAddress " > < xsd:choice > < xsd:element name = " ipv4Address " > < xsd:simpleType > < xsd:restriction base = " xsd:hexBinary " > < xsd:length value = " 4 " /> </ xsd:restriction > </ xsd:sim ...Show All
Maxhec 25.02 - 24.99 = 0.0300006866????
Well it seems to in VS2005. I have a float that is a member of a class which is 24.99(float a). I have another float which is created by parsing a string which equals 25.02(float b). The first value is substracted from the second using: b -= a; However I get some trailing garbage Any ideas Worked like a charm. Thanks. Floating point arithmetics are not exact and are usually not represented as you think. http://msdn2.microsoft.com/en-us/library/system.single.aspx http://msdn2.microsoft.com/en-us/library/system.double.aspx http://en.wikipedia.org/wiki/Floating_point If you need exact math you probably want to use Decimal data type instead. http://msdn2.microsoft.com/en-us/library/system.decimal.aspx ...Show All
Katrina Illidge RTSP
Does Windows Mobile 5 / Windows media player 10 supports video streaming of RTSP protocol In fact, I quite don't know RTSP is due bottleneck for WM5 or for WMP10... I have tested that if my device has a .3gp file, it plays ok. But if I use WMP10 to open the (rtsp) URL, it encounters error... it said the file is untrusted and need digital signature... Just stupid que: is that I need to install a realplayer to satisfy handle the "rtsp" streaming I am looking on info about RTSP in WM5 too. Like this file: rtsp://stream.zoovision.com/musicvideos/well_make_a_lover_of_you.3gp I am trying to play 3gp files from RTSP server without sucess. Either in Windows Media Playe ...Show All
Confused4130 How to get a list of all categories
Hi, I want to get a list of all Ctegories but cannot find anything about retrieving this infrormation. Has any one an Idea on how to do this in Pocket PC 2003 using POOM Hi, now I just need to know how I can realise this, because I'm not familar with the CEDB APIs. ralph On WM2003 you would have to use the CEDB APIs directly. Open the object store volume and the database called "\Categories" then enumerate the rows present. On WM5.0 you can get them through POOM. Get the IItem interface for the required folder (e.g. Contacts) and get the PIMPR_FOLDER_CATEGORIES property. This will return a list of all the categories present for those items. Peter Is there a way to get the list of all categorie ...Show All
j_o_h_a_n_n_e_s Custom Control doesn't invalidate original drawing area when resized
Hello, I'm having a problem anchoring and resizing custom controls on Windows CE 5.0. For testing purposes I created a simple custom control that overrides OnPaint and draws a border. The issue is that when I resize the control, either programmatically or by using anchoring, the original region of the control isn't updated. If the control is docked, the entire drawing region updates correctly. Does anyone know why this is happening I'm using CF 2.0 SP1. Chris Normally, when you are creating a custom control, you do two things (among the others); 1) Do not call base.OnPaint 2) Override OnPaintBackground to do nothing at all Please, try it and see if it helps You might want to post a snipp ...Show All
Ted. map.GetRoute flags and numbers
Hello everyone, I found map.DeleteAllPushpins(); removes the flags and numbers on the route path, is there any way I can prevent it Yuki Yuki Chen wrote: Thanks Derek, heheh ... the thing is I need the auto zooming on the route .. and as well as DeleteAllPushpins onendzoom .. this is realy giving me lots of headache .. do you know if there is anyway to find out the pinIDs on the route so I can manualy remove the pins.. I can't call DeleteAllPushpins here.. because I have many other pins on the map I don't want to remove.. or set getRoute not to show the pins by defualt .. so I can put my own pins down wish my question didn't give you headache! Thank you Yuki There's no way to stop getR ...Show All
Martin Hellspong Using RAPI in Vista
I got some problem in using rapi (from OpenNETCF) to connect mobile device and desktop application in Vista. Can the rapi still work in Vista Or I need to change the dll to Microsoft.WindowsMobile.rapi.dll If Microsoft dll is needed, does anyone have some sample Thanks. My trial vista has just expired. I have to reinstall it before I can take a try. Do you know that it can work in Vista or not As I saw the last update of the dll is in year 2003. I found two rapi dll files on Vista too. %windowsfolder%\WindowsMobile Microsoft.WindowsMobile.Rapi.dll Microsoft.WindowsMobile.Common.dll But I can't find any sample. I would think the standard RAPI interfaces would continue t ...Show All
R0nda evc4.0 can't release project for CE3.0 or older versions.what can I do......
I want to setup evc3.0,but I don't know whether 3.0 will have conflict with 4.0,maybe I should setup 3.0 in another operating system But I still want to konw,that evc4.0 really just work for ce.net thank you eVC++ 3.0 and eVC++ 4.0 do work fine when installed on the same machine. Just make sure you install eVC 3.0 before installing eVC++ 4.0. And yes, eVC 4.0 does only support Windows CE.NET (4.0 and above). ...Show All
