INTERACT FORUM
Windows => Plug-in Development => Topic started by: llafriel on October 19, 2009, 05:28:12 pm
-
Hi,
I'm getting the above errormessage when I try to start my plugin. It works on the machine where I wrote it, but I get the message on two other machines I have. Searching here shows a lot of similar problems, with the only suggestion to ensure that the progid in the app and registry is the same. That didn't solve my problem. Anyone with any good ideas?
-
I've seen that the debugger changes the file path of the install files. So if you've debugged a system, cleaned the install, you'll probably have to reinstall your plugin.
-
It's the same message on new installs and reinstalls. I'm not sure where to look next.
Innosetup says prodid while vb template says progid. Changed Innosetup to progid but that didn't help.
Innosetup:
Root: HKLM; Subkey: "Software\JRiver\Media Jukebox\Plugins\Interface\AutoMeta"; ValueType: string; ValueName: "ProdID"; ValueData: "AutoMeta"; Flags: uninsdeletekey
VB.Net code:
<System.Runtime.InteropServices.ProgId("AutoMeta")> Public Class MainInterface
-
The link goes to a rar archive with my project. If someone has the time to look at them, and perhaps find what's wrong, I'd be very grateful :)
https://www.yousendit.com/download/Z01OSmI0QTYwMEh2Wmc9PQ
-
The link goes to a rar archive with my project. If someone has the time to look at them, and perhaps find what's wrong, I'd be very grateful :)
https://www.yousendit.com/download/Z01OSmI0QTYwMEh2Wmc9PQ
I ran your setup.exe and MC loaded the plugin with no problems. Could see all your controls, but could not play with any functionality because I don't have an internet connection on my MC computer.
-
Strange, I've tried it on five different computers with the same result.. Hehe, I was more hoping you'd point to an obvious error. I don't understand why it works on your install but not mine?
-
I'm not that savvy with respect to the inner workings of computer systems. Could it be that your computers showing the errors are running an older version of the .NET Framework?
-
As far as I can tell they're all running the same versions. Two of the computers are windows 7 which I suppose has the latest version.
-
I tried it on my machine and it wasn't working there. I tried to figure out why but it had me stumped. However you must have used a different version of VB than me, I couldn't open the project. Is it VB Express? or VS 2008?
-
A very cursory glance...
I "opened" the project, but even after installing the VBpowerpack 3.0, I was still getting errors about the 'shapecontainer' and 'shaperectangle' types not being defined. Try to avoid these powerpack objects if possible, at least while testing...
Also function 'Getstring" is reporting as not returning a vaue from all code paths... do you not get this? As far as I can see, you are not returning a value anywhere in that function...
C.
-
I tried it on my machine and it wasn't working there. I tried to figure out why but it had me stumped. However you must have used a different version of VB than me, I couldn't open the project. Is it VB Express? or VS 2008?
I'm using VB 2008 Express edition. I'll try with VS 2008 I think, and see if starting a new plugin from scratch works.
A very cursory glance...
I "opened" the project, but even after installing the VBpowerpack 3.0, I was still getting errors about the 'shapecontainer' and 'shaperectangle' types not being defined. Try to avoid these powerpack objects if possible, at least while testing...
Also function 'Getstring" is reporting as not returning a vaue from all code paths... do you not get this? As far as I can see, you are not returning a value anywhere in that function...
C.
VBpowerpack? I haven't installed that, it must be standard with vb express?
-
VBpowerpack? I haven't installed that, it must be standard with vb express?
I didnt think so, but cant say for sure - I'm using the full version of VS, which didnt have it...
-
I installed Visual Studio today, the full version, and started with a new template from Mr. ChriZ'. Copied over the code from the old plugin and now it works! Not sure what was wrong, but it seems VB Express perhaps was the culprit. Anyway, it is working now. Thanks for all the help!