|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
VB Classes
I'm a pretty experiance c/c++ and php programmer, but am just start a project in visual basic. I have some questions about classes in visual basic: How do you creat a constructor, and how do you return an object from a function?
__________________
--Tantapants |
|
#2
|
|||
|
|||
|
Code:
Private Sub Class_Initialize() 'constructor code End Sub Private Function MyObject() as object set MyObject = theObject End Function |
|
#3
|
|||
|
|||
|
Thanks very much.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > VB Classes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|