Hi I have this code:
dim vconn as String
dim sql as String
Valentina.InitReports()
myReports = new VProject(GetFolderItem("Z:\XojoProject\BCPrint\Report.vsp")
try
myReports.Open()
Exception err as VException
MsgBox Str(err.ErrorNumber) + ":" + err.Message
End
vconn = "mssql://host=\\server\SQLFW2008, port = 50244, user = sa, password = pppppppp, dbname = fwprint"
sql = "select * from bctoprint"
Et_Scatolo = myReports.MakeNewReport("et_scatolo", vconn, sql)
dim f as FolderItem = GetFolderItem("Z:\XojoProject\BCPrint\".Child("Report.pdf"
Et_Scatolo.PrintToDisk(f, EVReportPrintType.kToPDF, 1)
f.Launch
It crashes on the .Open. no error message
Running on Windows 10 64bit