CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 1999
    Posts
    16

    Opening a file, copy line, and open another file

    Hello, I'm VB illiterate. I've been writing a Java program and it calls a Word Macro. What I need the macro to do is Open a given file ("file.doc"), read the first line from that file which is the name of a file
    ("test.doc"), and then open that file up ("test.doc"). Any help would be greatly appreciated. If I'm not making sense, let me know and I'll explain more. Thanks ahead of time for any help. Mr. Bean


  2. #2
    Join Date
    Dec 1999
    Location
    Austria
    Posts
    17

    Re: Opening a file, copy line, and open another file

    You want to read the first line of a word.doc?
    Have you ever opened this word.doc with notepad?
    What did you see, and what do you want with the crypted line?


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured