2 Replies - 1553 Views - Last Post: 31 July 2017 - 04:19 AM Rate Topic: -----

#1 geoleob  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 80
  • Joined: 06-August 12

how can i add a MSWord document into my vb6 program?

Posted 30 July 2017 - 01:25 PM

Looking in the internet , it says to add a reference to MSWord. to the VB6 program. I cannot locate this reference in the list of references. I am using VB6 pro.


Thanks in advance
Is This A Good Question/Topic? 0
  • +

Replies To: how can i add a MSWord document into my vb6 program?

#2 andrewsw  Icon User is online

  • the case is sol-ved
  • member icon

Reputation: 6376
  • View blog
  • Posts: 25,761
  • Joined: 12-December 12

Re: how can i add a MSWord document into my vb6 program?

Posted 30 July 2017 - 02:29 PM

To check an obvious detail, You do have Microsoft Word on your computer?

If so, I suppose you may need to register the .dll via a command-line instruction. I think it is via regsvr32 but I cannot advise you further on VB6 matters.

I suppose the version of Office that you have may also be a concern, considering that VB6 is so outdated. "Mainstream Support for Microsoft Visual Basic 6.0 ended on March 31, 2005. Extended support ended in March 2008."

[VB6 was released in 1998, that's almost 20 years ago.]
Was This Post Helpful? 0
  • +
  • -

#3 maceysoftware  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 348
  • View blog
  • Posts: 1,493
  • Joined: 07-September 13

Re: how can i add a MSWord document into my vb6 program?

Posted 31 July 2017 - 04:19 AM

Quote

I suppose the version of Office that you have may also be a concern, considering that VB6 is so outdated. "Mainstream Support for Microsoft Visual Basic 6.0 ended on March 31, 2005. Extended support ended in March 2008."


I don't think the user will have anything to worry about this.

We currently have some of our application still in VB6 and it exports almost all its data to office (word/excel), of course certain things have been fixed over the years, for example in word 2003 fields that were over the text length of 900 was truncated (it wasn't 900 it was something like 920 or something), which you have to be aware of and code around if you think your users will be using Word 2003.

What I am meaning is that a lot of the time this API is left alone and not updated.

Our applications run with Office 2016 (365) on Windows 10 without a issue.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1