PrimaryFile is a string thats passed into this function.
Private function CheckDup(byval Primaryfile as string) as integer
Ive added a messagebox before the line of code with the problem that prints out the value in PrimaryFile and its value contains the full file path correctly.
The value passed in is taken from an openfiledialog.filename
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.