Hi
Im faily new to the VB coding and was just wondering how to make the program check for files that are installed.
i thought the 'if' statement migth work
but doesnt seem to
here the code i wrote...
Sub Form_Load()
If "C:\Windows\System\c32.dll" Then
cmdDivx.Visible = False
Else
cmdDivx.Visible = True
End If
If "C:\Windows\System\sound.dll" Then
cmdaudio.visible = false
Else
cmdaudio.visible = true
End If
End Sub
if it works this way when the user runs the program he wont accidently install the drivers again...
any ideas???
Im faily new to the VB coding and was just wondering how to make the program check for files that are installed.
i thought the 'if' statement migth work
but doesnt seem to
here the code i wrote...
Sub Form_Load()
If "C:\Windows\System\c32.dll" Then
cmdDivx.Visible = False
Else
cmdDivx.Visible = True
End If
If "C:\Windows\System\sound.dll" Then
cmdaudio.visible = false
Else
cmdaudio.visible = true
End If
End Sub
if it works this way when the user runs the program he wont accidently install the drivers again...
any ideas???