Answer Questions
Harry Leboeuf Deployment CAB's
Which deployment CABs are required for .NET Compact Framework 2.0 and SQL Mobile 2005 to run an application on a Mobile 2005 device I've figured out (I think) NETCFv2.wm.armv4i.cab and sqlce30.ppc.wce5.armv4i.CAB should be installed. I don't require replication in my application. Are there any other CAB files need Thanks, Peter That is correct. You might also deploy SR CABs to get exception messages. Also, sqlce30.phone.wce5.armv4i.CAB& ...Show All
ThamYT Soft Input Panel
Does anyone know of a way of invoking just the keyboard part of the Input Panel I don't want the users to be able to access the options or be able to choose a different input method. Please, any help on this I would greatly appreciate. You can use SipSetCurrentIM to specify the keyboard input method. However you can't stop the user from then changing this to another method e.g. letter recognizer etc Pete ...Show All
Surender Reddy How best to animate (move a bitmap) in C#?
Hello, I am porting a card game to C#/.NET, which is totally new to me. So far, things are going well, but I want to be able to move (drag) cards around, and although I have something that works, it flickers quite a bit, and also has some a questionable aspect to part of it. My basic approach is to render a card to a bitmap, then as the mouse moves (MouseMove event), do: Restore previously saved screen rect Use CopyFromScreen to s ...Show All
Ljones27 Printing from mobile device and compatibility
Hi, First I would like to tell u wat I am doing actually I am creating a windows form for device application which is link it to sql mobile edition 2005. So is definitely running on .net cf 2.0. So my question will this application of mind which is running on VS2005 will work on a device which is running window mobile 2003 Secondly the form which I am creating have some of the form component like text input and combo box etc etc. So on ...Show All
Wes Williamson how to write a homescreen program
Hi i am writting a new program that i want to be able to write the same prog ram for the homescreen too. I am using studio .net 2005 and i got smartphone 2003. Is it possible to do this thanks. Thanks bad news i cant believe there is no way in clr so sad and lame. No, homescreen plugin needs to be a COM object that can be activated (CoCreated). This is not supported in CF 2.0, because of the lack of CLR hosting support. Sorry ...Show All
KillnComputers .NET Compact Framework 2.0 Guidance and Documentation is Pitiful
I would like to know if you are finding this to be a problem also see: http://realworldsa.dotnetdevelopersjournal.com/net_compact_framework_20_guidance_and_documentation_is_pitif.htm Web Services (using securely without SSL, NTLM and Kerberos authentication- Encryption samples and possibly samples that are able to communicate with web services using WSE policies of encryption and signature ) ...Show All
3fo Environment SpecialFolder invalid operation
Hi. This works fine on .NET Framework 2.0 but wondering why I am getting an exception when implementing this same code on .NET CF 2.0, on WM5 smartphone. if (Directory.Exists(Environment.GetFolderPath(Environment.SpecialFolder.Programs))) { ... } A first chance exception of type 'System.InvalidOperationException' occurred in mscorlib.dll 'Environment.GetFolderPath(Environment.SpecialFolder.Programs)' threw an except ...Show All
Pankaj11 UpdateData before app starts
Hello all, I am writing a native, dialog based, c++ app (MFC) for a Windows Mobile 2003 device (PPC) using vs2005. I have the following things: - a variable - that variable DDX'd to an edit control - the variable set to some initial value - an "OnEnChange" handler for my edit control that calls UpdateData(TRUE) - another method that changes the variable and calls UpdateData(FALSE) to update the control This seems to work fine...th ...Show All
tjk_2 Can't find project template Smartphone Magneto <Workaround>
Folks, I just installed VS 2005 Beta and Pocket PC SDK 5.0 along with Smartphone SDK 5.0 but when I try to create a new Project for Smartphone I do not find those options. Should I be doing something else I refered to this document http://msdn.microsoft.com/library/default.asp url=/library/en-us/dntake/html/yctiwy_wm5.asp but seems like I did everything it says. Any help Regards, Udaypal Aarkoti Amit, Thanks for the reply. I did tr ...Show All
senthilrd MessageBox.Show not Blocking
I have wrapped my Application.Run with an try/catch handler which displays details of any exceptions to the user before exiting the application. To test this the application throws an exception when a button is clicked. give this a shot: static void Main() { try { Application .Run( new Form1 ()); } catch ( Exception e) { ThreadPool .QueueUserWorkItem( new WaitCallback (ErrorThread), e); } } static ...Show All
datamathfish VS2005 dev emulator "Cannot connect to device. Error 0x8007002"
I'm having several troubles running the Device Emulator with VS2005. (I had been using the Preview, which worked fine in all circumstances, but I uninstalled it and installed VS2005.) 1) In the Device Emulator Manager I right click on a device (e.g., Pocket PC 2003 SE Emulator) and hit "Connect". The emulator starts up and appears to be doing a cold boot - eventually but before the copyright screen appears I get a message box "C ...Show All
YapEro Help with Capture/disable the Back Key
Hi, I'm trying to disable the back key. I did the following but it doesnt work: //in my form constructor added key handler public Constructor() { this.KeyPress += new KeyPressEventHandler(OnKeyPress); } . . //function defined private void OnKeyPress(object sender, KeyPressEventArgs ke) { // Dete ...Show All
Virtue Good practice? Globals class with static variables
Hello, I don't know if this is a good practice in OO. I have defined a class Globals with a lot of static variables for use between all the forms that I read from an XML file at start of the program. If the value changes I change the static variable and write the changes to an XML file. If I don't work in this way then I have to read them from a database every time. or are there better workaronds How should I ...Show All
CourtHarris What's better, designer or code?
Hi I'm developing an app that will have perhaps 6 or 7 different screens that can be chosen from a menu. My question is should I create all the forms graphically using the form designer, or should I create them all in code What would be better, not only in terms of speed but also the size of the finished application - is there a right or wrong way Many thanks Mark Forms are created "in code" whateve ...Show All
tom_gee foreign keys in sql mobile 2005
hi, I have created a simple database (like northwind) for mobile devices in visual studio 2005. I can set the primary key, but I can't see where is the option to set a foreign key. Thanks in advance!!! Agustin i will reply to myself... (in fact, some else told me ;) i have to use the dataset designer. there i can set the FK. But maybe there is another way... i'm a newbbie with this stuff!! thanks to you all ...Show All
