Never learned visual basic while in school. Altough i hear its pretty easy.
Never learned visual basic while in school. Altough i hear its pretty easy.
.................................................. .................................................. .................................................. .............Originally posted by: Lego
Never learned visual basic while in school. Altough i hear its pretty easy.
mainva | aptigo | JTD out
You'll need to declare each tax value as a Global Constant Variable. If you're studying VB you should know what I'm talking about. If not, post here.
I think I know precisely what I mean
when I say it's a schpadoinkle day
I know what your talking about, but you mean that I have to declare 50 global constants? And you mean 'const=x' in the general declarations area?
mainva | aptigo | JTD out
Yeah, you will have to declare all the variables. Annoying, but it has to be done for the type of program you're talking about. And it would be:
Const curWhateverState As Currency = 0.23
or whatever the values are.
I think I know precisely what I mean
when I say it's a schpadoinkle day
Oh, well, I guess I have to. Now, about the menu, I have some modules that will allow me to do a Windows-like menu where, if there are too many items, it will shrink and have the arrows at the top and bottom, you know?
Well, I will try to do it with only like 4 or 5 states, to start. Then I will try that extended menu, or a pop-up menu, and then RAR the project and upload it for you if you want to look at it.
mainva | aptigo | JTD out
EDIT: Would I have to put anything new in the code for the calculations? I just tried declaring the four states as Const's, and then ran it, and the tax always comes out to $0.75, even if I use NH tax, which there is none....Hm....
EDIT 2: I just tried declaring tax = mnuTax, and now the tax comes up as the price in parentheses, such as ($14.98) and then says the amount owed is nothing....o_0