????? Need help on a VB/MSWord problem. Can't solve it. Any Experts 
Author Message
 ????? Need help on a VB/MSWord problem. Can't solve it. Any Experts

* Original Area: comp.lang.basic.visual.3rdparty
* Original To  :  RISC (1:0/0)

 -=> Quoting  RISC to All <=-

 RR> Have a text file with a .prn extension.  Using an OLE object
 RR> and a minimal amount of code I can open the file into MSWord.  Problem

You mean something like:
dim w as object
set w=createobject("word.basic")
w.fileopen "c:\mypath\myfile.prn"
w.fileopen "c:\mypath\myotherfile.prn"
w.fileopen "c:\mypath\athirdfile.prn"
And so forth?
w.DoDomeOtherWordbasicCode
set w=nothing

I can't see how else you'd be doing it, since any other way wouldn't make
sense.

 RR> is that when I want to open several of these .prn files at the same
 RR> time I get a new session of Word for each file.  System resources get

And since I am assuming you're doing the aforementioned code, then this
can't possibly be happening.  Try it and see how it works.

... Malek's Law: Any simple idea will be worded in the most complicated wa
--

|  via Tangent BBS +1-617/364-1576 28.8k or Telnet to vader.com
| Standard disclaimer: The views of this user are strictly his problem.



Mon, 22 Mar 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VBA Word97 Expert needed to Solve problem .....

2. I NEED A VB EXPERT'S HELP!!

3. I NEED A VB EXPERT'S HELP!

4. I NEED A VB EXPERT'S HELP!

5. 'Canned' data in VB program

6. VB Expert HELP needed: Tricky function naming problem

7. Need an expert's help with BMP images

8. Need a Loop Expert's Help

9. VB.net using msword object (Please really need help)

10. help in VB coding: solving math equations, or find OCX that's equation solver

11. Need VB5 Expert Help : DDE Problems ?????

12. expert help needed for plug-in problem

 

 
Powered by phpBB® Forum Software