Wil,
Many thanks for the reply and email. I now fully understand how the implements model is designed to work. This has certainly cleared things up and I think I know how to make the necessary changes... No doubt I will get stuck again though...
Jason.
Dear all,
I am having a problem writing a few objects in VB. I have created an "interface" class containing a few public routines. I am trying to achieve polymorphism in VB so that each of my classes that "inherit" (using the Inherits statement) some standard functionality...
Wil,
Thanks for the info - sorry for creating another thread - they are pretty much identical. Could you just clear up for me what you mean by the "embed and wrap style" and how I go about programming it.
TIA,
Jason.
Dear all,
As far as I can see the implements statement in VB allows you to specify a prototype/interface for a class and nothing more unless you deal with the call in the class that inherits the code and then call the code in the inherited class.
What I need to do is this: I want to be able to...
Dear all,
I am writing an ActiveX DLL that conatins objects for accessing a database. The hope is that it will ultimately provide a set of objects for developers to use when writing applications that integrate with our system.
So far I have organised it thus: Each object contains properties...
Montrose: Thanks for the great advice (many-tomany relationships using one table to store all IDs).
Can you (or anyone else!) help me with one more thing... I am writing a database in Access, then a layer of objects in VB to make using my database and writing applications for it much more...
That is EXACTLY what I needed to know. MANY thanks. Seems a bit of a complicated way to implement it - but then again Access always manages to surprise me...
Dear all,
I have the following four tables: Contacts, Companies, Addresses, TelephoneNos. They all have autonumber ID fields and are all joined to a table called Link which itself has an autonumber ID.
I want to be able to join say: ContactID and CompanyID. Then another row with a ContactID...
In VB is there anyway of telling WHO created "this" instance of an object? ie: Was it publically created or was it created by a friend? Short of adding a friend property that can set a flag to indicate whether or not this was the case?
Dear all,
Can someone tell me if it is possible to alter the visibility of the methods in an object (public/private) according to the state of the object? Or do I just have to put code to handle this in each method?
eg: When the connect method is called in my object I would like to add extra...
Hosting the database on a server across a network is not recommended as a bottleneck will almost certainly occur when the ODBC tries to access the data (at least for the first time - caching and connection pooling may help out later). If you are looking for HIGH performance, put the database on...
Dear all,
I have disabled relaying in Groupwise 5.5 and understand that the Groupwise SMTP server accepts messages for posting from anyone who connects to it without challenging them and forwards them to the postmaster as undeliverable items. It would seem to me that over time people have come...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.