I’m using the new class from MBS in a project and discovered a bug took a few hours to figure out.
When setting to image path of the notification things go wonky if you specify a network location. I got around that limitation with the following code.
Dim p As FolderItem
p = SpecialFolder.ApplicationData.child("QBMS")
If Not p.Exists Then p.CreateAsFolder
p = p.Child("QBMS LOGO.jpg")
if not p.Exists then
app.ExecutableFile.Parent.Parent.Child("Pictures").Child("QB Metal Shop LOGO V2.1.jpg").CopyFileTo p
if p.Exists then
n.Image = p.NativePath
n.Image = ""
Thanks for the new class @Christian Schmitz I love it!