Free Support Forum - aspose.com

Aspose.Word in Visual Basic 6 URGENT!

I would like to know if I can use Aspose.Word in Visual Basic 6.

URGENT!
Thanx
Rogerio

Hi Rogerio,

Yes, it is possible to use Aspose.Word in Visual Basic 6, but late binding is recommended: that is don’t add Aspose.Word to the Project References (import the type library) and use Object variables. Here is an example:

Dim Word as Object
Set Word = CreateObject(“Aspose.Word.Word”)

Dim Document as Object
Set Document = Word.Open(“MyInputFileName.doc”)



Document.Save(“MyOutputFileName.doc”)

Please download and try the evaluation version to make sure it all works for you.