Re: Shell Functions and DOS executables

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,
Check that the WSHOM.OCX file exists and is properly registered in the
System32 directory. Also, there may be additional files. I don't know
exactly which package is used to install this, but I'll look around and see
if I can find it. Or perhaps somebody else around here knows. You may want
to post a new topic asking what you need to install to get that file.

Lance

"VB_Newby" <VB_Newby@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:43d55f93$0$73347$892e7fe2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Lance,

<Bunch of discussion about calling DOS exe's, "Windows Script Host
Object Model", Tektronix conversion programs, etc --- all snipped>

I took my program to work today to convert some files and ran into
a problem. It wouldn't run under my (work) W2K PC, but would run
under my co-workers XP PC. Obviously, it works under my personal
XP PC too.

Whilst running under the VB5 IDE, I get the following error at the
first line.
Compile Error: "User-defined type not defined",

The offending line(s) is:
Dim wsh As IWshRuntimeLibrary.WshShell <<<< here
Dim wshExec As IWshRuntimeLibrary.wshExec
Dim STDErrResults As String
Dim STDOutResults As String

Whilst running the executable (.EXE) I get the following error:

Run-time Error 429: "ActiveX component can't create object"

I did a bit of groups.googling.... and my uniformed uneducated wild
baseless theory is my W2K machine is missing some DLL?

http://support.microsoft.com/kb/173407

I've gone back to my Shell32.bas for the time being.

Any comments?

(I'm also starting to wonder if 'keeping it simple' might not be a
good idea. I'd like this program to be as platform independent as
possible.... and I'm not really smart enough to achieve this
without keeping things -really- simple and as little dependent on -
outside- routines as possible.)


.



Relevant Pages

  • Errors applying kernel patch 118833-36
    ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
    (SunManagers)
  • Re: SmartMenu - was: VRPC on a USB pen
    ... in applications distributed via package systems which are supposed to ... having to get the user to install it, or they could present the user ... Haskell compiler and associated tools (collectively referred to on ... haskell.org as the 'platform' package). ...
    (comp.sys.acorn.misc)
  • Re: A little help please!
    ... This so far was the best map to getting DVD media working I am going to ... Also I have the latest libdvdcss2 and libdvdcss2-dev installed. ... sudo aptitude install totem-xine ... Click either free or non-free depending on where the package you ...
    (Ubuntu)
  • problem installing cedet and ecb for emacs
    ... I am trying to install these packages to enhance emacs for programming ... Initializing package states... ... dpkg: dependency problems prevent configuration of ede: ... dpkg: dependency problems prevent configuration of semantic: ...
    (Debian-User)
  • Re: media player 10 setup issues
    ... Finished building install list. ... Package 'MPPRE' is version '10.0.0.3802'. ... Install for Exception pack ...
    (microsoft.public.windowsmedia)