Modular Problem!

T

Tohid

I use Webmatrix to develope ASP.NET pages, so, to create a module, I typed
it as a text file and Compiled it via:

vbc /debug /nologo /t:madule /out:bin/TetsModule.dll _
/r:System.dll TestModule.vb

But The class (TestClass) is "not defined" yet! Where am i wrong?
How could i call the module to my page?

The Module is:

Module TestModule
Public m_name As String
Public Class TestClass
Public Property Name() As String
Get
Return m_name
End Get
Set(ByVal Value As String)
m_name = Value
End Set
End Property
End Class
End Module


Regards,
Tohid
 

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,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top