Quote Originally Posted by carpboy View Post
ActiveX component can't create object.
This is in form_load, looking to see if the database exists.
Yes, that's the error one gets, when vbRichClient5.dll is not (yet) properly registered
per regsvr32.exe on the developer-machine in question.

Quote Originally Posted by carpboy View Post
I have all the dll's present and, reading your post, again started playing with them. The problems I was having prior was when I would try to register vbrichclient5 it kept telling me that it found the file but couldn't find the entry point. I must have done this 6 times. I then moved the dll to \system32 and tried registering it there and that failed with just a generic 'couldn't find module' message.
That's IMO related to the requirement (which was pointed out on the download-page),
that the 3 Dlls of this MiniFramework need to be kept together in the same Folder.

Isolating the vbRichClient5.dll from its "satellite-companion-dlls" will make registering-
attempts fail, because of a "non-delayed-load-dependency" to vb_cairo_sqlite.dll (due
to a internal typelib that is).

Quote Originally Posted by carpboy View Post
So in good faith to your efforts of explaining all this I reattempted as you directed, including registering it in the project folder, and it worked just perfectly fine this time.
Glad it's working now.

And you don't have to place the 3 Framework-Dlls in the ProjectFolder of a certain Demo-Project -
just in *some* fixed Folder on your Dev-machine, where you want to place "shared COMponents" -
e.g. I'm placing the 3 Dlls on my Test-VMs on C:\RC5\... - followed by registering the
vbRichClient5.dll within that C:\RC5\-folder. That should be it - and you can forget about the
framework then (until you are in the phase of preparing a Setup for Redistribution).

All the Demo-Downloads (any Demo-download which depends on the 3 RC5-Base-Dlls)
will work directly from e.g.: C:\DemoDownloads\SomeSQLiteOrRC5Demo\Some.vbp, ...
so there's no need, to place any framework-Dlls within those Demo-Folders - and also no
need to place the RC5 framework-Dlls within System32 or SYSWOW64.

Since your memory is still fresh - and there seem to be others as well, who were stumbling over the
installation of the framework-libs (reporting the same "Error": [ActiveX component can't create object]... -
what do you think I should change on the WebSites Download-Section, to make the first
installation-attempt more successful for "RichClient-Newbies"?
Is the placement of my installation-advice on the site too small (or otherwise not prominent enough) -
or is the wording not entirely clear - any advise is welcome to make it easier for the "next guy".


Olaf