For example:
Public Class Class1
Public Sub Some()
Dim Image As New Bitmap("C:\image.bmp")
End Function
End Class
Displays an error on Bitmap which says “Name Bitmap is not declared”.
Some solution? is impossible use Bitmap class or another class?
Are you referencing the
System.Drawing.dllassembly and importing theSystem.Drawingnamespace?Right-click on the
Bitmapidentifier and see if Visual Studio asks you to add an import for it.