I explain what I have so far and what I am trying to do. A previous expert got me to the 5 yard line with my project. I now just need to get in the endzone.
MainProject standard exe
ElectTestProject activeX exe
SingletonProject activex exe (use to share global vars between Main & ElectTest)
Singleton class ( consists of global vars such as:)
public voltval as double
public currentval as double
public Conveyor_Motor as clsIO
public Buzzer as ClsIO
public EStop as ClsIO
ClsIO class (consists of public properties to take place of Type Def)
public property get board as integer
board = mboard
public property let board (byval Newvalue as integer)
mboard = Newvalue
etc. for mPort and mBit
So, for instance, Conveyor_Motor.board OR .port OR .bit
The following lines of code causes "Object variable or With block not Set"
SingletonProj.Singleton.Conveyor_Motor.port = 1
SingletonProj.Singleton.Conveyor_Motor.bit = 32
The same following lines of code causes "Object variable or With block not Set"
The object list boxes show up ok to set up instruction in both projects, but don't understand error.