Weight Watchers Points Calculator |
![]() ![]() |
Weight Watchers Points Calculator |
Sep 2 2004, 03:24
Post
#21
|
|||
|
Newbie Group: Posters Posts: 3 Joined: 2nd September 2004 Member No.: 55,041 |
I just wrote a really simple implementation of this for CE 2002 OS, although I can only test on an emulator. (I don't have the device).
I have only developed it as a "debug" application, and am not even sure how you folks go about "uploading" it to your devices. I am trying to add the executable as an attachment, however, as a newb to the form, I am not sure if I am following directions on it correctly. This was coded in C#. I hope that somebody who has an actual device can at least try it and tell me if it works on the device. Disclaimer: I claim no responsibility for usage of this code and/or file, use at your own risk. *Edit*I've found a few things that indicate that this is in violation of a patent found here., so I've removed the program I wrote. |
||
|
|
|||
Sep 2 2004, 11:22
Post
#22
|
|||
|
Newbie Group: Posters Posts: 3 Joined: 2nd September 2004 Member No.: 55,041 |
QUOTE Unfortunately it will only work on Windows Smartphone 2003 as I've programmed it in C#. Should that even matter? I wrote it in C# also, but I wrote it for Windows CE 2002, so it should work on that OS, regardless of what the device is. |
||
|
|
|||
Sep 19 2005, 17:14
Post
#23
|
|||
![]() Newbie Group: Posters Posts: 39 Joined: 11th July 2003 Member No.: 9,835 Device(s): SPV C550 |
Thanks for this. Works a treat on the C550 (upper left window, but looks/works fine).
-------------------- |
||
|
|
|||
Nov 5 2007, 17:37
Post
#24
|
|||
|
Newbie Group: Posters Posts: 1 Joined: 5th November 2007 Member No.: 318,938 |
Super late to the party, but wanted to say thanks for the calc!
|
||
|
|
|||
|
Jan 15 2008, 06:20
Post
#25
|
||
|
Newbie Group: Posters Posts: 1 Joined: 15th January 2008 Member No.: 344,879 Device(s): xxx |
BIG thanks!
|
||
|
|
|||
Apr 23 2008, 17:04
Post
#26
|
|||
|
Newbie Group: Posters Posts: 26 Joined: 17th September 2004 Member No.: 56,914 |
Hi All,
I know this is resurrecting a dead thread but I wanted to let you all know that the forumla currently used on here is for the USA Weight Watchers, not the UK one. The UK formula only uses Saturated Fat and Calories - but is slightly different figures from the US. I knocked up a quick ASP script on a webpage for my own personal use. The code for this is: <% If request.form("Calories") <> "" then ' We have data so work out points dblPoints = Request.Form("Calories") * 0.014285 dblPoints = dblPoints + (Request.Form("SatFat") * 0.25) Response.Write ("For an item with " & Request.Form("Calories") & " calories and " & Request.Form("SatFat") & " saturate fat there will be " & dblPoints & " points.<br /><br />") %> <title>Points Calculator</title> <form name="myform" action="<%=REQUEST.SERVERVARIABLES("SCRIPT_NAME")%>" method="post"> Calories: <input type="text" name="Calories"> <br /> Saturated Fat: <input type="text" name="SatFat"> <br /> <br /> <input type="submit" name="submit" value="submit"> </form> <% Else ' Show the form %> <html> <title>Points Calculator</title> <form name="myform" action="<%=REQUEST.SERVERVARIABLES("SCRIPT_NAME")%>" method="post"> Calories: <input type="text" name="Calories"> <br /> Saturated Fat: <input type="text" name="SatFat"> <br /> <br /> <input type="submit" name="submit" value="submit"> </form> </html> <% End If %> Just a quick warning to anyone using this, don't make it publically available. I think that it's fine for personal use but all the weight watchers formulas are covered by a patent and I'd hate for anyone to get sued. |
||
|
|
|||
|
Jul 21 2008, 04:30
Post
#27
|
||
|
Newbie Group: Posters Posts: 1 Joined: 21st July 2008 Member No.: 409,382 Device(s): Motorola Q9m |
I did intend for the Points to be displayed using a decimal point if necessary but I forgot, whoops. Never mind, here's the modified edition with decimal points and an icon. I've made a CAB installer using the inf file beersoft kindly provided. Hey! Thanks for creating the CAB & start menu item. You've made my day! |
||
|
|
|||
![]() ![]() |
Similar Topics
| Topic | Replies | Topic Starter | Views | Last Action | |
|---|---|---|---|---|---|
![]() |
Any good and free Calculator, Convertor and Registry Editor apps? | 5 | Tothotspur | 1,717 | 2nd March 2008 - 11:53 Last post by: Foxhunter123 |
![]() |
WiFi access, multiple acces points with same SSID | 3 | hippotech | 1,748 | 19th April 2008 - 07:15 Last post by: Shuflie |
![]() |
Monthly car payment calculator Monthly car payment calculator |
1 | z_phantm | 654 | 8th April 2008 - 05:38 Last post by: ascian |
![]() |
Need to use loan/Mortgage calculator | 1 | auwareagle | 530 | 11th April 2008 - 09:15 Last post by: WearTheFoxHat |
![]() |
how the heck do you run the calculator? | 1 | ascian | 771 | 1st May 2008 - 13:41 Last post by: dtphantom |
|
Lo-Fi Version | Time is now: 29th August 2008 - 06:35 |
Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!
VITO Technology | Slipstream Solutions | Aiko Solutions | PDAMill | Inesoft | SBSH | LingvoSoft | Ruttensoft | Astraware | MadBeetle | Sprite Software
Opera | Westtek | TetraEdge | Z4Soft | KBM Systems | Conduits | Mini Lyrics Magic | Proporta | Semsons | SyncData | Active Kitten | Binaryfish | Textr
SPB Software House | Omega One | OmniSoft | Resco | eSoft Interactive | TenGo | ATEKsoft | imei-check | GpsGate | SplashData | DeveloperOne | monocube
WebIS, home of Pocket Informant, FlexMail and Note2Self
Would your company like to become a 'Plus Partner'? Click Here to contact us!