2 Replies - 306 Views - Last Post: 28 January 2013 - 11:54 PM Rate Topic: -----

#1 Bluezap  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 323
  • Joined: 19-January 12

OpenFileDialog issue

Posted 27 January 2013 - 09:51 AM

Hey so basically i did a lot of research on this but could not find a solution.
I need a function to occur if one or more files are opened by an openfiledialog
So if 1 file was selected i need <function> to occur.
But if no file was selected i do not want this function to occur while showing a msgbox asking the user to select 1 or more files first.
So this is what i thought.
If openfiledialog.[1 or more files chosen] then
   <Do Function>
Else
   msgbox("Select a file")
Endif


Any ideas??

Is This A Good Question/Topic? 0
  • +

Replies To: OpenFileDialog issue

#2 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2270
  • View blog
  • Posts: 9,496
  • Joined: 29-May 08

Re: OpenFileDialog issue

Posted 27 January 2013 - 09:56 AM

Really you did loads of research and found nothing?!.
What "research" materials and sources were you using?

I just done a 2min search and found the material needed.
Was This Post Helpful? 0
  • +
  • -

#3 Bluezap  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 323
  • Joined: 19-January 12

Re: OpenFileDialog issue

Posted 28 January 2013 - 11:54 PM

Oh sorry i searched under c++ and didn't know the code to convert to VB.
I found the solution.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1