Avatar of RGuillermo
RGuillermo
Flag for United States of America asked on

vb12 cannot find file that is there!!

Hi Experts,

The following code

       If My.Computer.FileSystem.FileExists("c:\windows\system32\drivers\agp447.sys") Then
            MsgBox("File found.")
        Else
            MsgBox("File not found.")
        End If
        End

always messages " FILE NOT FOUND "....but the file is there! I put it!

How can I make it detect it there? in that particular path?
It used to work properly for many years until yesterday that I installed AVG PC TUNEUP and already uninstalled it but even then..

Also used attrib "c:\Windows\system32\drivers\agp447.sys"
and it says it has only atribute 'a'

using it in several win7 stations.... that are still working good...
only this pc is giving me the problema but  I am afraid it may start appearing in the rest.
Regards,
Visual Basic.NET.NET ProgrammingMicrosoft Development

Avatar of undefined
Last Comment
RGuillermo

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Peter Hutchison

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
RGuillermo

ASKER
Thank you!!
Your help has saved me hundreds of hours of internet surfing.
fblack61