Skip to main content

Search

Search

Query Prompt Vb.net

Comments

1 comment

  • Avatar
    Ian Cummings
    Moderator

    This example from the BarTender Help system should set you on the right track:

     

    Dim btEngine As New Engine()
    
    ' Start a BarTender Engine process 
    btEngine.Start()
    
    ' Open a label format 
    Dim btFormat As LabelFormatDocument = btEngine.Documents.Open("c:\MyLabel.btw")
    
    ' Set the QueryPrompt 
    btFormat.DatabaseConnections.QueryPrompts("Nutrition Calorie Data").Value = "40 Calories"
    
    ' Print the label format 
    Dim result As Result = btFormat.Print() 
    
    

     

     

    0

Please sign in to leave a comment.