hi everybody,
i want help from u people . as i am going to have a project.
can u people tell me
are u going to help me in that project.

holly and Q veen plz tell me please
i m waitnig for ur reply..

sweet0

Dani AI

Generated

Brief context: is doing a college project for a scientific calculator; kindly supplied a ready example, while reminded everyone that reimplementing parts is the best way to learn and reminded about keeping posts in English. The posts show the scientific part fails in the supplied project — the following is a compact, practical checklist and design guidance to get those functions working and to learn from the task.

Keep UI and calculation logic separate: design a small calculation engine (a set of functions or a parser that returns numeric results) and let the form only handle input/display. Typical scientific features to plan: operator precedence and parentheses, trig (with a degrees/radians toggle), exponent, logarithms, square root and domain checks, factorial for small integers, memory slots, clear/backspace, and predictable rounding/precision behavior. For expression parsing, a token-based approach such as the shunting-yard algorithm is a reliable choice (shunting-yard algorithm).

Debugging checklist (use these to isolate the failing scientific code):

  • Build a tiny test harness: one button and one call for each scientific routine to verify results independently.
  • Verify event-handler wiring and control names in the IDE; mismatched names are a common cause of “non-working” buttons.
  • Check numeric parsing and locale issues (decimal point vs comma) when reading textbox values.
  • Confirm numeric types: use floating-point (Double) for trig/log; integer types will truncate or produce unexpected results.
  • Guard domain-sensitive calls (log, sqrt, asin) and show or log exceptions rather than swallowing them.
  • Add simple logging or message boxes to display intermediate values and catch where calculations diverge.

When asking for help later, include the Visual Basic version (VB6 vs VB.NET), exact error text, the failing function name, and a minimal code fragment that reproduces the problem. Official math references such as System.Math are useful when choosing functions and understanding edge cases.

Recommended Answers

All 11 Replies

yar i forgot to write that my project is to make a calculator on
VISUAL BASIC..

Hi Sweety,

This Form is for u..
Down Load this attachment.
if there is any problem, let me know

Regards
Veena

hi veena thank u so much for the code . yar but the problem is i want
for scintific calculator.
aur is code mei bhi kuch error tha.
tomoro i will tell u the error ok

bye take care

Hi,

Download from this link

Regards
Veena

Hi,

Download that Zip file And Goto Project Properties -> Make
StartUp Object = scientific.

its a good code.. No need to Re-Invent the wheel

Regards
Veena

Hi,

Download that Zip file And Goto Project Properties -> Make
StartUp Object = scientific.

its a good code.. No need to Re-Invent the wheel

Regards
Veena

Excuse me, but if you give them code to a project they want to do, how can they possibly learn how to program? All code that people learn from has already been written. Why did you invent the wheel when there were many other calculators available? Including mine? ;)

And people (everyone that has posted in this thread), please read this section of the DaniWeb RULES.

yar veena although i have a calculator but this is my college
project. rememeber that i am student . thats y i have to do
suc things.
listen veena where should i write.
startup obect = scintific.

there is sum problem. i have downloaded the code from the
site but the problem is this there is a code of a scintific calculator
but the portion of a scintific calculator is not working.
tell me what should i do now..:rolleyes:

BYEEE..

Hi, sweety,

u r not supposed to write any start up object..

Just goto menu Project -->> Project Properties -->>
In First Tab there is Start-up object.

But, what WaltP is saying is right.. u will have to try and do it yourself.. if u get stuck some where , then post here, anyway we are here to help you. Dont worry, Whatever may be the complications, one of us here will help you.

I saw your New Thread is Closed.. problem resolved or what?


Regards
Veena

Regards
Veena

But, what WaltP is saying is right.. u will have to try and do it yourself.. if u get stuck some where , then post here, anyway we are here to help you.

WaltP also said "please read this section of the DaniWeb RULES."

I saw your New Thread is Closed.. problem resolved or what?

No, it was a disregard of the Rules (and arguing with the Moderator). She can post again with a proper question as the DaniWeb RULES state.

hi veena thank u so much for the code . yar but the problem is i want
for scintific calculator.
aur is code mei bhi kuch error tha.
tomoro i will tell u the error ok
bye take care

You should keep in mind that this is an international forum where people form different parts of the world come to gain some knowledge.

Please don't talk in any other langauge other than English since not many people understand Hinglish here (hindi + english). Read the rules as suggested by Mr. WaltP.

hi i m going to start my solving problems. no they are not solved yet.
i will contact u and other people if i got any problem.

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.