Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Exception

Exception

Scheduled Pinned Locked Moved Visual Basic
graphicsquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brad Fackrell
    wrote on last edited by
    #1

    Does anybody have any idea what this means?

    ************** Exception Text **************
    System.ArgumentException: Invalid parameter used.
    at System.Drawing.Bitmap..ctor(String filename)
    at Mule.DataManagementTool.frmMain.populateListView()
    at Mule.DataManagementTool.frmMain.TreeView1_AfterSelect(Object sender, TreeViewEventArgs e)
    at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
    at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
    at System.Windows.Forms.TreeView.WmNotify(Message& m)
    at System.Windows.Forms.TreeView.WndProc(Message& m)
    at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************

    Thanks Brad

    D 1 Reply Last reply
    0
    • B Brad Fackrell

      Does anybody have any idea what this means?

      ************** Exception Text **************
      System.ArgumentException: Invalid parameter used.
      at System.Drawing.Bitmap..ctor(String filename)
      at Mule.DataManagementTool.frmMain.populateListView()
      at Mule.DataManagementTool.frmMain.TreeView1_AfterSelect(Object sender, TreeViewEventArgs e)
      at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
      at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
      at System.Windows.Forms.TreeView.WmNotify(Message& m)
      at System.Windows.Forms.TreeView.WndProc(Message& m)
      at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
      at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      ************** Loaded Assemblies **************

      Thanks Brad

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You clicked on a TreeView node and the code in the AfterSelect event called a populateListView method, which apparent tried to create a Bitmap object, but with the wrong arguments supplied or a bad filename. Without seeing the code in that populateListView method, it's pretty difficult to say exactly why it happened. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      B 1 Reply Last reply
      0
      • D Dave Kreskowiak

        You clicked on a TreeView node and the code in the AfterSelect event called a populateListView method, which apparent tried to create a Bitmap object, but with the wrong arguments supplied or a bad filename. Without seeing the code in that populateListView method, it's pretty difficult to say exactly why it happened. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        B Offline
        B Offline
        Brad Fackrell
        wrote on last edited by
        #3

        Okay, Thanks. I see what I did. I hard coded a non-existent path. Brad

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups