How can I?

When I try to compile it tells me that Language = VBScript is invalid outside procedur.

How can I compile plug-ins in VB 6?

You buy VB6, load it and compile it.

If you’re creating a new plugin, that’s harder. andnbsp;I start by copying one of the samples into it’s own directory, then changing all the names to one I like. andnbsp;Make sure it compiles at this stage, then start rewriting the code to do what you want.

The shenanigans comes from the way VB has a million different files that I don’t understand the point of. andnbsp;And the hard bit of creating a plugin, which seems to be a dll file, is working out the andquot;entry pointandquot;, references between calling programs and stuff like that. andnbsp;If you start from a working sample you miss having to do all that.

Geo

It sounds like you are trying to compile a script with Visual Basic. The format for scripts is slightly different than for plug-ins. There are some plug-in samples in the andquot;3DCPluginsandquot; folder that you can use for the basis of a new plug-in.

Richard

You must be logged in to reply in this thread.

4 posts