Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

VS 2010 [SOLVED]help me solve this problem with loading files..

$
0
0
hi agen i have a problem with my loading files
i made so its will make the form1 check if there a files exists or not
but i want to mkae the program will check more then one file

Code:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Hide()
        If My.Computer.FileSystem.FileExists(Application.StartupPath & "/Files/lincuse.mrs") Then
        ElseIf My.Computer.FileSystem.FileExists(Application.StartupPath & "/Files/picture.mrs") Then
            Me.Show()
        Else
            MsgBox("You have missing Files please reinstell", MsgBoxStyle.Critical)
            Me.Close()
        End If
    End Sub


Viewing all articles
Browse latest Browse all 42225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>