By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

Please help with a new/createobject problem...

P: n/a
Hi some code im running has the following line on it fairly on in the

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 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!

Mar 24 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
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.

Mar 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.