Chirag:
Thanks. The reference was not set. So I set it. Same result. However
I did try the same presentation on another machine with basically the
same setup, and it worked!!
I hate it when it is something local in my machine, especially when
it involves probably trying to get it resolved through Microsoft. If you
have anything else that I could check I would appreciate it. The error
number returned is -2147024770.
Thanks again for getting me at least this far.
John
> Probably, PowerPoint is not able to resolve reference to Microsoft
> Scripting Runtime. Check that the reference is still present:
[quoted text clipped - 35 lines]
>> Thanks in advance
>> John Crawford
Chirag - 07 Dec 2007 15:43 GMT
Hi John,
What are the differences between your machine and another machine?
Taking a long shot here: Any anti-virus running?
- Chirag
PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
> Chirag:
> Thanks. The reference was not set. So I set it. Same result. However I
[quoted text clipped - 46 lines]
>>> Thanks in advance
>>> John Crawford
Steve Rindsberg - 07 Dec 2007 17:43 GMT
Is it possible that scripting is disabled on your computer as a security
measure? I believe you can do this somehow.
Also, are you doing anything complex with the control file?
From what I've seen, the FSO doesn't seem to have many, if any, features that
you can't replicate in a few lines of VB code (and by doing that, you free
yourself of dependencies on the FSO)
> Chirag:
> Thanks. The reference was not set. So I set it. Same result. However
[quoted text clipped - 46 lines]
> >> Thanks in advance
> >> John Crawford
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
John Crawford - 08 Dec 2007 20:02 GMT
Chirag:
The two xp machines are both at the same Windows level. One is Dell
and one Toshiba. Both machines have Office 2000 professional, at the
same level. Both are running AVG at the same level.
One other thing that I noticed is that the presentation came from
Windows me. Again it had Windows 2000 professional. However the
scripting runtime was not checked on that version (as can been seen by
the fact that I brought the presentation over intact).
Steve:
I will try to find some way on the machine of disabling scripting.
What I am trying to do is open an ascii file and read the contents
to set up the parameters for the startup. Basically I am just trying to
process an input file. When I first started down this road, I could not
find a VBA method to do this in PP. I asked this forum, and the response
was FSO. If there is an easier/better way I am all for it.
Thanks to both of you.
John
> Is it possible that scripting is disabled on your computer as a security
> measure? I believe you can do this somehow.
[quoted text clipped - 60 lines]
> PPTools: www.pptools.com
> ================================================
Steve Rindsberg - 09 Dec 2007 03:16 GMT
> Steve:
> I will try to find some way on the machine of disabling scripting.
[quoted text clipped - 3 lines]
> find a VBA method to do this in PP. I asked this forum, and the response
> was FSO. If there is an easier/better way I am all for it.
I just added this page ... have a look and see if it suits:
Use VBA to read text from a file
http://www.pptfaq.com/FAQ00913.htm
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
John Crawford - 09 Dec 2007 12:51 GMT
Steve:
Actually, after I read your previous note I thought to re-look at
the problem again. Yes VBA dors have an open, and line input functions.
So I now read the file as I do in all other vb programs, and it works fine.
I cannot find the original question that got me to the
FileSystemObject solution.
Thanks.
John
>>Steve:
>> I will try to find some way on the machine of disabling scripting.
[quoted text clipped - 14 lines]
> PPTools: www.pptools.com
> ================================================
Steve Rindsberg - 09 Dec 2007 17:40 GMT
> Steve:
> Actually, after I read your previous note I thought to re-look at
> the problem again. Yes VBA dors have an open, and line input functions.
> So I now read the file as I do in all other vb programs, and it works fine.
> I cannot find the original question that got me to the
> FileSystemObject solution.
No matter ... you've now found your way to Truth, Enlightenment and Freedom
from Technology of the Week. <g>
> Thanks.
> John
[quoted text clipped - 17 lines]
> > PPTools: www.pptools.com
> > ================================================
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================