Problems with opening a word doc on similar systems

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default Re: Problems with opening a word doc on similar systems

    [email]sc00170@cc.uoi.gr[/email] wrote:
    > 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!!!
    Is the path actually the correct path on both machines? Default installations
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139