How to Register an OCX File

If you are receiving errors about an ocx file, registering the file may solve the problem. To register an ocx file simply follow the simple steps below.

  • 1.Locate the file using windows explorer or My Computer. Alternatively search for the filename.
  • 2.Hold down the shift key and right click on the file. Then click 'Open With…' from the menu.
  • 3.An 'Open With' dialog box should appear. Click the button 'Other…'.
  • 4.Navigate to your windows\system32 directory and select the file 'RegSvr32.exe'. Do a file search for it if you have trouble locating the exact folder. On Windows 2000 it is typically located in c:\WINNT\System32. Click Open to select the file. Then click OK on the 'Open With' dialog.
  • 5.You should see a message indicating the file was successfully registered. If you see an error message, try restarting your computer and going through the above process again.

Writing a Custom Control for Visual Basic

First Phase is always looking for example code to allow untangling very poorly written explanations.

Variable Visibility

You can pass variables / objects back and forth between a Visual Basic Form and a UserControl.  This archive has source code showing you how to do this:

     Scribble.zip 

 

You can make properties for the following things: Forms, UserControls and Class Modules. Basically any element that will behave as an object.

When to use properties?

Properties are handy when you want to generalize your code: if you're changing a setting of something, it might be better to create it as a property. Especially if you might have a need to get a return value as well. The property code can then do some additional stuff, such as switching form's menu items automatically to correct value, so you don't need to do it from whereever you set the property.

Property Passing

This accesses a property of the Custom Control

Parent Form Custom Control

 

ParentForm.Caption=UserControl1.Caption  

Dim m_Caption As String

Public Property Get Caption() As String
   Caption = m_Caption
End Property

 

……..more

Visual Basic Error Codes and Messages

 

Feed me only good things or I will crush kill destroy.

 

 The information in this article applies to: – Standard, Professional and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0
 
Trappable Errors for Visual Basic 4.0
————————————-
 
3     Return without GoSub
5     Invalid procedure call
6     Overflow
7     Out of memory
9     Subscript out of range
10    This array is fixed or temporarily locked
11    Division by zero

…….more

Google Chrome Simon – Try to remember the sequence of the colored lights and tones of your browser

         

           

Was I not supposed to see the similarity between the google chrome browser symbol and the old Simon game?    Does it help to smoke a little pot before using Google Chrome?  It certainly did with Simon.   In college I used to put the speaker to my ear and go solely by sound and worked the buttons like lightning. 

The Gus Hall Dossier – The Drollest Communist

Update many years later:  All we get a choice of is either Bolshevik or Zionist.   Reagan was called "Red Ronnie" in the 1950s

I remember watching Gus Hall on one of the UHF channels near Youngstown Ohio when I was a child.  Gus lived in the Youngstown area for quite a long time.  His show would come on and he would groan on in a way most boring to a child.  In contrast I remember how Reagan caught and kept my attention when he narrated "Death Valley Days" prior to being elected governor.  Even then I could tell on some visceral physical level the difference between a socialist and a capitalist.  Socialist don't seem to have much of a sense of humor.  I wonder if there is a tendency towards basic chemical depression in socialists. 

                                                           Does not appear creative, witty or comical

I am currently searching for video of him to prove my point that Howard Dean and he share some subtle demeanor.  After all they are both communists.   I found a page here with video that might have a sliver of him on it.

Note the title of his book:  Ecology: Can We Survive Under Capitalism?

Its all about how we capitalist class are killing the world.  Never mind that we are all a member of the capitalist class whether we like it or not and only leave it upon death.  But then these environMENTAL cases do an advocate environmental death lottery.

If you want to see a load of doo doo Google the title of Gus's book.    Notice all the stuff about radical ecology where YOU are the criminal.  With ecology as their basis the radicals can do anything they want !   All that much better than picking on people because they are Jewish. You might run out of Jews.  But with radical environmentalism you never run out of people to demonize.  See someone you don't like?  They must be eco-criminals!