Run time error '429' ActiveX component ...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Run time error '429' ActiveX component ...

  1. #1
    Mark Guest

    Run time error '429' ActiveX component ...


    cant create object" error

    I am getting the above error when I run the executable on an other PC( Other
    than the one I wrote the code on)

    I have MDAC2.1 installed on the PC. The code (which simply moves a file)is
    ;


    Public Sub Main()
    Dim objfile As New FileSystemObject

    objfile.MoveFile "c:\temp\fred.bat", "c:\temp\temp999\"

    End Sub

    Anybody help please ?



  2. #2
    Eric D. Burdo Guest

    Re: Run time error '429' ActiveX component ...

    You need to include the Microsoft Scripting Runtime as well. The is where the FSO stuff is
    contained.

    --

    Eric D. Burdo, Red-Leif International
    VB Programmer and Consultant
    <http://www.redleif.com/vb>

    *** Please reply to the newsgroup so all can benefit. ***


    "Mark" <markgrandi@hotmail.com> wrote in message news:3a140652$1@news.devx.com...
    >
    > cant create object" error
    >
    > I am getting the above error when I run the executable on an other PC( Other
    > than the one I wrote the code on)
    >
    > I have MDAC2.1 installed on the PC. The code (which simply moves a file)is
    > ;
    >
    >
    > Public Sub Main()
    > Dim objfile As New FileSystemObject
    >
    > objfile.MoveFile "c:\temp\fred.bat", "c:\temp\temp999\"
    >
    > End Sub
    >
    > Anybody help please ?
    >
    >




  3. #3
    Mark Guest

    Re: Run time error '429' ActiveX component ...


    Its already included in the main code. Its when I run it as an executable
    on another PC I get the error.

    "Eric D. Burdo" <vbtips@redleif.com> wrote:
    >You need to include the Microsoft Scripting Runtime as well. The is where

    the FSO stuff
    >is
    >contained.
    >
    >--
    >
    >Eric D. Burdo, Red-Leif International
    >VB Programmer and Consultant
    ><http://www.redleif.com/vb>
    >
    >*** Please reply to the newsgroup so all can benefit. ***
    >
    >
    >"Mark" <markgrandi@hotmail.com> wrote in message news:3a140652$1@news.devx.com...
    >>
    >> cant create object" error
    >>
    >> I am getting the above error when I run the executable on an other PC(

    Other
    >> than the one I wrote the code on)
    >>
    >> I have MDAC2.1 installed on the PC. The code (which simply moves a file)is
    >> ;
    >>
    >>
    >> Public Sub Main()
    >> Dim objfile As New FileSystemObject
    >>
    >> objfile.MoveFile "c:\temp\fred.bat", "c:\temp\temp999\"
    >>
    >> End Sub
    >>
    >> Anybody help please ?
    >>
    >>

    >
    >



  4. #4
    Eric D. Burdo Guest

    Re: Run time error '429' ActiveX component ...

    Yes, you need to install that on the target PC.

    --

    Eric D. Burdo, Red-Leif International
    VB Programmer and Consultant
    <http://www.redleif.com/vb>

    *** Please reply to the newsgroup so all can benefit. ***


    "Mark" <markgrandi@hotmail.com> wrote in message news:3a14ed4e$1@news.devx.com...
    >
    > Its already included in the main code. Its when I run it as an executable
    > on another PC I get the error.
    >
    > "Eric D. Burdo" <vbtips@redleif.com> wrote:
    > >You need to include the Microsoft Scripting Runtime as well. The is where

    > the FSO stuff
    > >is
    > >contained.
    > >
    > >--
    > >
    > >Eric D. Burdo, Red-Leif International
    > >VB Programmer and Consultant
    > ><http://www.redleif.com/vb>
    > >
    > >*** Please reply to the newsgroup so all can benefit. ***
    > >
    > >
    > >"Mark" <markgrandi@hotmail.com> wrote in message news:3a140652$1@news.devx.com...
    > >>
    > >> cant create object" error
    > >>
    > >> I am getting the above error when I run the executable on an other PC(

    > Other
    > >> than the one I wrote the code on)
    > >>
    > >> I have MDAC2.1 installed on the PC. The code (which simply moves a file)is
    > >> ;
    > >>
    > >>
    > >> Public Sub Main()
    > >> Dim objfile As New FileSystemObject
    > >>
    > >> objfile.MoveFile "c:\temp\fred.bat", "c:\temp\temp999\"
    > >>
    > >> End Sub
    > >>
    > >> Anybody help please ?
    > >>
    > >>

    > >
    > >

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center