Dim BM As Bitmap = LoadBitmapResize(File.DirAssets, "icon.png", 24dip, 24dip, False)
Dim n As NB6
n.Initialize("default", Application.LabelName, "LOW").AutoCancel(False).SmallIcon(BM)
n.Build("Title", "Content", "tag1", GUI).Notify(4)
' Getting "Cannot assign void value." error on the following line
Service.AutomaticForegroundNotification = n.Build("Title", "Content", "tag1", GUI).Notify(4)
Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS