Problem in RDO(Remote Data Object)

I am doing one project for saving images in database by using RDO.I am using CHUNK method of RDO to save image in binary form.
my code is simple

Line No 1 : dim en as rdoEnvironment

Line No 2 : set en = rdoEnvironments(0)

But while running programme it shows me error for second line.
"ActiveX Control can not create object"

But it gives this error on some specific m/s.On some m/s it works fine.

I want What may be the resone for this error.

a_padwalAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
0
 
OtanaCommented:
shouldn't you use:

set en=new rdoEnvironment first?
0
 
a_padwalAuthor Commented:
Thanks
I got right answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.