Ask a Question related to PERL Beginners, Design and Development.
-
sc00170@cc.uoi.gr #1
Problems with opening a word doc on similar systems
I am facing a very strange problem while i try opening a word document through
my perl program.
So far, i use the system() function.
system(1, $winword_pathm $word_document);
That works well on a win98 system, but it doesn't on another win98 system.
Those machines have Office 97.
What is the real problem because it drives me mad. Have you ever face such a
annoying problem?
Please help!!!
sc00170@cc.uoi.gr Guest
-
Similar Connection Problems
I have a number of websites that use a similar domain name eg www.area1.mysite.com www.area2.mysite.com The problem that i am having is that... -
Problems opening MS Word docs when Contribute Installed
I'am currently experiencing a few problems when I have Contribute 3 installed and try to use MS Office programs. I did not have any of these issues... -
PDF Numbered Bookmarks Similar to Word Document Map
When converting from .doc to .pdf using PDFMaker from within Microsoft Word, is it possible to automatically create numbered bookmarks similar to... -
Flash in z-layer:0 problems on MAC systems?
The page http://www.christophersjoblom.com uses a flash background image in layer 0... this was the best way I could accomplish the clients goal of... -
opening word processor
Hey, I am creating a cross platform CD. I would like Director 8.5 to open some type of word processor. I think Notepad and SimpleText would be the... -
R. Joseph Newton #2
Re: Problems with opening a word doc on similar systems
[email]sc00170@cc.uoi.gr[/email] wrote:
Is the path actually the correct path on both machines? Default installations> I am facing a very strange problem while i try opening a word document through
> my perl program.
>
> So far, i use the system() function.
>
> system(1, $winword_pathm $word_document);
>
> That works well on a win98 system, but it doesn't on another win98 system.
>
> Those machines have Office 97.
>
> What is the real problem because it drives me mad. Have you ever face such a
> annoying problem?
>
> Please help!!!
locations are not always where a program is found. On Windows, it should not be
necessary to hard-code the path anyway. The system executable search path
shouldinclude the folder containing Winword.exe if Office has been properly
installed. All you should need then is:
system("winword $word_document");
On Win2K, its even easier. The command environment in NT integrates much better
with file associations, so I just need to:
system($word_document);
Joseph
R. Joseph Newton Guest



Reply With Quote

