Talk:AODL example 1
I am trying to port this code to VB.NET using Visual Basic 2005 Express Edition, but I'm running into some problems.
I'll just take the first and the last code lines, trying to generate a spreadsheet document, and save it.
Public Class Class1 Dim _spreadsheetDocument As New AODL.Document.SpreadsheetDocuments.SpreadsheetDocument _spreadsheetDocument.SaveTo("formated.ods") End Class
The VisualBasic Editor tells me however, that it expects a declaration.
It would be nice if someone could make a Visual Basic version of the same code, that works.
Using missing
It would be nice to see which elemets I must bind by Using. So I'bind as following:
using Statement Source
using AODL.Document.SpreadsheetDocuments; using AODL.Document.Collections; using AODL.Document.Content; using AODL.Document.Content.Tables; using AODL.Document.TextDocuments; using AODL.Document.Styles; using AODL.Document.Content.Text;
At the End
I' don't know which is needed but the Compiler gives OK. Know there is Problem in finding some dll of the Namespace.