Hello, you can use the general dialog box: 1. The two-dimensional code generated by the control must be displayed, 2. The control may have its own saving attribute.
CommonDialog1. DialogTitle=Save QR code CommonDialog1.Filter = All Files (*.*)|*.*|BMP Files (*.bmp)|*.bmp|JPGE Files (*.jpg)|*.jpg CommonDialog1. FileName=QR code CommonDialog1.FilterIndex = 2 CommonDialog1.ShowSave If CommonDialog1.FileName = Then Exit Sub QRmaker1.CreateQrMetaFile hDC, CommonDialog1.FileName。
After the QR code is generated, it can be directly sent to the front end through the interface. It does not need. jpg or. png. A network resource address does not have to have any suffix. It can also be used, mainly depending on the Content Type in the returned header information, such as Content Type: image/png