Vb Class Query

  • From: "Marvin Hunkin" <startrekcafe@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 20 Oct 2008 16:43:31 +1100

Hi.
doing a project, where i have two forms, one where i put the class objects, 
and write code to then, put the results of objects in a separate form, and 
to separate the forms, as op class programming for my programming book.
now, did all the code for the class, and that works.
then created a form with text boxes, and buttons.
now, in the code module supposed to put just under the public class 
statement in the code editor.

Private BookSale As Booksale
and getting the following error below:


Error 1 Type 'BookSale' is not defined. 
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterTwelve\Example\Ch12SBS\Ch12SBS\frmBookSale.vb
 
13 21 Ch12SBS

why, and what is the correct code to define a private module level variable, 
to call it from the class module i have defined.
can any one help?
sorry, if this is too basic, but a beginner programmer, and first time user 
of this, and did look for it on the msdn help, but could not seem to find 
any simple examples, all really complex.
so if any one can help, let me know.
cheers Marvin.






__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts:

  • » Vb Class Query