Hi! I was having trouble testing a new “Chilkat” plugin I’m developing, so I decided to
do a walkthrough of installing and using an existing 3rd party plugin. I had the same trouble,
so I then decided to try to use the pre-installed Oracle plugin.
I do this:
1) Start Xojo
2) Create a new desktop project
3) Create an "Open" event for the default Window1
4) Add this line of code [b]"Dim db as OracleDatabase"[/b].
Note that Xojo's auto-complete fills in the word "Oracle" and when TAB is pressed, I see the valid choices.
So Xojo seems to know about the type.
5) I run the code (which should do nothing), but I get this error for the Dim statement:
[b]"Can't find a type with this name"[/b]
Am I missing something simple? I’m thoroughly baffled up to this point…
Thanks Dave! My question wasn’t really about Oracle specifically, but for any plugin. For example, I downloaded one of the Demo plugins from Einhugur, and get the same error. I get the same behavior w/ the plugin I’m developing – Xojo can recognize the name, but then fails with that error when I try to run.
I notice you are using the IDE on Windows. Is it possible that you have closed the Xojo IDE project windows, but left the IDE running as a systray item? Opening Xojo again will simply reconnect to the running app and will not load the plugins again.
Thanks everybody, I really appreciate it. On a fresh Windows 10 computer it works. On my main development system, it’s a no-go. Maybe Wayne is correct… I did see Xojo loading the plugins as it starts though (because the names of the plugins are briefly displayed when Xojo starts).
I did upgrade from Xojo2015r2.4 to Xojo2015r4 recently. I’m going to try a reboot to see if that solves it. (Now I’m starting to sound like a newbie thinking a reboot is the magic bullet…
If it is on Windows then dont install the e-CryptIt Engine - Legacy part. That one never makes sense on windows and only contains old Mac encodings like macBinary, Applesingle, BinHex, etc, things that do not belong on Windows. (and for 99% of people it does not belong on mac either in the year 2017).
So thats one thing I can hint to you on the issue you have. If it will solve the case for you or not I do not know.