Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

C# device application,sql serverCE, background services

Posted on 2007-07-30
3
Medium Priority
?
653 Views
Last Modified: 2013-12-17
Hi every one,
I am developing an application in visual c#.net for smart devices. I am using windows mobile 6 professional emulator for deployment of my application. For device applications in visual studio 2005, if you are dealing with any database then you have to use the sql server compact edition. I have created my database using sql server compact edition. The problems which i am facing are

1) One of my table will contain the bmp images, but if any one knows the sql server compact eidtion there is no option to insert any image in database at design view even though you can enter the other data. , i have tried it several times by programming but it always throws an exception of directory not found. I put the image in my emulator memory as well but it didn't work.if any one can please help me in inserting bmp image in the data base.

2) I want my application (written in c#) to keep running in background and work as a reminder which comes on screen of device at any specific time and keep synchronizing with the sql server compact edition database. Just like when we set an alarm or reminder in the mobile, i want my application to work as a reminder which will be displayed when the system time and the time in databse is matched and the reminder should be reset again for the next entry in database.

If any one knows the solution of these problems, please post it as soon as possible, I will be really thankful

shabie
0
Comment
Question by:shabie
1 Comment
 
LVL 48

Accepted Solution

by:
Mikal613 earned 2000 total points
ID: 19599470
1) It looks like you cant insert an image but you can save it to Memory and create a table Images and Have an Idenity ID and Image Path which will hold the path to th eimage.

2) You can use a Timer System.Threading to check for changes and then the notification control to notify you
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
A few solutions to a problem some of us have been having when trying to add Hostgator email accounts to Outlook 2016 (will probably work with Outlook 2013 as well).
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

575 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question