Announcement

Collapse
No announcement yet.

VB6 vs VB 2005 Express

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      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.

      Thanks!

      Comment


      • #4
        Guino,

        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?

        Comment


        • #5
          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.
          Ride Runner RR's Myspace

          "Being happy is not about having what you want, it's about wanting what you have."
          "The best things in life are always free - but that doesn't mean money can't buy you good things."

          Comment


          • #6
            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. "

            Comment


            • #7
              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).
              Attached Files
              RideRunner...The #1 FE, PERIOD.

              Current Project: DFXVoice [v1.0 Released]
              Next in line: RRMedia v2.0

              DFX 5.1.1 Skin
              Appstore Link

              My RideRunner Plugins
              RRMedia
              RRExtended
              DFXVoice

              "There are no bugs - only undocumented features."

              Comment


              • #8
                Originally posted by Blue ZX3 View Post
                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
                X,SiriusComm

                But the debug log showed:
                Error loading plugin: SiriusComm (ActiveX 部件不能创建对象)

                部件不能创建对象 = Can not create object

                Comment


                • #9
                  Originally posted by efun View Post
                  Add the line at end of the menu.skin
                  X,SiriusComm

                  But the debug log showed:
                  Error loading plugin: SiriusComm (ActiveX 部件不能创建对象)

                  部件不能创建对象 = Can not create object

                  Fixed. Need change ComVisible from False to True

                  <Assembly: ComVisible(True)>

                  Comment


                  • #10
                    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..
                    Attached Files
                    Ride Runner RR's Myspace

                    "Being happy is not about having what you want, it's about wanting what you have."
                    "The best things in life are always free - but that doesn't mean money can't buy you good things."

                    Comment


                    • #11
                      Originally posted by guino View Post
                      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..
                      Yes, the SiriusComm not worked with X,...

                      The good news is my first VB .NET plugin works well. Here is the code SamplePlugin.rar


                      1. Use 'sn.exe -k' to make a key file
                      2. Choose the key file in project propeties - signature tab
                      3. Open AssemblyInfo.vb, change the ComVisible to true
                      <Assembly: ComVisible(True)>
                      4. regasm /codebase /tlb SamplePlugin.dll
                      Attached Files

                      Comment


                      • #12
                        Cool man, thanks for sharing
                        Ride Runner RR's Myspace

                        "Being happy is not about having what you want, it's about wanting what you have."
                        "The best things in life are always free - but that doesn't mean money can't buy you good things."

                        Comment

                        Working...
                        X