DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  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 ?
    > >>
    > >>

    > >
    > >

    >




Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links