• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 671
  • Last Modified:

how do i add .htm as extension in a sentence

how do i add .htm to this sentece, do while is pdf or htm

Do Until System.IO.File.Exists(sDataMap & solche.id.Text & "-" & intSubjects & ".pdf",".htm") = False

what is the correct way?
tsm you guys
0
Ernesto
Asked:
Ernesto
1 Solution
 
CodeCruiserCommented:
Change it to


Do Until System.IO.File.Exists(sDataMap & solche.id.Text & "-" & intSubjects & ".pdf") = False AND System.IO.File.Exists(sDataMap & solche.id.Text & "-" & intSubjects & ".htm") = False
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now