Financial Calculations on ASP.NET forms

L

Leszek

Hello,

I need to do some financial calculations on my ASP.NET forms. Under Visual
Basic it was pretty straightforward - I just used built-in functions such as
PV() (principal value) or PMT().
How can I access those functions under .NET and display them on ASP.NET
forms?

Any ideas?
Thanks,
Leszek Taratuta
 
J

Jacob Yang [MSFT]

Hi Leszek,

Based on my research and experience, the following URLs are useful to you.
Please check them carefully.

PV Function
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/
vafctpv.asp
"...
Requirements
Namespace: Microsoft.VisualBasic

Module: Financial

Assembly: Microsoft Visual Basic .NET Runtime (in Microsoft.VisualBasic.dll)
..."

Pmt Function
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/
vafctpmt.asp
"...
Requirements
Namespace: Microsoft.VisualBasic

Module: Financial

Assembly: Microsoft Visual Basic .NET Runtime (in Microsoft.VisualBasic.dll)
..."

Does it answer your question? If I have misunderstood your concern, please
feel free to let me know.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
L

Leszek

Great!
I am just creating a small application using these functions.
By the way,
Is there any possibility to use them with C#? It is my language of choice
and now I would be forced to create a VB.NET assembly to use in C# projects.
It this a right way to do this?

Thanks,
Leszek Taratuta
 
J

Jacob Yang [MSFT]

Hi Leszek,

Thank you for your update.

In a C# project, please do the following steps.

1. Select Project->"Add Reference...".

2. In the .NET tab, add the reference of "Microsoft Visual Basic .NET
Runtime".

Then we can use the Pmt function like the following in this C# project.

Microsoft.VisualBasic.Financial.Pmt

Does it answer your question? If I have misunderstood your concern, please
feel free to let me know.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top