I was hoping it was as easy as referencing my existing libraries to use them with WP7.
However, it complains about not able to load them because of .Net CF when I actually use them.
Do i need to recompile them to .NET CF or something?
I thought the big plus of WP7 was: leveraging your existing codebase...?
How can I leverage my existin...
I've inherited some windows-mobile code that I've been bringing up-to-date. I've come across a weird bug, and I was hoping that even though a bit vague, maybe it will spark someone's memory:
Running the app (which is basically a glorified Forms app with P/Invoke gps code), I switch to the task manager, and close the app via End Task. Se...
I have a form in a Compact Framework application. When the user presses the 'X' or 'OK' button in the top right, the screen doesn't refresh until the users taps anywhere on the screen.
The form is being shown using this code:
using (var customerDetailsForm = ObjectFactory.Get<CustomerDetailsForm>())
{
customerDetailsForm.AssignCust...
Need to develop a disconnected application for Windows Mobile 6.x to accompany an existing MVC Web Application.
Wondering if anyone knows of a web server for the compact framework that will run MVC Web Apps?
Padarn looks good but seems to be CF 2.0 only
...
Hi all,
Supose you have a form with a button that starts/stops a thread (NOT pausing or interrupting, I really need to stop the thread !)
Check out this code:
Constructor()
{
m_TestThread = new Thread(new ThreadStart(ButtonsThread));
m_bStopThread = false;
}
ButtonClick
{
// If the thread is not running, start it
m_TestThread.S...
I am developing a windows mobile 6 application using .NET CF 3.5. I need to get the IP address of my desktop computer when the device is cradled in order to initiate a synchronization process from the mobile device.
I have tried Dns.GetHostEntry, but this seems to return the IP address of my Pocket PC emulator.
Any ideas?
...
I have developed a web browser in .Net Compact Framework and i need to restrict the users from downloading files which in turn will show the file open dialog box and expose the internal files from the device. I need to restrict the browser from showing file open dialog box.
...
Hello,
I have tasked with upgrading a CF Framework 1.1 suite of apps.
Currently, the PC starts a server [after confirming via RAPI that the device exists and is connected] and spawns a app on the PDA as the client. The client process on the PDA talks with the db on the PDA and returns records to the PC app [using SQL CE 2.0. OpenNETCF ...
I got out of memory exception when I try to load a 1MB image into a PictureBox to display on NetCF.
Would appreciate someone can provide me some help.
Thanks
...
I'm writing a .NET 3.5 application targetted for Windows Mobile 6.5. My application uses an embedded IE control to display content.
The IE application allows the user to finger scroll around the webpage (i.e. touch the screen and drag instead of using the scrollbar). My IE control has a scrollbar and when I emulate the gesture, I high...
I have a chance to upgrade a legacy suite of applications currently using .net 1.1 to the newest .net framework.
It uses OpenNETCF 1.4 to communicate with the mobile device.
Is it worthwhile to upgrade from opennetCF ver 1.4 to ver 2.3 as well?
Should I be expecting significant roadblocks/issues while doing so
OR
if anyone has alrea...
I am simply trying to add a single row in the database but I keep getting an exception. I created a local database and added a single table: users. It consists of two columns: "id" and "name". I only made the id primary key (not auto-increment or anything else).
When I run the following code:
string execPath = Path.GetDirectoryName...
Does the .NET Compact Framework have a service pack? If so does anyone know where the redist download is?
I found this: http://www.microsoft.com/downloads/details.aspx?FamilyID=E3821449-3C6B-42F1-9FD9-0041345B3385&displaylang=en
But it is just for 3.5. I think that is current, but I don't want to get burned by setting up older st...
Hi everybody,
I'm working on a simple application that draws an alpha-blended picture on the screen's Device Context every 2 secs, I want to refresh the screen contents before the drawing operation (To erase the drawn pic),
I have used many many trick but unfortunately, the screen won't refresh correctly, some regions still keep portio...
In C#, we can use Image.RawFormat to check the ImageFormat of an Image. But property RawFormat seems not available in compact Framework. So how can I check an ImageFormat of a bitmap in Compact Framework?
...
In order to prevent somebody from grabbing my data easily, I cache data from my service as encrypted files (copy protection, basically).
However, in order to do this, I must store the encryption key within the .NET assembly so it is able to encrypt and decrypt these files.
Being aware of tools like Red Gate's .NET Reflector which can...
Hi!
I'm new working with background worker in C#.
Here is a class, and under it, you will find the instansiation of it, and under there i will define my problem for you:
I have the class Drawing:
class Drawing
{
BackgroundWorker bgWorker;
ProgressBar progressBar;
Panel panelHolder;
public Drawing(ref ProgressBar pgbar,...
I have a problem with a bound user control writing back to it's datasource on a NetCF forms application. The application is too complex to post code, so I made a toy version to show you.
I create a form, usercontrol with a combobox, a class (testBind) and another class (TestLookup).
I bind a property of the usercontrol ("value") to a ...
I'm working on a compact framework project and whilst most of the properties are fairly straight forward (I.e. mark them as browsable in the xmta file), I'm struggling to get this to work for more complex types - on the full framework, I'd just implement a custom TypeConverter and go from there, but it seems the CF TypeConverter doesn't ...
I made a smart device application in c# and I want to run it at startup (I know how to do that) but the problem is that I can't make my application to run minimized (hidden) on the first time.
I've tried this.Hide() and this.Visible = false and also used ShowWindow API with SW_HIDE(6) but non of them worked.
It seems it's impossible to...