Posted 26 August 2019, 6:00 pm EST
Hi Stein,
The ActiveX controls are not meant to be used in .Net applications and hence, we do not support them in .Net environment. They will work in .Net Framework like any other ActiveX control, but of course with limitations.
Since you are migrating to VB.Net, I would suggest you to upgrade to WinForms Edition of controls which are designed to be used in .Net framework:
https://www.grapecity.com/winforms
Note that the .Net equivalent of VSPrinter is C1PrintDocument:
https://help.grapecity.com/componentone/NetHelp/c1report/webframe.html#workingwithc1printdo.html
Regarding the error message that is thrown, you cannot use TableCell directly in .Net as you would do in VB6. For example, the following statement in VB6:
vp.TableCell(tcBackColor, 1, 1) = vbRed
would be changed to,
vp.set_TableCell(VSPrinter8Lib.TableCellSettings.tcBackColor, 1, 1, 1, 1, Color.Red)
in .Net.
Thanks,
Pragati