Math (urgent)

Dear Experts,
   I am trying to make a function that, when called, spits back the sin, cos, tan, log, and sqrt.  I need to do this WITHOUT the VB functions because those are slower than needed....Any help would be appreciated.  Thanks!
TrEaSoNAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

danelroismanCommented:
Create DLL with "C" ecported functions of library <math.h>

If you not so familiar with C and C dll -  write a comment.

Daniel
0
TrEaSoNAuthor Commented:
Unfortunately, i am not familiar with C
0
TrEaSoNAuthor Commented:
I would rather do this through actual VB code.  If you respond though with how to do the whole C stuff..i'll give you the points.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

pear49Commented:
As a matter of fact, because VB does not give direct access to the system, it is not easy to use VB to write the code to be faster than the VB functions. What could be done is to use some other language to write the function and put it in a dll or something similar and import it into your VB code.
0
danelroismanCommented:
Give me your email - i send you the Dll.


Daniel
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TrEaSoNAuthor Commented:
c0mpguy2@aol.com.   Could you please include some sort of instructions on how to use it too?  Thanks.
0
pear49Commented:
hi danelroisman,

do you happen to receive any response from TrEaSoN?

It seems that I had not received any response from him (or her) since answering his question, and giving comments on some of the unclear points.

I just want to check with you. Well, it seems that TrEaSoN had posted two questions on the same thing (one 300 points and one 200 points)

http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10290785 
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10291021 

Either this is a homework assignment or what...because there is another similar question worth 1400 points

http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10292483 

The above question is posted by xTrEaSoNx, which asked for basically the same thing.

I answered a question of his made in his comment on February 08, before he made his comment in the other question (i.e. Q.10290785), which makes me wonder why he didn't review the other question either? Or is it he had nothing much to say?

Since this question is asked by more than one person (xTrEaSoNx & TrEaSoN), there are grounds to believe that this is a homework assignment. Is there a policy against homework assignments?

This is what TrEaSoN says with regard to my answer:
"Could you possibly give me a start so I have something to model off of?"
This is what xTrEaSoNx says:
"Because there are so many formulas being thrown out here, I need a firm start in actually writing the code."

Well, xTrEaSoNx asked his question on February 09, just a day after TrEaSoN made his comment. The coincidence of the two names really made me ponder, as well as the similarity of the two questions. Look, even the letters are the same. This really do look fishy, but I will not made any accusations. I am just pointing out the rare coincidence.

Now xTrEaSoNx has a deletion request pending, just when someone had answered his question quite well.

Hence, I would like to know whether he had responded to you.
0
pear49Commented:
Well he responded...finally
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.