Answer Questions
Erbil Yilmaz How do I bind two DataGrids in a master-detail relationship?
for Compact Framework 1.0 Thanks Ilya! You answered by my question and i solve this problem too (also usage event CurrentCellChanged and RowFilter). I have typed DataSet with table Products (FK - CategoryCode) and Categories (PK-Code) private void dataGridCategories_CurrentCellChanged(object sender, System.EventArgs e) { SyncCategoryProducts (); } private void SyncCa ...Show All
Goran Ciric Intercepting Key Down/Up messages in .NET
Is this possible I want to intercept certain keys as they are pressed and perform events on them. Thanks, Jeff. It is possible. Do you mean hardware keys or (soft)keyboard keys With netcf v1 or v2 What device Cheers Daniel Here's a FAQ listing some additional details on what is/not possible with v1. http://msdn.microsoft.com/smartclient/understanding/netcf/FAQ/default.aspx#7.27 ...Show All
tgs_Prince Standard C++ code in Smart Phones?
Hi friends I am Developing a program written in standard C++ for Smart phones using embedded visual c++ 4.0 as editor, Smartphone 2003 sdk. the code is follows # include <stdio.h> int main(void) { printf("Hello World"); return 0; } my project is having a single file whose code is written above. So when i try to build this code for smartphone 2003 it gives Linker error which is written below _mainCRTS ...Show All
aleyush ControlBox
How would I execute code when the user clicks the controlbox (little x in the upper-right corner). for an example, if i wanted to display a form that prompts im the user really wants to exit when the x is pressed; or if i wanted to end the program instead of just closing the form when its pressed Handle the onclosing event. The eventargs has a flag you can set to stop the form from closing. *** this is t ...Show All
Josh K.... Possible to write my own UITypeEditor or use existing in the CF?
What I'm trying to accomplish is a MultilineStringEditor on the design time properties window. It should look just like the Label control's text property or textboxes's text property, when you click the down arrow a box pops open that allows newlines. I now know how to use the MultilineStringEditor in the regular framework, but the System.design.dll doesn't exist in the CF ( ). So I decided I could just write my own, however.. the Sy ...Show All
DHarve Exception Code 0x80000002- please help!
Hi. I have an application for PocketPC that sometimes gets this exception: Exception Code: 0x80000002 Exception Address: 0x01f7aac and I don't know what to do with it. I'm don't know much about exception handling and I don't understand what this error means. I get it inconsistently. sometimes it never surfaces; sometimes it suddenly does. I've been trying to find patterns to no avail. My application is basically a speech recorder and player. I w ...Show All
Eias Nabhan [Emulator VS 2005 Beta 2] Loading a image file
Hi, I truy to disp a imaeg file into the emulator. I launch the emulator connect to it via the Visual Stuido Remote Tool then i download a jpg file right in the exe folder. In my code i write this : Bitmap bmp = new Bitmap ( "\\Storage\\Program Files\\CSWinTelecopie\\chronos.jpg" ); Rectangle srcRect = new Rectangle (0,0,bmp.Width,bmp.Height); e.Graphics.DrawImage(bmp, this .ClientRectangle, srcRect, GraphicsUnit .Pixel); & ...Show All
Joe Sutphin SIP Disappears after MessageBox.Show() -- Doesn't come back
I have strange problem that SIP disappears after the messagebox.Show() is called and never shows up again. 1. I have 5 forms and One form is the startup form. I am displaying other 4 forms as ShowDialog when particular button is pressed in the MainForm. 2. Whenever I have informational message box MessageBox.Show() the SIP disappears. After I click OK in the message box, the SIP still doesn't comeback. If I remember where the SIP was befor ...Show All
Hzoom How Visual C++ 8.0 is compliant to ISO C++?
Hi, Could anyone point me to list of new features of Visual C++ 8.0 compiler for mobile devices related to ISO C++ Standard compliance I'm using eVC++ 4.0 with latest ServicePack and AFAIK this compiler is based on the VC++ 6.0, so there is a lack of many C++ features, not to mention limited version of STL. So, I'm strongly interested in moving to the latest Visual C++ 8.0 but I'd like to gather more information first, before ...Show All
DaveCat Smartphone registry problem
Hi all, I want to change some registry setting for WM5 Smartphone emulator, and I found that some registry values can not be changed. lResult1 = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("System\\CurrentControlSet\\Control\\Layouts\\e0010409"), 0, 0, &hKey); lResult2 = RegQueryValueEx(hKey, TEXT("Ime File"), 0, &dwType, (LPBYTE)szValue, &dwDataSize); lResult3 = RegDeleteKey(hKey, TEXT("Ime File")); I can see the return values of th ...Show All
borge3000 Pocket PC/Webservices: Unable to connect to the remote server
I have developed a Pocket PC 2003 app in Visual Studio .NET and am getting an unusual problem i can't get to the bottom of. My VB.NET Pocket PC App tries to call a simple web method on my webservice from the device using the webserver's IP or Machine name and receives the error " Unable to connect to the remote server". Yet if i point the device's IE browser to the location of the webservice asmx file (i.e. http://192.168.1 ...Show All
Saurabh11 Problem launching a debugging session on VS.NET 2005 Standard
I'm trying to create a simple test app to begin development on a SmartDevice app in VS.NET 2005 Standard. I have WinXP SP2. I chose a "Device Application (1.0)" project from the C# projects (I wanted .NET CF 1.0 rather than requiring 2.0). Did nothing else, just decided to launch it in the emulator to make sure everything worked - and it didn't. When I try to deploy to any of the emulators, I get a dialog box which says: "Fai ...Show All
Stefan Hendricks Installing .Net Framework 2.0 (KB829019)
Do you need to uninstall .Net Framework 1.1 before installing .Network Framework 2.0 So, it's better to stick with .Net Framework 1.1 Thankyou. Best Regards. Yes. MIIS2003 doesn't use Framework 2.0, and 2.0 doesn't recover 1.0 and 1.1 - it's independents. But this update (KB290019) has some critical things, that are brake MIIS. RollBack this update - and MIIS work correctly. I thinking, Microsoft know ...Show All
bholemaharaj GetSystemPowerStatusEx on Mobile 5
Hello, I writing a application on a new Ipaq 2700, running Windows Mobile on it. I want to retrieve the status of the battey in a method... I use this code: PSYSTEM_POWER_STATUS_EX status = NULL; if (GetSystemPowerStatusEx(status, true)) { return status->BackupBatteryLifePercent; } else { return 0; } The function GetSystemPowerStatusEx always return false... Anyone have an idee Greetz ...Show All
J B Li Windows Mobile 5.0 compile error (RTTI)
Hi All, While compiling application for Windows Mobile 5.0 linker error: LINK : fatal error LNK1181: cannot open input file 'Ccrtrtti.lib' I tried searching and what i observed is Ccrtrtti.lib file is available with only D:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Lib\armv4 The same is missing for armv4i Windows Mobile 5.0. Where can i find the same Can i use the one available with PocketPC 2003 ...Show All
