Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 663
  • 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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