Languages Visual Basic & VB.NET Visual Basic Object Oriented Programming (OOP)  

Constructors In VB5-6

download download  
important code information
author:
Maxim Konstantinovski
minimum requirements:
Constructors In VB5-6 description

Here is the project that will allow you to simulate constructors in VB. Meant for ActiveX DLL/EXE use. In your DLL you have to add Class ant set it as “GlobalMultiUse” (in EXE I think it’s better to se to “GlobalSingleUse” I have to do some testing). Not you can add you classes to DLL and implement constructor in Global class. I’m attaching a project as a sample. One more thing you can set you class “PublicNotCreatable” it will force any one who want to create a instance of you class to use constructor function. Also if you don’t want to expose class constructor functions set it as friend instead of public. Thank you. Max


File List:
DLL/0b
DLL/CPoint3D.cls1Kb
DLL/GConstructor.cls1Kb
DLL/MyConstructor.vbp1Kb
DLL/MyConstructor.vbw72b
EXE/0b
EXE/ConstructorTest.vbp1Kb
EXE/ConstructorTest.vbw47b
EXE/frmTest.frm1Kb
Group.vbg84b

Similar code
Create objects without registration (Popularity: ) : This is not my code it is a code made by [rm_code]. This code will allow you to create objects without registering the dll or ocx first! You simply call CreateObjectFromFile and the code will turn it into an object. ...
General Card/Card-Deck Class an example (Popularity: ) : The Classes Card.java and Carddeck.java can be used to create applications with playing cards. I created a BlackJack game for an example
Auto Generate Form Code (Popularity: ) : This code automatically generates form code. This is a very simple example illustrating concept only. Browse to the form with textboxes on it and click on the convert button. Add the auto generated coded form to the project(remember to save) ...
An Easy OOP Script Engine (Popularity: ) : Simple scripting language using classes. Uses callbyname function to run a classes methods. This allows for very fast parsing, because there is no IF Then or Case statements. Create a class module with the functions that you want in your ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 37
version
size in Kb 3
popularity   912/7913374
user rating 4/10
ad


New Code
Popular Code