473,396 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Financial Calculations on ASP.NET forms

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
Nov 18 '05 #1
4 3014
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/de...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/de...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.

Nov 18 '05 #2
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

"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:oO**************@cpmsftngxa06.phx.gbl...
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/de...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/de...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.

Nov 18 '05 #3
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.

Nov 18 '05 #4
Thanks a lot!
It was exactly what I needed.

Leszek Taratuta

"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:oR*************@cpmsftngxa06.phx.gbl...
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.

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John Bentley | last post by:
John Bentley writes at this level: If we think about our savings accounts then division never comes in (as far as I can see). We deposit and withdraw exact amounts most of the time. Occasionaly...
4
by: Targa | last post by:
Trying to total some price fields in a form but doesnt work when all the referenced form fields dont exisit. This is for an invoice - pulled prom a database and the form doesnt always contain the...
1
by: chris vettese | last post by:
I'm looking for advice on how to perform calculations on my forms. Iwill try to explain the situation as clearly as possible. I have a form that has multiple sub-forms. Some of these sub-forms...
1
by: (Pete Cresswell) | last post by:
I'm starting on an app part of which will be a port from a humongous Excel spreadsheet and I will have to duplicate some functions. Among them are a couple that sound pretty basic and, I suspect,...
9
by: sr | last post by:
There is a System.Math class that is very helpful I couldn't imagine any next generation framework or language without one a Math class! What is the issue with having a System.Financial class for...
2
by: IntraRELY | last post by:
I know this isnt really a VB question per say, but is what I am developing in VB.NET and Excel is the only place that has provided direction. I wanted to ask the public if perhaps you could lend me...
6
by: Programador | last post by:
I'm getting this error when running this program: Cannot calculate rate using the arguments provided Module Module1 Sub Main() Rate(360, -694.44444444444446, 244274.69178082192) End Sub
10
by: epp319 | last post by:
Hi! i am i trying to make o vb program and i have a big problem. I have a combination of forms into i put some keywords and i transfer data from one form into an other (from text to text or from...
22
by: Rickster66 | last post by:
As Instructed this is a new thread regarding my original post: "Select Only 10 Columns Going Back" I'm sorry for the late response. I've been gathering up information and carefully with as much...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.