Active X Component error

Author Message
Mickster

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 12/19/2011
  • Status: offline
Active X Component error Monday, December 19, 2011 2:16 AM (permalink)
0
Hi all,
Thanks in advance for any help you can give as I'm pulling my hair out.
 
I have written a vbs program that unzips some files - manipulates the content and then rezips and saves to a different location. This program worked fine on my pc (W7) but when transferred to the user pc (NT 4.0) it throws an error on the following line of code:
 
      set objShell = CreateObject("Shell.Application")
 
Error is: Active x component can't create object 

I have searched the net and found a site that advised to run "regsvr32.exe wshom.ocx" and "regsvr32.exe scrrun.dll" from the command prompt but this has not solved the issue.
 
Anyone able to help me or at least point me in the right direction?
Please let me know if I'm not providing enough information.
Thanks again.
<message edited by Mickster on Monday, December 19, 2011 2:46 AM>
 
#1
    ebgreen

    • Total Posts : 8219
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    Re:Active X Component error Monday, December 19, 2011 3:36 AM (permalink)
    0
    Well the first point that I would make is that there are significant differences between the WSH on W7 and NT 4.0. I have not dealt with NT 4.0 in a long time, but I seem to recall having to use a 3rd party solution for zipping files in a script. Pretty sure that I used pkzip.
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2
      Mickster

      • Total Posts : 2
      • Scores: 0
      • Reward points : 0
      • Joined: 12/19/2011
      • Status: offline
      Re:Active X Component error Monday, December 19, 2011 3:39 AM (permalink)
      0
      Thanks for the response ebgreen - I had pretty much come to the same conclusion myself. Bit annoying but hey ho. Thanks anyway.
       
      #3

        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 1 guests.

        Icon Legend and Permission

        • New Messages
        • No New Messages
        • Hot Topic w/ New Messages
        • Hot Topic w/o New Messages
        • Locked w/ New Messages
        • Locked w/o New Messages
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2012 ASPPlayground.NET Forum Version 3.9