Answer Questions
DKramer BindingSource bind to a dataset
I have a BindingSource bind to a dataset. how could I through the bindingSource add method could I add a new item to the list I’m working in visual studio 2005 with cf v2.0 thanks for your help You could call AddNew() method on the BindingSource to add new item to the list. Something like this should do: C#: DataRowView drv = (DataRowView)mySource.AddNew(); drv[0] = "Foo"; ...Show All
traitors SQLite and Compilation for Different Environments
I want to run SQLite on my PPCs for an app I am building. I want to be able to have 2 versions. 1 for all arm processors 1 for all x86 emulators If I compile a C++ app in Visual Tools 2003 for a 2002 device, will this app/should this app port accross all devices with a similar processor regardless of PPC version (ie: 2003-Mobile etc) Thanks! VS2003 didn't support C++ device development. For a 2002 device, you woul ...Show All
Slaine error with MFC in visual studio 2005
Hi, I'am using visual studio 8 beta2, i think it's missing a lots of things. One of them is mfc code of MFC. When i am using CCommandBar, when i compile with emulator. It make an error like that: f:beta2\vctools\vc7libsce\ship\arlmfc\src\mfc\barcmd.cpp how can i get this packet Thank barcmd.cpp is part of the source for MFC. By default, it is installed to the following: C:\Program Files\Microsoft Visual Studio 8\vc\ce\ ...Show All
Sean Connolly how to automatically insert text at caret position
how can I automatically insert some text at the caret position in the TextBox (rephrased: why doesn't textBox.Text.Insert(textBox.SelectionStart,some string) work -- what's wrong with the declaration ) It's a function : TextBox.Text = TextBox.Text.Insert(Integer, String) silly me :) thanks ...Show All
Mosawi Target Machine Link Error
I have used the upgrade wizard to migrate my EVC 4 project to VS 2005. I have managed to get most of my projects to build but I have a couple that give me the following link error. mfc80u.lib(MFC80U.DLL) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM' The configuration was originally targeting ARMV4. The "Target Machine" Linker option is set to "MachineARM (/MACHINE:ARM)". And I cannot ...Show All
Tom Kaminski HI_RES_AWARE resource no use in WM5
Hi all, I am using VS2005 MFC C++ to create a program for WM5. The program works fine in QVGA mode, graphics shrink to half on VGA mode. That should be the normal behaviour as said in MSDN documentation. The problem is : graphics still shrink to half size when I remove "HI_RES_AWARE" resource from RC2.rc file. I have read thru all MSDN documentation and finally i got the following: What's New in Visual Studio 2005 for Native ...Show All
Amir Duany How to apply C++ in C# Projects on Smart Devices
Hi, In my current project I'm performing a set of very time consuming operations. Unfortunately even employing pointers doesn't yield a significant advantage in this C# project. My idea is, to outsource this piece of code to a C++ class library. During this attempt I was confronted with new problems: To use C++ methods in C#, the DLL has to contain a Manifest , which is only possible with managed extensions (/clr-compiler option) C++ managed e ...Show All
eriawan RDA problem
hi, i developing a simple pocket pc application that will using RDA to pull data to my pocket pc, but i having problem to pull data from my SQL server 2005 to my pocket pc, the error message given is failure to open SQL Server with given connct string. [ connect string = Data Source = JUN; Initial Catalog = SmartShopper; Integrated Security =True ] whats wrong with my connection string can anyone help me.. ...Show All
jianghongtu Can not create Smart Device project in VS 2005
Hello I've been coding for PocketPC/Smartphone using eVC 4.0 and prev. for several years. Now, I've installed Visual Studio 2005 and Windows Mobile 5.0 SDKs. The problem is: 1. When trying to create a new Smart Device project I get the following error message: "Error retrieving information from user datastore". 2. When trying to open a sample PocketPC or Smartphone project from Samples/CPP/Win32 the error message says: "The pro ...Show All
quan Changing the image of a picure box at run time!
Hi, I am using C# and I want to set the image of a picture box control at run time. I just want to be able to pasrse the picture box a string (path) to any image. (Images are stored in a a folder on their own - idea is to optimise performance). Is this possible Thanks in advance. Cheers!! Create a Bitmap object using the path to the appropriate image file and assign it to t ...Show All
JonasHei LNK2001 occurs when i use link command to build a DLL file.
hi everyone: I used the command LINK to make a DLL file for a project in command line. The project is wrote by using VS2005 with WM5.0PPC platform. I built the project under the VS2005 IDE and specified the option /verbose to make a full build progress messages. Then, I cliked out all the lib files and obj files appeared between "starting pass 2" and "stop pass 2" in the progress messages and copied all the obj files ma ...Show All
_wim focus bug on listview ???
Hi, I (again) have problems with VB for pocket PC (VS 2005 Beta 2 using framework 2.0 for Pocket PC)... here's my new one : I have a form where 2 listviews are to be displayed one after another (I chose it because some informations had to be visibile for both functionnalities) I show my first listview, once the user click on a row, I hide the first listview then shows the second one, but the problem is that the focus is still on the FIRST listv ...Show All
Hyresse KeyPress Event
Hey everyone Kind of a newbie question here, when a user makes a character on the "Letter Recognizer" and it turns it into a character does it fire the KeyPress event or does it fire an event Thanks Kenzie Hi Kenzie Yes, it does fire the KeyPress event. Please check the docs at http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclasskeypresstopic.asp for more details ...Show All
mfulkers Mobile 5 Emulator Images Do Not Sync With ActiveSync 4.0.4343 and 4.1.4841.0
Hi I've currently got a problem with connecting the UK Mobile 5 Smartphone Image to ActiveSync (Builds 4343 and 4841), via the Device Emulator 1.0 (Community Preview). I can successfully get ActiveSync to recognise that the emulator is running and it attempts to connect, however the following error message is returned from ActiveSync: "Microsoft ActiveSync Cannot Recognize This Device For One or Two Reasons" I've successfully ...Show All
bkrgr1 Cannot figure out how to use editorattribute to get a dropdown box to edit Text!
I have read and searched for hours online through hundreds of completely useless information regarding designer attributes. I have a custom control and all I want is for the user to be able to update the a string property named Text with a drop down textbox like any normal label or textbox control . I don't want to write my own editor or anything like that. This should be simple, but I cannot find an example anywhere online where so ...Show All
