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. .NET (Core and Framework)
  4. OpenFileDialog bug problem .net

OpenFileDialog bug problem .net

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpcsharpquestion
2 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.
  • F Offline
    F Offline
    foxjazz2
    wrote on last edited by
    #1

    I am using the openfiledialog in my project. Sample code: at bottom I get a blank filename when I get a return back from the dialog. This happens after I pick a file (any file). Now when I run the same code on my other computer (laptop), it functions normally. What can cause this to happen? I am not having any other system problems (that I know of), and this is really wierd. Any ideas? (Framework 1.1) xp servicepack 2 ( I think I am fully upgraded software wise.) :mad: :sigh: If ofd.ShowDialog() = DialogResult.OK Then 'Load the excel import file into a datatable PartsTrakCommonLibrary.PartTrakCommonLibrary.FillDataTableFromExcel(dtImportData, ofd.FileName) End If Thanks, Foxjazz

    K 1 Reply Last reply
    0
    • F foxjazz2

      I am using the openfiledialog in my project. Sample code: at bottom I get a blank filename when I get a return back from the dialog. This happens after I pick a file (any file). Now when I run the same code on my other computer (laptop), it functions normally. What can cause this to happen? I am not having any other system problems (that I know of), and this is really wierd. Any ideas? (Framework 1.1) xp servicepack 2 ( I think I am fully upgraded software wise.) :mad: :sigh: If ofd.ShowDialog() = DialogResult.OK Then 'Load the excel import file into a datatable PartsTrakCommonLibrary.PartTrakCommonLibrary.FillDataTableFromExcel(dtImportData, ofd.FileName) End If Thanks, Foxjazz

      K Offline
      K Offline
      klawipo
      wrote on last edited by
      #2

      Hi, I had the same problem when I tried to preload some C-Dlls before the main window was shown. When I loaded them after showing the first window, it worked fine. hope that helps. Good luck, klawipo

      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