1 Attachment(s)
[RESOLVED] I need a simple program
Hi guys,
I know this is a simple program but I really don't have the time to learn ...
If someone can make it for me and I'll edit it to suit my need I appreciate it ...
for examble I enter 5 then choose first option it would show the answer 10 ...
if I choose last option and put two numbers the answer will be Number*(A*B) or Number*(A/B) depending on what I choose on the right ...
Thanks in advance, I appreciate it ...
Re: I need a simple program
I'm using Visual Basic 6 if that matters ...
Re: I need a simple program
hi wolf please post your question in VB 6 Forums ........
http://www.vbforums.com/forumdisplay.php?f=1
Re: I need a simple program
You are in the wrong part of the forum, but the project is SO simple that it looks like homework, which we certainly won't do.
Re: I need a simple program
I see that now and I apologize for that ... please delete the thread ...
By the way, it's not homework ... I never used Visual Basic and I need to calculate a lot of numbers which is hard to do manually ...
Re: I need a simple program
This part of the forum doesn't work that way. You may want to visit the Project Requests portion instead
There are also other sites where you can hire someone to do it for you
Re: I need a simple program
In that case, I still might not use VB. Consider using Excel. The problem you have described is simple enough that you could build the equation into Excel. You might need to have two or three columns, but it would be possible, and it is FAR easier to enter numbers into Excel than to use an app like that.
The first column would be the number you enter. The next column would be the first multiplier, and the third column would be the second multiplier. The third column would be 1, by default. Therefore, for the first option, you would enter the number in column 1, the multiplier in column 2 (either 2, 3, or 4 based on your example), and you would normally leave column 3 alone. In the fourth case of your example, you would enter the A value in column 2, and the B value in column 3.
That leaves only the mult/div option. A fourth column and an If condition in the equation could handle that. It would multiply if the fourth column was 0, and divide if the fourth column was 1, or something like that.
Re: I need a simple program
Thank you very much for your reply, Excel never occurred to me, and thanks for the detailed answer ...
I still need a stand-alone program but Excel should do for now ...
Re: I need a simple program
Quote:
Originally Posted by
LaVolpe
This part of the forum doesn't work that way. You may want to visit the
Project Requests portion instead
There are also other sites where you can hire someone to do it for you
+1. Plus, OP has other problems already. What is A and what is B? What is the numerator and the denominator if dividing, or what is the multiplier and the multiplicand if multiplying? Based upon what I see, the number being entered could apply to any of these. Is 2 an automatic value that is hidden somewhere?
Re: I need a simple program
I apologize, this is the second time I post in the wrong part of the forum, pleas delete the thread ...
As for your question regarding the program ... A and B are numbers the user input if he chose the last option, for example if he entered 1 in the first box and choose last option and put 2 and 3 in the boxes the answer should appear 1*(2*3)=6 or 1*(2/3)=0.667 depending on what he chose ...
The program is meant to calculate ratios and I made it in Console put if I can have it Visual Basic it would be better ...
1 Attachment(s)
Re: I need a simple program
Here is your code. Next time don't be an a** and post on every single forum.
This seems like homework to me, so please read and understand the code for your own good.
External Link: http://www.mediafire.com/?026k7yj9p2w6931
Re: I need a simple program
Thank you very much and sorry for the trouble ...
The a** part really wasn't intended, don't you just hate newbies ...
Re: I need a simple program
Thank you very much and sorry for the trouble ...
Re: [RESOLVED] I need a simple program
The reason for that was because this seemed like homework and you weren't taking the time to make it urself. That's all.
Re: [RESOLVED] I need a simple program
It really isn't, now that I'm reading my post again it does seem like I'm a lazy a** ... I guess you can't read voice tone after all ...
If I'm having a class for this I wouldn't need help for such a code, I just put simple numbers for simplification, I'll edit it and add more features, just needed the basic code. Thanks again ...
Re: [RESOLVED] I need a simple program
duplicate threads merged, and moved to the "Project Requests" forum