Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21349

my program says encountered a problem and must close after i refresh the Forms

$
0
0
i trying to refresh the table and everytime i ger this error

the code that im using
Code:

Private Sub refreshsystem_Click()
  If MsgBox("refresh program? & vbCr & _
        "this may take some time depending on you system performance" & vbCr & _
        vbCr & "", vbExclamation + vbDefaultButton2 + vbYesNo, "refersh system") = vbNo Then Exit Sub
   
    Dim Frm As Form
    For Each Frm In Forms
        If Frm.Name <> "MDImain" Then Unload Frm
    Next
 
    frmload.Show 1
End Sub

dont know what to do

Viewing all articles
Browse latest Browse all 21349

Trending Articles



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