Hi, ... In effect, the Initialize and Terminate events are the constructor and destructor, and the VB runtime will fire the Terminate event for any variable...
Fair enough, i think i understood just about all of that except for the following part ... What do you mean by disabling creation of new object instances...
Public Function MakeThing(ByVal strName As String) As clsThing Dim objNewThing As clsThing Set objNewThing = New clsThing objNewThing.Name = strName Set...
Hi, ... I only meant that it would be useful to restrict creation of new objects to the factory method, so that only properly initialized instances can be ...
Hi, ... Sorry, my fault for saying something not-quite-correct. VB *dereferences* the object when a reference to it goes out of scope. VB fires the terminate...
... Exactly. VB classes defined in a DLL can be made to require use of a factory method by setting their "Instancing" property to "PublicNotCreatable". ...
Sure thing, Andrew. Here you go. The first code displays an error code in a dialog box. Note the use of the EXIT SUB after the main sub block. You need to...
As usual, your post is insightful, Adelle. The strength of my position comes from the (dubious) approach implemented in .NET, whereby there is an inderitable...
Oh, and I should probably add to the list: Middleby: (NASD: MIDD): This oven maker, whose stock has about doubled each of the past 3 years, is down about 11%...
To all, Thanks everyone who replied to my posting. I need to sit down and read them and contemplate them before I can post any questions. Again, Thanks. ...
All, My newest task is to provide my control (Which includes a Keyboard screen) for use and distribution in multiple languages. Can anyone provide a link or...
I have a question that I was hoping someone could help me answer. I have a main form (frmMain) that I use to display fields from a database (db1.mdb). I...
To all, I have a problem and I am not sure how to solve it. I have a series of test boxes on a form, call them txt(0)-txt(9), and I am using boolean values...
Brian, Off the top of my head Select case index Case 9 'Do something mbNoteUpdate = True Case 0 to 8 'Do Something Else If mbAddNew = True then mbRecSelect =...
Hi Brian, There is a VB-6 example that uses ADO in this Group's Files Section, and it is available for downloading as a Zip file. The mechanism is the same. ...
Hi, ... I think my posts on this subject came across as being more prescriptive than I intended. My approach works for me because it fits in with the rest of...
Not at all, Adelle. Your ideas, and thoughts/practices are simply based on a longer context than are most of ours... Exploring them with you is a pleasure:)...
All, I have a question about Windows XP and ADO. I have code that works fine on a Windows 2000 box, and returns err = 0 on XP. I have tracked down the error to...
All, A short time ago, we were talking about Brian's 'Time Machine'. Everyone appeared to be downloading it as well as the OCX's that it used. Has anyone tried...
Hi, I am able to upload a .txt file to a FTP server but not .jpg files using the Internet Transfer Control. I am using VB6. For the Text file I am using for...
All, in regards to errorhandling, My error handler basically reports the issue and logs it to a file in the application directory. The error rporting...
All, Also as promised, here is a copy of my error handler for undefined errors. 'Normal procedure with the error trap in it... Private Sub Form_Unload(Cancel...
Joe, Thanks for posting your error handling technique. Now comes the fun part of trying to decode it. :P I will probably get a headache trying to figure out...
To All, Is it possible to build a query with an index? On one of my forms I am using combo boxes to display information from a related table when users are...
hi, Do you have any clue how to switch to binary mode. when i use ftp-le, etc you can choose ascii or binary mode. you have to send pictures in binary mode. ...
Hi, Based on what I have been able to determine, you can only specify binary when downloading a file. At first, I thought the problem was that I had to upload ...