ComponantOne Studio 2011 VSPrinter 8.0 VSPrinter.Text property not working in .Net win form

  • mvilaskumar 2 years, 12 months ago

    Windows 7
    Visual studio 2010 (.NET)
    ComponantOne 2011 VSPrinter 8.0

    I am trying to use VSPrinter .Text property of VSPrinter but it is not working ? IS there anyone who could help me out ?

    I am migrating vb6 (VSPrinter 6.0) application to .net (VSPrinter 8.0) . There is lot of code which is using VSPrinter .Text = “AAAA”

    If I use .Paragraph it is working. but may I know why it is not working when I use VSPrinter .Text nothing is printing.

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    With AxVSPrinter1

    .Text = “Text”
    ‘.Paragraph = “Paragraph”
    End With

    End Sub

  • 22p
    C1_GatimT22p 2 years, 11 months ago


    I was able to replicate the same on my end, I ‘d be escalating this to QA/DEV for further research/review

    Would let you know on getting an update


  • 22p
    C1_GatimT22p 2 years, 11 months ago


    The ActiveX wrapper adds ctl to a few properties, such as Text, so use CtlText instead. For example, this will work:


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.