setting object variable - TechRepublic
General discussion
August 25, 2001 at 10:56 PM
duke

setting object variable

by duke . Updated 24 years, 7 months ago

i am using an active x dll…
i ‘ve added an inet control in the toolbox
now, i want to make an object of it and use it (by coding only)..
by declaring:
public a as inet

then making a public sub saying:
set x as project.class
x.a.setAccessType = icDirect

and calling this from an standard exe gives the error:

‘object variable or width block not set’

how to set object variable here? (for inet control)
please help me out….
thanx in advance…

This discussion is locked

All Comments