Please help with a new/createobject problem...

  • Thread starter Thread starter garyusenet
  • Start date Start date
G

garyusenet

Hi some code im running has the following line on it fairly on in the
code

objApp = CreateObject("actole.database")


now, i want to use New instead but when I try to replace that line with



objApp = New actole.database()


or


or objApp = New actole.database


I get the error that the actole.database is not defined.


Now I thought I had references set up right, but does this imply that I

dont? If so - how do I go about finding out where exactly the
actole.database is that my createobject is using? and how do i add this

in to my project so i can use the new keyword instead.


One reason i want to use New is because I want the intelisene to work!


Thanks,
Gary.
 
Have you added the appropriate Import statements at the top of your
code? Check also the namespace in the wrapper class that was generated
when you added the COM reference.
 
Back
Top