Answer Questions
Dirk Strikwerda Unique device ID
Is there a way to obtain unique device ID in VS.net 2003 I need my device to connect to another particular device without requiring me to search through all devices located nearby via bluetooth. If I understood your question correctly the short answer is no. Please see an earlier post in this forum on "Smartphone Device ID" for detail. Thanks, Vladimir ...Show All
AdrianG What's the equivalent solution in Device Projects for ToolboxItem
To control how my custom controls appears under the toolbox with the Framework, I define a Subclass of ToolboxItem. This class is not supported under CF 2.0. What's the equivalent solution Hi, Frederic, ToolboxItem class is not needed if you want to add your custom controls to VS toolbox. You can do one of the two things: - from Toolbox, right click "Choose items..." and navigate to your assembly. - or, use ...Show All
wayne-o Transfer files between PC and PPC.
I've searched for this no doubt frequently asked question to no avail. I want to copy files programmatically from a PC to the PPC, and back again, usually to the storage card. I'm using VS2005 VB.NET, but can convert from C# or C++. ---Mike I hope to discover an answer about discovery soon. In one PC project, I had all the clients send their address to a file on an FTP site, although that's not terribly secu ...Show All
njohe Painting on form outside OnPaint
In .NET Framework I can do this: Graphics g = Graphics.FromHwnd ( Handle ); Pen mypen = new Pen ( Color.Black ); g.DrawLine ( mypen, 1, 1, 100, 100 ); But what I should do in .NET Compact Framework ( I write a program for my Pocket PC 2003). You can use code similar to the following. Graphics g = this .CreateGraphics(); Pen p = new Pen ( Color .Black); g.DrawLine(p, 1, 1, 100, 100); g.Dispose(); ...Show All
rxbrooks Help
I am new to the smart device app side of VB and I have a question. The thing is that I am writting a pocket pc version of the game left right center and can not for the life of me figure out how to call a second form. I can get the second form to load and show but you can not click on anything in the form. Can someone tell me what the problem might be Dim frm As New Form2 frm.Show() 'frm.Visible.Equals(True) frm.Numeri ...Show All
prabin dahal I have to reboot every time I recompile
In my target device there are 13 tasks. One of them is called services.exe and runs my DLL (httpadmasp.dll). Everytime I surf to a certain webpage located on the Win CE device (hosted by it's webserver), it runs the DLL so I can't replace it after I recompile without rebooting the Win CE device. Is there any way of freeing my DLL in some other way Killing the services.exe task kills all services. If I try to run services.exe from the commandl ...Show All
j_jst FileStream - Asynchronous Reads
Is the FileStream.BeginRead/EndRead methods supported in Compact Framework 1.0/2.0 I can't seem to find any documentation either way on MSDN or the web to indicate whether it is supported and if so in what scenarios [Edit: I guess the same for MemoryStream and I assume other Streams as well ] Below is a very simple example which throws a NotSupportedException when running on the PocketPC or Smartphone emulators: string fileName = Path.GetTemp ...Show All
Lebanese PInvoke Strings in C#
Can someone provide me the correct declaration of the following C++ method in C# Tried couple but didn't work. Can someone help me with the code please My code goes something like this //C++ method DWORD GetDevName(OUT LPWSTR *ppszProd OPTIONAL) { DWORD rc = SUCCESS; WCHAR DevProd[] = L"MagicPoint"; *ppszProduct = (WCHAR)&DevProd; return rc; } //following are C# method declarations that didn't work / ...Show All
CRxyz118 CameraCaptureDialog
I tried building the camera API and got this error. I went and saw the space using Space Maker Storage (Flash) Storage Total: 27.98 MB Used: 4.60 MB Free: 23.39 MB it displays this. Please help me ------ Build started: Project: CECamera, Configuration: Release Any CPU ------ CECamera -> C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\Cs\Cecamera\bin\Release\CECamera.exe ------ Deploy started: Project: CE ...Show All
nick_nyc Pocket Word or Notepad programming
Hi! Could you help me how to program pocket word or notepad I need to load a portion of a big txt or doc file into a textbox and insert some text into it and paste it back to the big file. How could I display formatted text in Notepad How could I copy a portion from a file and paste it back I need it for a program that can fill in a report and print it. Thank you! Which version of the .NetCF are ...Show All
Vijay TV XML data binding API
Hi, Is there in the CF2 XML data binding API (like the JAXB in java) thanks in advance, Oren. There's no direct equivalent. You can load XML into DOM or DataSet (if XML contains suitable relational data) for processing. Thanks, Oren. ...Show All
Andrey Shur Custom stack pointer
Hello, I'm trying to port an application that implements its own thread scheduling. It calls malloc to allocate a block of memory then it changes sp to point to the end of the block. The Pocket PC 2003 emulator stops on the instruction that changes the sp register. A message box is displayed "No symbols loaded for any stack frame. The source code cannot be displayed" then the program stops. Is it a restriction of the OS or the debugge ...Show All
Greg Roberts Activesync fails to sync after installing vers. 4.0
Hello to all, I have upgrade activesync from version 3.7.1 to 4.0 in order to deploy my application in VS2005 beta2 to the device. After doing that, activesync stops to work: although the AS icon show connection (green) when the PDA is in the cradle, is is not possible to get the main screen of activesync ; and, when trying to explore the device, I get the following error window: " Critical communications services have failed to ...Show All
talay Unable to create Cab files (CF Vs2005)
My VS2005 installation refuses to create CAB files for CF projects: Here's a step-by-step example of what I've been doing: 1. Create new Project, PocketPC 2003 App using CF 2. 2. Build device application (succeeded). 3. Add new project to solution (Smart device cab project) 4. Added primary output to project. 5. Add shortcut 6. Add some registry entries 7. Build smartdevice cab (failed) with the following error message (see below): 8. Try calli ...Show All
Sstar where soes the emulator stores the project ???
In my App i 'll create some sub-directories to store data. Where can i find these files / directories on my machine So i can can copy them or update thanks Sound fine, but i've data files (some with the same names) stored in an IN and OUT directory and it would nice to see them in on the PC temp dir's. But i think i've touse the real cradle to do what i want to do thanks ...Show All
