PC Review


Reply
Thread Tools Rate Thread

Background app

 
 
=?Utf-8?B?UmF5?=
Guest
Posts: n/a
 
      19th May 2005
Hi. Is it possible to make a background app with .NET CF and PPC 2003?

I saw other posts about start the app with system start.

Are there any other alternatives? I would like something like a Windows
service, if possible.

Thanks in advance,
Ray
 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      19th May 2005
Sure, you can build a console application with the New Project wizard and
just keep it running in the background. You can't be a real 'service', in
the Windows CE sense of things, because that makes you a DLL with exports,
which you can't build from managed code, but you can run in the background
with no UI.

Paul T.

"Ray" <(E-Mail Removed)> wrote in message
news:3BBA23AD-05D7-47F9-899C-(E-Mail Removed)...
> Hi. Is it possible to make a background app with .NET CF and PPC 2003?
>
> I saw other posts about start the app with system start.
>
> Are there any other alternatives? I would like something like a Windows
> service, if possible.
>
> Thanks in advance,
> Ray



 
Reply With Quote
 
Harry Simpson
Guest
Posts: n/a
 
      19th May 2005
Wondering if this would be a smart way to do "background syncing of local
database and calls from to the web service to upload info to the SQL Server
via ce agent? That way the user could continue on with the PPC app and the
syncing could be done separatly as long as there weren't conflicts in
accessing the local DB at the same time

Also I do RDA pull which requires me to delete the table before I pull
another one....

Harry

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:(E-Mail Removed)...
> Sure, you can build a console application with the New Project wizard and
> just keep it running in the background. You can't be a real 'service', in
> the Windows CE sense of things, because that makes you a DLL with exports,
> which you can't build from managed code, but you can run in the background
> with no UI.
>
> Paul T.
>
> "Ray" <(E-Mail Removed)> wrote in message
> news:3BBA23AD-05D7-47F9-899C-(E-Mail Removed)...
>> Hi. Is it possible to make a background app with .NET CF and PPC 2003?
>>
>> I saw other posts about start the app with system start.
>>
>> Are there any other alternatives? I would like something like a Windows
>> service, if possible.
>>
>> Thanks in advance,
>> Ray

>
>



 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      19th May 2005
I guess that depends on exactly what's going on in the foreground. I think
that all current CE databases are single-user, so you have a potential
conflict. You'd also need to check on what happens if you have multiple
accessors of the same data on the same client device with respect to
changes. I think that, generally, if there's a substantial update to be
performed, it's better to show the user what's going on and how long it
takes. A) That tells him when he should do that operation, B) It avoids
many problems with synchronization. If you are actually using RDA to get
your results, rather than the whole DB, maybe it makes sense, but I'm not
convinced when most of the data operations are local.

Paul T.

"Harry Simpson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Wondering if this would be a smart way to do "background syncing of local
> database and calls from to the web service to upload info to the SQL
> Server via ce agent? That way the user could continue on with the PPC app
> and the syncing could be done separatly as long as there weren't conflicts
> in accessing the local DB at the same time
>
> Also I do RDA pull which requires me to delete the table before I pull
> another one....
>
> Harry
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:(E-Mail Removed)...
>> Sure, you can build a console application with the New Project wizard and
>> just keep it running in the background. You can't be a real 'service',
>> in the Windows CE sense of things, because that makes you a DLL with
>> exports, which you can't build from managed code, but you can run in the
>> background with no UI.
>>
>> Paul T.
>>
>> "Ray" <(E-Mail Removed)> wrote in message
>> news:3BBA23AD-05D7-47F9-899C-(E-Mail Removed)...
>>> Hi. Is it possible to make a background app with .NET CF and PPC 2003?
>>>
>>> I saw other posts about start the app with system start.
>>>
>>> Are there any other alternatives? I would like something like a Windows
>>> service, if possible.
>>>
>>> Thanks in advance,
>>> Ray

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printing tiled background instead of full page background =?Utf-8?B?dGVhY2hlcjQ=?= Microsoft Word Document Management 1 13th Feb 2011 09:36 AM
Windows XP Pro - Desktop Background reverting to prior background. KER Windows XP Help 3 27th Jan 2009 04:45 PM
default desktop background background for all users of a terminal server Tadashi Inayama Microsoft Windows 2000 Terminal Server Clients 0 12th May 2005 11:09 PM
Check box text background remains white, does not match general background Stephen W. Hiemstra Microsoft Excel Programming 1 19th Nov 2004 01:09 PM
Blend white background of inserted object to match slide background =?Utf-8?B?QkM=?= Microsoft Powerpoint 2 19th Mar 2004 09:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:47 AM.