Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Foreign Languages > Italian Forum
Home Register FAQ Members List Search Today's Posts Mark Forums Read


turni di lavoro


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-21-2008, 09:27 AM
giannimaione's Avatar
Senior Member
 
Join Date: Apr 2007
Location: Naples, Italy
Posts: 155
Send a message via Skype™ to giannimaione
Awards Showcase
Beta Tester 
Total Awards: 1
Lightbulb turni di lavoro

ciao ragazzi,
avete spunti per un software PIANIFICAZIONE TURNI DI LAVORO ?
__________________
Gianni Maione
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:22 AM
maXim's Avatar
Senior Member
 
Join Date: May 2007
Location: Florence, Italy
Posts: 155
Send a message via MSN to maXim Send a message via Skype™ to maXim
Awards Showcase
Beta Tester 
Total Awards: 1
Post

Ciao Gianni,

intendi in Basic4PPC o altro?

A suo tempo ho realizzato diversi applicativi che gestivano i turni e le commesse di lavoro. Puoi "rilevare" qualcosa dalle schede dei software da me realizzati presenti nella sessione prodotti sul sito www.2ms-it.com, CWG, CTP e anche CWT dai quali si potrebbero "estrarre" le parti che servono ma, ti avverto, l'interfaccia utente, per lo più, sono state scritte diversi anni fa in VB e alcune funzioni (DLL) in ASM e, a dire il vero, non ho mai sentito la necessità di convertirli in qualcosa d'altro visto che funzionano e che ancora si vendono... chissà, forse è arrivato il tempo di pensarci...

Massimo

Last edited by maXim : 02-21-2008 at 06:04 PM.
Reply With Quote
  #3 (permalink)  
Old 03-17-2008, 01:31 PM
Newbie
 
Join Date: Mar 2008
Posts: 9
Default Calcolo della Pasqua

Salve!!
Ho necessità di usare Basic4ppc per calcolare per qualsiani anno la data della Pasqua.
Mi può aiutare qualcuno? Ho da pochissimo tempo Basic4ppc.
Grazie
Reply With Quote
  #4 (permalink)  
Old 03-17-2008, 03:20 PM
maXim's Avatar
Senior Member
 
Join Date: May 2007
Location: Florence, Italy
Posts: 155
Send a message via MSN to maXim Send a message via Skype™ to maXim
Awards Showcase
Beta Tester 
Total Awards: 1
Post

Ciao Cerro41,

ben arrivato su questo forum...


Quello che ti prospetto è un semplice algoritmo per il calcolo della Pasqua che utilizzo da diverso tempo anche con altri compilatori:
Sub easter_day(yyyy)
a = yyyy Mod 19
b = Int(yyyy / 100)
c = yyyy Mod 100
d = Int(b / 4)
e = b Mod 4
f = Int((b + 8) / 25)
g = Int((b - f + 1) / 3)
h = (19 * a + b - d - g + 15) Mod 30
i = Int(c / 4)
k = c Mod 4
l = (32 + 2 * e + 2 * i - h - k) Mod 7
m = Int((a + 11 * h + 22 * l) / 451)
e_d = Format(((h + l - 7 * m + 114) Mod31) + 1, "D2") & "/" & Format(Int((h + l - 7 * m + 114) / 31), "D2") & "/" & yyyy
Return e_d
End Sub
Saluti,

Massimo

P.S. al link sottostante trovi nel file compresso un piccolo esempio che utilizza l'algoritmo sopra citato.
Attached Files
File Type: zip easter day.zip (710 Bytes, 13 views)

Last edited by maXim : 03-17-2008 at 08:01 PM.
Reply With Quote
  #5 (permalink)  
Old 03-17-2008, 07:21 PM
Newbie
 
Join Date: Mar 2008
Posts: 9
Default Pasqua

Grazie MAXIM sei un grande
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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


All times are GMT. The time now is 11:29 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0