Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi

 

I am trying to check if multible files exists and i can not seem to figure out how to get it to work. Below is what i use.

 

If FolderBrowserDialog1.ShowDialog() = DialogResult.OK Then

               FileContents.Text = FolderBrowserDialog1.SelectedPath.ToString


               If (Not (IO.File.Exists(IO.Path.Combine(FolderBrowserDialog1.SelectedPath, "WIN51IP.SP3"))) _
            Or (Not (IO.File.Exists(IO.Path.Combine(FolderBrowserDialog1.SelectedPath, "WIN51IC.SP3"))))) Then


                   MESSAG = DataDLL.MSGS(1)
                   Message.Show()
                   FileContents.Text = ""
                   Exit Sub

 

Many Thanks for any help

 

Worf

Posted
What is the problem that you are having?

 

Well the problem is that this routine is not seeing those files and showing the error message.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...