<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows Mobile</title><link>https://www.dotnetzone.gr:443/cs/forums/31/ShowForum.aspx</link><description>Θέματα development για SmartPhones, Pocket PC και γενικά φορητές συσκευές με το .NET Compact Framework και τα ASP.NET mobile controls</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Πρόβλημα με Timer</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/14421.aspx</link><pubDate>Wed, 05 Jul 2006 16:29:28 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:14421</guid><dc:creator>Ioannis P</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/14421.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=31&amp;PostID=14421</wfw:commentRss><description>Ευχαριστώ πολύ. Το έφτιαξα :-)&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Απ: Πρόβλημα με Timer</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/14418.aspx</link><pubDate>Wed, 05 Jul 2006 04:17:41 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:14418</guid><dc:creator>Dimitris Papadimitriou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/14418.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=31&amp;PostID=14418</wfw:commentRss><description>Ορίστε η γενική ιδεά (ψάξε για παραδείγματα threading στο google):&lt;br /&gt;
&lt;br /&gt;
Βάζεις την εντολή αντιγραφής σε μια ξεχωριστή συνάρτηση χωρίς παραμέτρους π.χ. MyCopyFunction.&lt;br /&gt;
&lt;br /&gt;
Στον κώδικα που ξεκινάει το timer, λίγο πριν, ανοίγεις ένα νέο thread:&lt;br /&gt;
&lt;br /&gt;
Dim t as new System.Threading.Thread(AddressOf MyCopyFunction)&lt;br /&gt;
&lt;br /&gt;
t.Start()</description></item><item><title>Απ: Πρόβλημα με Timer</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/14415.aspx</link><pubDate>Wed, 05 Jul 2006 02:05:30 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:14415</guid><dc:creator>Ioannis P</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/14415.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=31&amp;PostID=14415</wfw:commentRss><description>Μήπως έχεις κάποιο σχετικό παράδειγμα;&lt;br /&gt;
&lt;br /&gt;
Ευχαριστώ.</description></item><item><title>Απ: Πρόβλημα με Timer</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/14392.aspx</link><pubDate>Tue, 04 Jul 2006 17:39:38 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:14392</guid><dc:creator>Dimitris Papadimitriou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/14392.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=31&amp;PostID=14392</wfw:commentRss><description>&lt;P&gt;Μου φαίνεται για&amp;nbsp;πρόβλημα threading. Δοκίμασε να&amp;nbsp;βάλεις την αντιγραφή του αρχείου να τρέχει σε διαφορετικό thread απο τον timer.&lt;/P&gt;</description></item><item><title>Απ: Πρόβλημα με Timer</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/14391.aspx</link><pubDate>Tue, 04 Jul 2006 17:00:03 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:14391</guid><dc:creator>Ioannis P</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/14391.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=31&amp;PostID=14391</wfw:commentRss><description>Επειδή δεν κατάφερα να βρω λύση έκανα ένα ξεχωριστό exe που εκτελεί την SystemIdleTimerReset().</description></item><item><title>Πρόβλημα με Timer</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/14275.aspx</link><pubDate>Wed, 28 Jun 2006 17:23:49 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:14275</guid><dc:creator>Ioannis P</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/14275.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=31&amp;PostID=14275</wfw:commentRss><description>Μέσω μιας εφαρμογής που τρέχει σε ppc 2003 (NET.cf2) (Symbol 8846) θέλω να αντιγράφω κάποια αρχεία από ένα υπολογιστή τοπικά. Το πρόβλημα που έχω είναι οτι επειδή η διαδικασία κρατάει αρκετά, το ppc κλείνει λόγω των ρυθμίσεων στη διαχείριση ενέργειας. Ψάχνωντας, βρήκα οτι μπορώ να μηδενίζω σε τακτά χρονικά διαστήματα τον idle counter και να διατηρώ το ppc ανοιχτό όσο τρέχει η εφαρμογή μου. Έβαλα λοιπόν την SystemIdleTimerReset() στην tick ενός timer που έχει interval 8000 και διαπίστωσα οτι κατά την διάρκεια της αντιγραφής ενός μεγάλου αρχείου (η αντιγραφή του κρατάει 5 λεπτά) η tick δεν ενεργοποιείται καθόλου. Γνωρίζει κανείς αν μπορώ να κάνω κάτι γι' αυτό;&lt;br&gt;</description></item></channel></rss>