title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Scripting with VB on XP

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

    Scripting with VB on XP

    On the Scripting page, it says that scripting only works for WIN 98 and Win 2K. Should it also work for XP?
  • Spoon
    Administrator
    • Apr 2002
    • 43927

    #2
    Yes XP no problems.
    Spoon
    www.dbpoweramp.com

    Comment

    • Unregistered

      #3
      Then I must not be referencing something correctly. With the following code sample:
      *****************************
      Private Sub Command1_Click()
      Dim Multiplay As Variant


      Set Multiplayer = CreateObject("dBpowerAMP.Multiplayer") ' Create dBpowerAMP Object

      If (Multiplayer.Pause) Then ' Is Paused?
      MsgBox "Paused"
      Else
      MsgBox "Not Paused"
      End If
      End Sub
      *****************************

      I get the following error message:
      "Runtime error -2147024770
      The specific module could not be found"

      In the VB project, I have referenced:
      dMCScripting 1.0 Type Library
      dBShell 1.0 Type Library
      dMCShell 1.0 Type Library

      I am using VB 6.0 with SP 5

      Any ideas?

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 43927

        #4
        Try some simple examples such as .stop and play - first try .vbs files then move over to visual basic.
        Spoon
        www.dbpoweramp.com

        Comment

        • luis_enriquecd
          • Aug 2006
          • 1

          #5
          Re: Scripting with VB on XP

          Necesito que me ayuden: quiero utilizar las dll del dBpowerAMP en un programa de visual basic con el fin de transformar los archivos wav a mp3, es posible???
          y cual el la dll o activex que tengo que bajarme y de donde



          Gracias


          Originally posted by Unregistered
          Then I must not be referencing something correctly. With the following code sample:
          *****************************
          Private Sub Command1_Click()
          Dim Multiplay As Variant


          Set Multiplayer = CreateObject("dBpowerAMP.Multiplayer") ' Create dBpowerAMP Object

          If (Multiplayer.Pause) Then ' Is Paused?
          MsgBox "Paused"
          Else
          MsgBox "Not Paused"
          End If
          End Sub
          *****************************

          I get the following error message:
          "Runtime error -2147024770
          The specific module could not be found"

          In the VB project, I have referenced:
          dMCScripting 1.0 Type Library
          dBShell 1.0 Type Library
          dMCShell 1.0 Type Library

          I am using VB 6.0 with SP 5

          Any ideas?

          Comment

          • Azer
            • Jun 2006
            • 6

            #6
            Re: Scripting with VB on XP

            Originally posted by Unregistered
            Then I must not be referencing something correctly. With the following code sample:
            *****************************
            Private Sub Command1_Click()
            Dim Multiplay As Variant


            Set Multiplayer = CreateObject("dBpowerAMP.Multiplayer") ' Create dBpowerAMP Object

            If (Multiplayer.Pause) Then ' Is Paused?
            MsgBox "Paused"
            Else
            MsgBox "Not Paused"
            End If
            End Sub
            *****************************

            I get the following error message:
            "Runtime error -2147024770
            The specific module could not be found"

            In the VB project, I have referenced:
            dMCScripting 1.0 Type Library
            dBShell 1.0 Type Library
            dMCShell 1.0 Type Library

            I am using VB 6.0 with SP 5

            Any ideas?
            You might be having a problem with you registry, make sure you have the appropriate class references.

            Comment

            Working...

            ]]>