Answer Questions
Eric Phoon Use the Core Connectivity API to connect to running devices
Hello, does anyone know how to use the Core Connectivity API to connect to running devices/emulators I am using the new Microsoft.VisualStudio.DeviceConnectivity.Interop assembly but am not able to connect to emulator instances that where started from the commandline. These instances are however visible in the Device Emulator Manager under the item "Other". Thanks in advance, Peter Vrenken Hello Anr! Thanks for the quick re ...Show All
tobyxu Search file in all folders
Hi, How to search a particular file (for example .doc) in all the folders in ppc using compact framework. Thank in advance. Directory.GetFiles("\") is the root on the device it will work on the pocket pc too. Did you try it Did it work What errors did you get The basic idea is the same for desktop, device and even xNIX. Just tweak it a bit so it would work on device. Hi, ...Show All
Mohammed Elnahrawi linking library for smart device in visual studio 2005
Hi, I am trying to create a smart device application in visual studio c++ 2005.The applications(Miracl) has libraries.When I compile the application as win32 console application (vc++2005) I able to compile it.But when I tried to compile the same application with smart device(visual studio 2005 using c++),i am getting linking errors lnk2001 and lnk2019 saying "unresolved external symbol" for all the functions.I am copying the err ...Show All
Bluesky_Jon Focusing on my running program
Hi I'm writting a new program which i can run on the back ground but under c ertain conditions i want the program to get focus into the front from homesc reen or what ever its state is. Any idea Thanks. SHFullScreen(FindWindow(nothing, "MainScreen"), SHFS_HIDESTARTICON) this is what i did and it just didnt work. I noticed the findwindow didnt work. Public Declare Function FindWindow Lib "coredll.dll" ( ByVal classN ...Show All
Prasad V Disable Transcriber Mode
I have an app and would like to limit data input to the SIP/keyboard and not allow for transcriber input - is there a way to limit it This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, pl ...Show All
cgragg Deploy Application.CAB file and Compact Framework 2.0
Hi Everybody, This is Chandra from New Zealand. I am currently developing .NET CF 2.0 application on visual studio 2005 for windows mobile 5.0 platform. I want to distribute my application along with .NET compact Framework 2.0 to the customer in Canada. I created .CAB file for my application.But the problem is how can I include .NET compact framework 2.0 as well so that when the user runs my application.CAB file it also installs . ...Show All
GennadyR Serial Port DataReceived Event in .Net 2.0
Hi there, This is driving me crazy, I cannot seem to get the DataRecieved event to work on the Pocket PC using the new serial port class in Visual Studio 2005 with C#. The DataRecieved event just never seems to be called. I can write data to the port just fine. Here is some very simple sample code that reproduces the error:. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; u ...Show All
C#Chris C++/CLI for Smart Device
Hi alls, I tried to create MFC and WTL projects for smarts devices, but I can't find in Project Setting options possibility to use /clr option of compliler. Is it possible to use C++/CLI for Mobile Device, PPC 2003 /2005 I use VC++ 2005 Profesional Edition. thank Thank for your answer. There are no plans for C++/CLI on devices. Native C/C++ plus P/Invoke/COM can be use ...Show All
polmau Catch power button event
I'm trying to understand what happens behind the scenes when a user hits the power button on a PocketPC WM 5.0 device. My goal is to capture/prevent the event that causes the device to go into suspend mode, prompt the user to confirm their action, then continue accordingly. I'm an ISV trying to guard against an accidental hit. Any tips Here is an excellent blog post by Anthony Wong about power events. http ...Show All
Korol Tapi32.lib is missing?
Hi all, I'm using visual studio 2005 beta2, i want to make a sample program for tapi but the fist thing i met is that: Tapi32.lib is missing. Can you tell me where can i get this lib to test Thank you. Hi Michael, I think there are some thing mistake with Windows CE Remote File Viewer, cos when i make a connect to emulator, in the window i see the tapi.dll and a lot of other lib dll. But i can't import them from emulator. The sameth ...Show All
Ravi Verma_Ambala Windows Ce 4.1 project under VST2005
What do you need to do if you want to start a Smart Device Project for Windows CE 4.1 under VST2005 (b) Because you can only select a Windows CE 5.0 project ! Is there a solution for this or should i use VST2003 thx, You should use VS 2003. Only CE 5.0 supported in VS 2005. You'll have to use VS2003; CE4.1 is not supported under VS2005. Thanks, Jeff Abraham Visual Studio Well, ..., not the answer i was hoping to get, ...Show All
Hariharasuthan NotSupportedException in PInvoke for .NetCF C# project
I have a dll in C++ with a function called fun1: typedef void (WINAPI *fp)(); typedef struct info { DWORD size; RECT rc; fp funPtrcb; }*info; _declspec(dllexport)DWORD WINAPI _cdecl fun1(IN info pinfo); My C# application has this code: public delegate void CB(); public struct Init { public UInt32 size; public RECT rc; public CB funptr; } [DllImport("xxx.dll")] public st ...Show All
Labm1ce Multiline/wordwrap datagridcell
Env.: .NET 2.0, WindowsMobile 5.0 VS 2005 Pro Hi, I use a DataGrid with object DataSource and TextBox Cells (DataGridTextBoxColumn). I don't find any way / don't find the propertys to change the row height or the property wordwrap. Is there an other way to do this My object (ChatMessages) has two columns (name & message) and the message cell should wrap the text. Under .NET I use DataGridView and I don't have those problems. Than ...Show All
MazeGen C++ and C#
Hi, I outsourced a C#-code to C++ for performance reasons. I put the code int a new C++ class libary source code, did some changes to meet the C++-rules and compiled it. I looked for CLR support in the compiler options, but I can't find them. Also adding /clr manually didn't solve the problem. Subsequently I can't import the DLL into my C#-application. Note, that the application is a Smart Device Application. /cls works fine on Desktop applicati ...Show All
CDM2 TabControl or Multiple Forms - Suggestions
I am writing an app targeting PPC devices. I am looking to determine how I should manage my UIs. Each has about 15 controls and I am wondering if it would be more memory friendly to use multiple forms or just one form with the a Tab control. Comments and suggestions welcome! -- G@ry You could group the controls that would appear on your tab pages into separate "User controls". Demand-create the user control wh ...Show All
