Link to home
Start Free TrialLog in
Avatar of a_padwal
a_padwal

asked on

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.

ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Otana
Otana

shouldn't you use:

set en=new rdoEnvironment first?
Avatar of a_padwal

ASKER

Thanks
I got right answer