Jump to content

Recommended Posts

' 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, FalseFalse)
 
    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. :-)

Share this post


Link to post

Hi,

Developer support is no longer done here - it's moved to StackOverflow.  Please post there and tag your post with "Evernote".

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...