Answer Questions
RogerB64 Constrain User Movement of Window
Hi, I have a Pocket PC application I am trying to port to the desktop. I am trying to limit the user from moving the main CWnd window above a certain point on the screen so that popup wnidows can appear above the main window and be easy to interact with. I can't seem to find a way to constrain the window. I have tried catching the WM_MOVE window message and when the user is finished moving the window, send my own WM_MOVE message, but I can't see ...Show All
Stylius How to install CF 2.0 on iPAQ
I have an iPAQ hx4700 which has .NET CF 1.0 installed. Where can I find .NET 2.0 CF, and how do I install it There is a file (NETCFv2.wce5.x86.cab) in my VS 2005 installation under: C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\wce500\x86. Is this the file I should install The OS version on my iPAQ is Windows CE 4.21 and from the location of the .NET CF 2.0 file it appears to be for Windows CE 5. The ...Show All
gwarnes Setting up the Correct ATL Include and Lib paths after eVC4.0 project port to VS2005
Hi I ported an application that compiled and linked fine in eVC4.0 to VS 2005. When I compile the project in VS 2005 I get the following linker error: LNK2019: unresolved external symbol VarBstrCat referenced in function "public: long __cdecl ATL::CComBSTR::AppendBSTR(wchar_t *)" ( AppendBSTR@CComBSTR@ATL@@QAAJPA_W@Z) In looking into this I see that the include file used for ATL is the main Win32 one and not the SmartPhone 200 ...Show All
Pascal_Mtl Access to serial port in a WinCE device
Hi, I am developing a WinCE application for a PDA and i need to access its USB port. I am trying to access a serial port, using the function CreateFile, and when I execute the .exe in the PDA (it compiles and links well on PC), it returns me a '120' Error (This function is not valid on this platform.). In the web requirements fot this function it says "OS Versions: Windows CE 1.0 and later", and the PDA has 'Microsoft Pocke ...Show All
pratcp Ensure password activated?
Hi, Using C# .NET 2.0 Compact, is it possible to ensure that the user has set up a password on their mobile device I want to restrict my application such that it refuses to run unless a password has been enforced on the PDA. Currently I'm using PocketPC 2003 SE Emulator. Thanks in advance, Sigol. Hi timg_msft Thanks very much for your help on this matter. Best wishes, Sigol. ...Show All
GreatC VS 2005 C# Debug/Release
I get a Debug build (ends up in the Debug folder) whether I select Debug or Release. I also wanted to turn on Optimization int the Release Build. (like C++ or is there no such option) Does it matter in C#, if you select DEBUG or RELEASE And is the distinction between the 2 sub-directories 'bin' and 'obj'. It seems to build the same stuff in both with Obj have sub-directories for Refactor and TEmp ...Show All
Robbo Will there be a Compact Framework 3.0?
I noticed that WinFX was recently renamed Framework 3.0. Does this mean we will be getting a Compact Framework 3.0 as well :P is there any word on progress of cf 3.0 Alex, Does this mean that the CF 2.0 will be included in the ROM for new releases of PDAs and the 3.0 will be distributed Will we ever see these new releases of the CF distributed through the ROMs of the PDAs (Like the CF 1.0 is distribute ...Show All
tmakaro Error creating Smart Device app in VS.Net 2005
When I try to open a Smart Device form in Design mode, I get this error: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take you to the line of code that caused it. Unable to cast COM object of type 'Microsoft.VisualStudio.DeviceConnectivity.Interop.ConManClass' to interface type ...Show All
amaric Can I use the same emulator in evc4 and PB42?
Hi, Now I can use the emulator to debug the WinCE OS image with Platform Builder4.2 and the application with EVC4.0 separately.My question is that can I debug my evc application in the same emulator in whitch I build my image. If it is possible ,can you tell me what steps should I follow Thanks for reply. I mean that the emulator shipped with eVC4. And my problem is that can I compile my eVC4 application in the emul ...Show All
H. Erick Ellis Can't Check Submenu Item
So basically, I am trying to check a menu item that belongs in a cascading submenu. I have a sample diagram to show you want I mean. I am sure I am getting the handle because I get get the string, but I just can't put a check mark there. I want to check mar Item2 and Item1. (Submenu Bar ) Item1 Item2 ^ | (Submenu Bar ) ...Show All
Andreas Masur resource or assembly not found when catching exceptions
Hi. I swear I've been able to do this before. Using .NET CF 2.0, WM5 smartphone. Anytime there is an exception being caught, I want to see the inner exception message or just the general exception message but everytime I look at it, no matter what type of exception, i always get the message that a resource or assembly could not be found. The proper namespaces have been declared, what am I doing wrong I only see: Microsoft ...Show All
peterko Sending SMS
Hello Everybody Can any body help me in writing VB.Net code for sending SMS over GSM through .Net compact frame work Thanks Wouldn't just creating a SMS-message and sending it through the phone's own mechanisms do the trick Here's the C# code for .NET Compact Framework 2.0: using Microsoft.WindowsMobile.PocketOutlook; ... SmsMessage s = new SmsMessage("0001234567", "Hello fellow!"); s.Send(); and here's with VB.NET: Dim s As Ne ...Show All
pawel.stanek C# + Check online status
Hi Gurus: How do I check the network status (whether i'm online or not) from a C# + .net compact framework application. I did some google, but was futile. Thanks in advance. cool, simple solution ...is to use P/Invoke method. http://www.gotdotnet.com/Community/MessageBoard/Thread.aspx id=203405&Page=1#204077 You can also call Dns.GetHostEntry(Dns.GetHostNam ...Show All
AtleH this.hide or this.visible=true not working...
Hi, i have a form consisting of only a text box. in the form_load, i have code that reads "this.hide()". However then the form loads, it is still visible. I have also tried "this.visible = true" and have tried them in the forms constructor as well, but nothing i try seems to work. Is anyone else having this issue with WM 2005 and CF 2.0 Ilya, although this works to hide the form, the Form name and the form' ...Show All
GAT2000 VS2005 CR1: Failed to open vpc network driver
My emulator is working fine except it can't connect to the network. Here are the steps: 1) Try to use Pocket Internet Explorer, type my favorite web address 2) Got the following bubble message: Cannot Connect, Unable to connect: blah blah 3) Dismiss the message, go to Setting-> Connections-> Network Cards 4) It says "My Network Card connects to: Work" (Good) 5) On the emulator window -> File -> Configure -> Network -> Clic ...Show All
