Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Qrcode-Qtzint vba code

Qrcode-Qtzint vba code

Scheduled Pinned Locked Moved Unsolved Language Bindings
3 Posts 3 Posters 198 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexespo
    wrote on 28 Jan 2025, 12:01 last edited by
    #1

    Hello everybody,
    I m an "amateur" of vba and i m tring to build a code to create in automatic a barcode in excel.
    Below the code.

    Sub QRCode()
    Dim strFileTesto As String
    Dim strComandoZint As String

    strFileTesto = "xxxx\xxxx\temp_qrcode.txt"
    
    strComandoZint = "C:\Programmi\Zint\zint.exe -o qrcode.png " & strFileTesto
    
    
    Open strFileTesto For Output As #1
    Print #1,  strFileTesto
    Close #1
    
    
    Shell strComandoZint
    
    
    Kill strFileTesto
    
    MsgBox "QR code ok!"
    

    End Sub

    I recive an errore message :
    Error 778: no input data(segmento 0 empity)

    Can you help me?

    Thanks all

    J 1 Reply Last reply 28 Jan 2025, 12:28
    0
    • A Alexespo
      28 Jan 2025, 12:01

      Hello everybody,
      I m an "amateur" of vba and i m tring to build a code to create in automatic a barcode in excel.
      Below the code.

      Sub QRCode()
      Dim strFileTesto As String
      Dim strComandoZint As String

      strFileTesto = "xxxx\xxxx\temp_qrcode.txt"
      
      strComandoZint = "C:\Programmi\Zint\zint.exe -o qrcode.png " & strFileTesto
      
      
      Open strFileTesto For Output As #1
      Print #1,  strFileTesto
      Close #1
      
      
      Shell strComandoZint
      
      
      Kill strFileTesto
      
      MsgBox "QR code ok!"
      

      End Sub

      I recive an errore message :
      Error 778: no input data(segmento 0 empity)

      Can you help me?

      Thanks all

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 28 Jan 2025, 12:28 last edited by
      #2

      @Alexespo This is Qt forum. Why are you asking about Visual Basic here?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AMJorge
        Banned
        wrote 19 days ago last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved