oxicottin
Learning by pecking away....
- Local time
- Today, 01:36
- Joined
- Jun 26, 2007
- Messages
- 883
Hello, I'm using Googles https://chart.googleapis.com/chart? to be able to get QR codes from a text box [Text2] and it works just fine. I now need to be able to save the QR code to my desktop using a button. I currently found the code below HERE, but it brings up a open file window and allows me to name the image and where to save it at but I don't want to-do all that I wanted to just be able to click the button and it auto save to desktop. How can I do this?
="https://chart.googleapis.com/chart?chl=" & [Text2] & "&chs=200x200&cht=qr"
HERE is the website I'm getting the code....
="https://chart.googleapis.com/chart?chl=" & [Text2] & "&chs=200x200&cht=qr"
Code:
Private Sub Command10_Click()
Dim Path As String
Path = CreateObject("WScript.Shell").SpecialFolders("Desktop") & "\"
Me.WebB.Object.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER, Path
End Sub
HERE is the website I'm getting the code....
Attachments
Last edited: