QR Code generator using MS Access | MS Access VBA | Rover

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น • 38

  • @raffaeledimaio9526
    @raffaeledimaio9526 ปีที่แล้ว +1

    SEI UN GRANDE, lo sarai ancora di più , il tempo di provarlo. :-)

  • @skorza69
    @skorza69 4 หลายเดือนก่อน

    Thats Incredible!!! Congrats for your work for us!

  • @mktabocs-ye5vw
    @mktabocs-ye5vw 3 หลายเดือนก่อน

    Many many thanks for this great effert!!!

  • @SahamFundamentalOke
    @SahamFundamentalOke 13 วันที่ผ่านมา

    Thanks bro, it's work great!!!

  • @navisalomi
    @navisalomi 10 หลายเดือนก่อน

    Excel work. Thanks so much.

  • @diababdelkrim9454
    @diababdelkrim9454 ปีที่แล้ว +1

    thanks, really good job

  • @hamedkazemi7660
    @hamedkazemi7660 หลายเดือนก่อน

    Hello. It works in ms access. 👍

  • @darrellfyffe8375
    @darrellfyffe8375 ปีที่แล้ว +3

    Your video is the first that, I really seen that shows the potential of QR codes being generated in access. A big thanks!!!! Is the a way to save QR image as the name of the text box data?

    • @bigalc4528
      @bigalc4528 ปีที่แล้ว +1

      Hi
      change this line - savePath = Application.CurrentProject.Path & "\qr_code.bmp"
      to savePath = Application.CurrentProject.Path & "\" & qrData & ".bmp"

  • @MoElkomy
    @MoElkomy ปีที่แล้ว +1

    amazing it works thank you again

    • @mahmouduae1
      @mahmouduae1 3 หลายเดือนก่อน

      ازاي ممكن اظهر ال QR في التقرير

  • @MoElkomy
    @MoElkomy ปีที่แล้ว

    You are great thank you very much
    I will try it

  • @ThePinkMr88
    @ThePinkMr88 ปีที่แล้ว

    Einwandfreie Funktion. Kann ich nur empfehlen

  • @fingerpgreen
    @fingerpgreen 3 หลายเดือนก่อน +2

    Words do not appear in the QR if the language is Arabic

  • @raffaeledimaio9526
    @raffaeledimaio9526 ปีที่แล้ว +1

    Hi, this error appears, how can I resolve it? Thank you, "Compilation error: Invalid topic number or property"ssignment" alla riga : result = URLDownloadToFile(0, apiUrl, savePath, 0, 0), si evidenzia : "URLDownloadToFile(0, apiUrl, savePath, 0, 0)"

  • @sunfaceshanmugam
    @sunfaceshanmugam ปีที่แล้ว

    Very Nice... thanks a Lot!! it was used in my Project successfully... will it work permanently or like trail? bze it is depending on other website..

  • @mohamedhakim903
    @mohamedhakim903 11 หลายเดือนก่อน

    very good

    • @rover5628
      @rover5628  11 หลายเดือนก่อน

      Thanks

  • @p.kanoklertwongs1751
    @p.kanoklertwongs1751 ปีที่แล้ว

    Thank you.

  • @imamasari0206
    @imamasari0206 ปีที่แล้ว

    good

  • @Mamoiavarte
    @Mamoiavarte ปีที่แล้ว

    Excellent!

  • @sastrawjy
    @sastrawjy 7 หลายเดือนก่อน

    Sorry i cannot use the general code on ms acces 64 byte, can you support

  • @sonaliabewardana5771
    @sonaliabewardana5771 ปีที่แล้ว

    Best🎉

  • @mahmouduae1
    @mahmouduae1 3 หลายเดือนก่อน

    how can the QR be shown in the report

  • @muhammadjamshaid9279
    @muhammadjamshaid9279 หลายเดือนก่อน

    Dear Brother.
    I need QR code for E-Invoicing in Saudi Arabia using ACCESS

    • @rover5628
      @rover5628  หลายเดือนก่อน

      Can you explain your requirement little bit further ?

  • @edvpepitoperez
    @edvpepitoperez ปีที่แล้ว

    Include multiple fields and then retrieve them in another table

  • @samueltesemma6995
    @samueltesemma6995 ปีที่แล้ว

    Any suggestions for MS Access 64 Bit

    • @bigalc4528
      @bigalc4528 ปีที่แล้ว +1

      Try Changing the declaration at the top to :
      Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
      (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
      ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long

    • @BrandonLaxtonMusic
      @BrandonLaxtonMusic ปีที่แล้ว

      #If VBA7 Then
      Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
      (ByVal pCaller As LongPtr, ByVal szURL As String, ByVal szFileName As String, _
      ByVal dwReserved As LongPtr, ByVal lpfnCB As LongPtr) As Long
      #Else
      Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
      (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
      ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
      #End If
      Private Sub btnGenerateQR_Click()
      ' Declare variables
      Dim apiUrl As String
      Dim qrData As String
      Dim savePath As String
      Dim result As Long
      ' Get QR data from textbox
      qrData = Me.txtqrdata.Value
      ' Construct API URL
      apiUrl = "api.qrserver.com/v1/create-qr-code/?data=" & qrData & "&size=200x200"
      ' Specify save path for BMP file in the same directory as the Access database
      savePath = Application.CurrentProject.Path & "\qr_code.bmp"
      ' Download QR code image as BMP file
      #If VBA7 Then
      result = URLDownloadToFile(0, apiUrl, savePath, 0, 0)
      #Else
      result = URLDownloadToFile(0, apiUrl, savePath, 0&, 0&)
      #End If
      ' Check if download was successful
      If result = 0 Then
      ' Display the downloaded image in the image control
      Me.imgQRCode.Picture = savePath
      Else
      MsgBox "Failed to download QR code image.", vbExclamation
      End If
      End Sub

  • @KliperAds
    @KliperAds ปีที่แล้ว

    it doesnt work for russian language, why?

  • @supportsilkroadnickel
    @supportsilkroadnickel ปีที่แล้ว

    for ms acess 64bit failed

    • @nanaoseistanleykesse4560
      @nanaoseistanleykesse4560 ปีที่แล้ว

      Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
      (ByVal pCaller As LongPtr, ByVal szURL As String, ByVal szFileName As String, _
      ByVal dwReserved As LongLong, ByVal lpfnCB As LongPtr) As LongPtr

    • @bigalc4528
      @bigalc4528 ปีที่แล้ว +1

      Try Changing the declaration at the top to :
      Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
      (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
      ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long

    • @BrandonLaxtonMusic
      @BrandonLaxtonMusic ปีที่แล้ว

      #If VBA7 Then
      Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
      (ByVal pCaller As LongPtr, ByVal szURL As String, ByVal szFileName As String, _
      ByVal dwReserved As LongPtr, ByVal lpfnCB As LongPtr) As Long
      #Else
      Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
      (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
      ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
      #End If
      Private Sub btnGenerateQR_Click()
      ' Declare variables
      Dim apiUrl As String
      Dim qrData As String
      Dim savePath As String
      Dim result As Long
      ' Get QR data from textbox
      qrData = Me.txtqrdata.Value
      ' Construct API URL
      apiUrl = "api.qrserver.com/v1/create-qr-code/?data=" & qrData & "&size=200x200"
      ' Specify save path for BMP file in the same directory as the Access database
      savePath = Application.CurrentProject.Path & "\qr_code.bmp"
      ' Download QR code image as BMP file
      #If VBA7 Then
      result = URLDownloadToFile(0, apiUrl, savePath, 0, 0)
      #Else
      result = URLDownloadToFile(0, apiUrl, savePath, 0&, 0&)
      #End If
      ' Check if download was successful
      If result = 0 Then
      ' Display the downloaded image in the image control
      Me.imgQRCode.Picture = savePath
      Else
      MsgBox "Failed to download QR code image.", vbExclamation
      End If
      End Sub

  • @ibnsinapro
    @ibnsinapro 8 หลายเดือนก่อน

    not working

  • @daniellewest9644
    @daniellewest9644 11 หลายเดือนก่อน

    Mine is getting hung up on "Me.imgQRCode.Picture=savepath". How do I correct this? I have named the image box imgQRcode. Thus, I'm not sure if its not the save path

    • @NormanSorizo
      @NormanSorizo 4 หลายเดือนก่อน

      Hi, any update on this? im also getting this error also. thanks