Visual Basic 6.0

  • Thread starter Thread starter Ted Strawser
  • Start date Start date
T

Ted Strawser

Anybody out there know of:
1) A VB Function that will convert a logarithm to a
number;
2) Or how to make a command button part of an array
(or group) so that any command button clicked will create
a single event and pass the index along to the event-
handling function?

Ted Strawser
 
Ted Strawser said:
Anybody out there know of:
1) A VB Function that will convert a logarithm to a
number;
2) Or how to make a command button part of an array
(or group) so that any command button clicked will create
a single event and pass the index along to the event-
handling function?

Ted Strawser

1) Do you perhaps mean the LOG function?
Log Function

Returns a Double specifying the natural logarithm of a number.

Syntax

Log(number)

2) Yes, set the buttons Index property (NOT the TabIndex) to 0 or
greater. This makes it a control array

3) You should ask VB related questions in one of the many VB
newsgroups... This one is intended for general problems with Windows XP

HTH

Lorne
 
-----Original Message-----



1) Do you perhaps mean the LOG function?
Log Function

Returns a Double specifying the natural logarithm of a number.

Syntax

Log(number)

2) Yes, set the buttons Index property (NOT the TabIndex) to 0 or
greater. This makes it a control array

3) You should ask VB related questions in one of the many VB
newsgroups... This one is intended for general problems with Windows XP

HTH

Lorne




.
Thanks for the Index tip, Lorne. I'll give it an
immediate try. Sorry, couldn't find a VB newsgroup.
About the LOG(number), I'm looking for a function to go
the other way, number(LOG). Will continue to look for
a VB newsgroup.

Thanks again, Ted
 
Ted Strawser said:
immediate try. Sorry, couldn't find a VB newsgroup.
About the LOG(number), I'm looking for a function to go
the other way, number(LOG). Will continue to look for
a VB newsgroup.

Thanks again, Ted

Instead of using the web based newsgroup interface, if you setup the news
server msnews.microsoft.com in Outlook Express and download the list of
newsgroups, you'll quickly find dozens of VB newsgroups...

As for the opposite of the LOG() function, is this any help? I'm not an
expert when it comes to math functions...

Exp Function


Returns a Double specifying e (the base of natural logarithms) raised to a
power.

Syntax

Exp(number)

The required number argument is a Double or any valid numeric expression.



Lorne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top