I'm trying to execute a VB DLL under Visual Interdev using VB Script. I have a code like this:

Dim objUsuario
Set objUsuario = CreateObject("XXX.User")

I've used the same code under VB and there's no problem. But when I try to use it over Visual Interdev I got the message:

<Permission denied: 'CreateObject'>

On VB I have to set the reference to the Object ("Project, References"); should I do the same for VI?

Why do I receive this message? Should I set some special kind of permission?

Thanks.