PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

WeightWatchers Points Calculator

I am looking for a Points Calculator form PocketPC. In case you are not familiar with this, it takes the dietary fiber, calories, and fat grams from a food and calculates it to give you the number of points the food is worth. I have found one at a web site http://www.stormpc.com/ww/ (at the bottom of the page) but I cannot find one for PPC. Is anyone out there interested in taking on a project like this. You might be able to get all of the info needed from that web page if you just look at the source code. I can do some html, but I have virtually no knowledge of scripts and so on.
Any help would be appreciated, Thanks
I'll do it. Wait a bit. I have to install eMbedded Tools on my laptop.
Okay, it's done and works perfectly as far as I can tell. I don't know anything about WeightWatchers, but this 8.5KB application should allow you to easily and quickly find the WWPoint for any food you have around :D

However, I have no _good_ webspace to upload it to. Currently it's at
http://rain.prohosting.com/moosem/wwpc.html

Just download that then put it in your PocketPC's \Windows\Start\Programs directory and you're good to go.

I've never programmed in VisualBasic or for the PocketPC before, so tell me if anything is wrong with it.

Do you think I should sell this on PocketGear or someplace? I've seen worse things on those sites for sale.
Nicely done Moose. My wife wanted something like that. I installed another WW point calculator called PCalc and it was also free. Between them, my wife has what she wants.
Did you just compile VB source code for this app in eVB? Or did you write it yourself?
Moose, you probably shouldn't have done that...

Last year I had a product out called PocketHealth, which included a Weight Watchers points calculator.

Long story short, I got a cease-and-desist letter from them and had to pull the product.

A number of other people have had the same experience. I tend to doubt anything would come of it from posting it here, but you never know.
Ya, that's what I was affraid of, but all it is is an equation. I'll just change the name to WaitWatcher's :/. But I'll welcome an email from WeightWatcher's asking me to delete it, it's no skin off my back.

Thank you HobbesAB. I'm strangely fond of my simple achievement as well. :D

TechMage, Just after my initial post I installed eVB on my laptop and programmed it in, source and all, 100% original. I had it ready in about 30 minutes and spent another hour trying to make an icon for it and trying to figure out how to make it an EXE unsuccessfully.. then dinner, and then upload.

I was thinking of maybe adding some database features such as average point value of what you eat and total points you've eaten today, but that would involve me actually learning eVB and I don't know about that. And especially if it's of legal questionability I doubt I'll invest time in it. But it even has a link to weightwatcher's.com within the program! :cry: oh well.

[Edit] Solution, Now it's called "WatchingWeight Point Calculator" ... think that'll fool em?
Be careful Moose... It's one thing to release it if you didn't know, but now that you are aware, they can now immediately jump to legal action because it's essentially a willful infringement. I wouldn't even play games with it for what little money it might bring in.

But that's me.
I'm not about to sell it. I was more making fun of some of the lame software that is for sale than seriously thinking about making a quick buck. All it is is a calculator, though, I don't understand why they could have a problem with it.
I understand you were making fun of lame crap out there. I agree completely! But, this is kind of interesting for anyone considering similar types of things...

As was explained to me by my lawyer, what they are able to bitch about is, of all things, the formula. What it basically amounts to is that the formula itself is copyrighted (or patented actually I think) and any use of it that is not authorized is in fact an infringement. The formula constitues a method for doing something, a unique process, and that is something you can patent. Even the people that have simply reverse-engineered the formula (as I foolishly did before I found it posted somewhere!) could be hassled, but I don't think they have the time to go after everyone.

I think it's stupid too, but such is life. As I write this, I'm wondering, if you could find a formula that calculates the same results but is rather different, could you get away with it? I suspect you probably could, but I don't know about you, but *I* don't have the legal (read: financial) resources to find out! That's why I caved so easily when they sent me the CAD letter... I thought it was ridiculous, and had I had money I think I would have fought it, but when you don't have the resources you do what they want I'm afraid.
Well as I said, they can email me whenever they want to, all I did was make a simple program for someone that asked for it. That PCalc application previously mentioned has been around longer than mine, and mine isn't a released piece of software, it was made for one person's private use. I posted the URL because I was proud of my accomplishment, seeing as how I have no such programming experience.
Go Moose!

BTW, If you multiplied the answer by itself and then took the square root, that would be changing the formula, right? Since, technically, if the original number was negative, it would be positive afterwards. (Though I doubt it could be negative to begin with, anything's possible.)

Joke: What do you call 100 dead lawyers at the bottom of the ocean?
Answer: A good start. (I didn't make that up.)
Answer 2: 100 fewer people that need Moose's point calculator. HAHAHA
:? ... my mother, and uncle, and grandfather are lawyers









Don't worry, I'm just playin' ... but they are all lawyers. :D
8O Hey! Who appended that joke to my post? I was framed! I swear, officer... I didn't do it.

LOL Sorry Moose. No more lawyer jokes from me. :D
Thanks a bunch Moose. I don't care what they say about you.... :wink:
I did notice a little problem though. When I enter the information and then hit "equals" , it does not give me a whole number. For instance, I put in 90 calories, 3 fat grams, and 1 fiber gram and it equals
it equals 1.85. The slide rule type of paper calculator that they give you comes up with 2 for those same numbers, as does the calculator at the website that I mentioned in my original post. Do you know why it would do that. I am not complaining, trust me, I am very grateful for this, but you did ask for feedback.
Thanks again,
Tom
Although, if I just round it to the nearest whole number, it seems like it is quite accurate. So, either way it will be great, whether you change it or not.
Again, thanks for the help
Tom
It's because I didn't take the time to find out how to round numbers in VisualBasic. Maybe later today I'll take a look.
Cool. Thanks again
Annoying Snails Master · 03 Mar 2003, 23:41 UTC
you just used eVb? pretty nice, i wouldn't have bothered to make it look nice if it were me... pretty quick, too
It doesn't really look nice... no offense Moose or anything, but I doubt you'll take any.
Snails, if you're not going to take the three seconds to make something look nice then what's the point? Appearance is 90% of everything... that's why Damian can't get a date ... OOOOH, BURNED! :lol:

Damian, it's all about tastes. I think it looks nice because it's nice and tidy. If you close the keyboard then you get information like my email address and such, which is much easier than having a task bar with an about field. I used the space efficiently, which to me makes it look nice. I don't know how you'd be able to make it look nicer, either. The file size also looks pretty nice to me, too, and I don't think a bitmap graphic at the top would make it look any nicer. No offense was taken, but I just don't understand why you felt compelled to tell me that you don't think a simple VB program that consists of a handful of text labels and 3 input boxes doesn't look nice. How would you go about making it look better? I think that the size of graphics is prohibitive, especially for such a simple program as this.
MooseMaster wrote:
Snails, if you're not going to take the three seconds to make something look nice then what's the point? Appearance is 90% of everything... that's why Damian can't get a date ... OOOOH, BURNED! :lol:


:cry:

Actually, that was just a bad picture of me. No, seriously :D

OK, fine, it looks nice... what I meant is that it doesn't look like you spent an extremely long time at it... for some reason, that's what i meant about nice. Not sure why I said that... never mind. I bow down before your powers.

If you want to make it look nicer, use FMV... I heard that works pretty well for many games.
I'd rather keep the file size at 8.5KB as that's more important than some flashy pompous graphics for a program that calculates simple mathematical formulae
Yeah, true. Like I said in my last post (don't know why you bothered posting after me) I understand.
I have been using this program since you wrote it Moose, but now when I try to use it I get the following message:
"There is no application associated with "WatchingWeight". Run the application first, then open this file from within the application".

Any idea why it would do that. I have tried removing the file, then putting it back in, to no avail. It just started doing that for some reason. I have tried soft resetting it, but no luck.

Any ideas?
Tom
You've lost your VB runtimes. Should be able to grab them from PocketPC.com. I can't remember - it's been ages since I've used or made a VB app.
Ya, what sponge said. you need the VB runtimes.
I looked for them at pocketpc.com, but only found files for the pc, not ppc. Am I missing something...?
If you're interested in know, I think this link describes what happened:
http://www.devbuzz.com/content/vbregfix_pg1.asp

If you want to skip to the point, this final page, near the end, tells of how to relieve the problem:
http://www.devbuzz.com/content/vbregfix_pg3.asp
Basically you just install THIS file. But since my program does not have an eVB installation if you uninstall THAT file then all the stuff won't work again. What it does is recreates the file associations within the registry. The VBRuntime files weren't deleted, only the path in the registry that tells WindowsCE where they are. And because someone designed a very poor VisualBasic program all of that information was deleted upon uninstall. If you have access to the registry, or better yet, access to a registered version of Dexplor, then you can set it up manually. If you have Dexplor, I can tell you the exact parameters to use in the Association's Editor right now.
I was able to use VBRegFix and it cleared up the problem. Thanks for taking the time to look up that site with the fix and posting it here. Thanks for your help.
Tom
I'm glad I could help. I'd feel bad if the only person that has downloaded my application couldn't use it :D
James,

Just wanted to say that my wife uses your program and finds it really useful.......So there, that makes 2 people :wink:
8O I'm amazed... I'm truly amazed that there are people that actually use my program. I'm also amazed that it actually works! It's a gratifying feeling... maybe I should get into programming!