WestSideRailways 1 Posted August 3, 2016 Share Posted August 3, 2016 ' Download the thumbnail for a note; then display it on this app's form. Dim thumbnail As Byte() = ENSession.SharedSession.DownloadThumbnailForNote(myResultsList(0).NoteRef, 120) Try Dim ms As New MemoryStream(thumbnail, 0, thumbnail.Length) ms.Position = 0 Dim image1 As System.Drawing.Image = System.Drawing.Image.FromStream(ms, False, False) PictureBoxThumbnail.Image = image1 Catch ex As Exception Throw New Exception(ex.Message) End Try ' Display a note's content as HTML in a WebBrowser control. Dim myContent = myDownloadedNote.HtmlContent WebBrowser1.DocumentText = myContent End If with these 2 blocks of code from the included "Sampleapp" i am getting the following errors.... Error 1 'PictureBoxThumbnail' is not declared. It may be inaccessible due to its protection level. H:\Michael-Documents\Visual Studio 2013\Projects\WindowsApplication1\WindowsApplication1\Form1.vb 84 17 WindowsApplication1 Error 2 'WebBrowser1' is not declared. It may be inaccessible due to its protection level. H:\Michael-Documents\Visual Studio 2013\Projects\WindowsApplication1\WindowsApplication1\Form1.vb 91 13 WindowsApplication1 could anyone give me a helping hand, as to what is wrong. Sometimes the Head does not want to think. :-) Link to comment
Level 5* phils 220 Posted August 3, 2016 Level 5* Share Posted August 3, 2016 Hi, Developer support is no longer done here - it's moved to StackOverflow. Please post there and tag your post with "Evernote". Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.