VB6 vs VB 2005 Express
I am trying to make a few changes in the weather plugin in order that it works behind a proxy.
I went to the microsoft website and they don't offer Visual Basic 6 anymore. The only product I saw was VB 2005 Express. This IDE is free. I'm not sure VB6 is/was. Well, I tried to open up the Road Runner project but it's saying that it needs to migrate the project to a .NET style. It starts to migrate but ends up stopping cause it says it can't find certain .dll's (which I found were actually in the RR source directory).
So my question is: Will RR be migrated to the new VB OR is there a way I can obtain VB6 so I can work on it?
Pretty sure you'd have to buy a copy of it (even if 2nd hand). I work with it, so always had access to it. .NET however is just way below my standards of performance and minimal requirements, so I have no plans of going into it. However, you can still make plugins for RR in .NET (or any other language). But if you want to alter the current sources/plugins I'm afraid you'd have to get VB6.
Should be possible to import it, but I'm sure you'll have a hell of a time converting API code and such that isn't accepted in the same manner in .NET
Well thanks for the quick reply. I was afraid of that response, though.
I will try to use the weather code and build a plugin in .NET that I can use with the default RR.
Do you have to "regsvr32 pluginname.dll" for every plug-in?
Is there a way to un-regsvr if we dont' use the plugin anymore?
you have to register it cause that's how COM objects work.
you CAN unregister using the same command with a /U as the parameter.
How to use the DLL developed by VB .NET? Error showed when using regsvr32.
"Dllname was loaded, but the DllRegisterServer entry point was not found. "
As far as i know about .net, you can't use the "regsvr32" on the dll's. Instead you'll need to use "regasm /codebase /tlb <filename>.dll". If you installed any of the .net plugins (HDRadio,SiriusRadio,XMRadio) look in their plugin folders and you'll see a "regasm.exe" and a "RunMefirst.cmd". If you open/edit the runmefirst.cmd file you will see how to use it. I've also included one from the installer here for your added convenience(aka spoon feeding).
Add the line at end of the menu.skin
Originally Posted by Blue ZX3
But the debug log showed:
Error loading plugin: SiriusComm (ActiveX 部件不能创建对象)
部件不能创建对象 = Can not create object
Originally Posted by efun
Fixed. Need change ComVisible from False to True
That SiriusComm was not an extension plugin it's just an example of DLL with a COM object used in VB6... so it won't work with X,...
There's a sample extension plugin available in C# ... it would probably help to look at it (attached), but it's good to hear you got it going..