• 0

[VB.NET] Creating Components (DLL)


Question

Hey,

For my program The LBlueCalculator, I want to put all the surce code for the estimator feature in one dll, so in the form just put something like:

textbox1.Text = lbcal.estimator("1024", "MB", "1024")

I have search on MSDN, I found one thing (http://msdn.microsoft.com/library/default....mponentsnet.asp) but it doesn't show me how to do this:

textbox1.Text = lbcal.estimator("1024", "MB", "1024")

Only this:

textbox1.Text = lbcal.estimator()

Thanks for any help you can give me... :D

Link to comment
https://www.neowin.net/forum/topic/258444-vbnet-creating-components-dll/
Share on other sites

2 answers to this question

Recommended Posts

  • 0
  weenur said:
Assuming that estimator is a method of a class, then you'd just add arguments to the method.

Public Function Estimator( ByVal x As String, ByVal y As String, ByVal z As String ) As String
' your estimator code
End Function

585117631[/snapback]

Cool, Thanks!

You are the best! :D

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.