Jump to content

elieleroy2002

Members
  • Posts

    4
  • Joined

  • Last visited

About elieleroy2002

  • Birthday 11/20/1963

elieleroy2002's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks for your answer. You made a good work. We have to note that SQlite3 is GPL. Bye
  2. Try this : Global $var Global $mypath Global $multi_file Global $thepath Global $nb Global $list $var = FileOpenDialog("Open", "", "Texte file (*.txt)", 1 + 4 ) If @error Then MsgBox(262144 + 16,"Programme QUIT","No file select", 30) Exit Endif If StringInStr($var,"|") Then $var = StringSplit( $var, "|") $mypath = $var[1] & "\" $multi_file = 1 Else $thepath = StringSplit($var,"\") For $nb = 1 to ($thepath[0]-1) $mypath = $mypath & $thepath[$nb] & "\" Next $multi_file = 0 EndIf MsgBox(0, "The path is", $mypath, 30) If $multi_file Then For $nb = 2 to $var[0] $list = $list & $mypath & $var[$nb] & @CRLF Next MsgBox(0, "Files selected are", $list, 30) Else MsgBox(0, "File selected is", $var, 30) EndIf May be this can help you.
×
×
  • Create New...