Ricksan Posted October 12, 2007 Author Share Posted October 12, 2007 Hi allI am geting this run-time error "13" when I hit the play button in VB6, I did not change anything in that sub.debug points to Emoticons(i).Pic = GetVar(fileName, "EMOTICONS", "Emoticon" & i) in this sub.```Sub LoadEmos()Dim fileName As StringDim i As Long Call CheckEmos fileName = App.Path & "\emoticons.ini" For i = 0 To MAX_EMOTICONS temp = i / MAX_EMOTICONS * 100 Call SetStatus("Loading emoticons... " & temp & "%") Emoticons(i).Pic = GetVar(fileName, "EMOTICONS", "Emoticon" & i) Emoticons(i).Command = GetVar(fileName, "EMOTICONS", "EmoticonC" & i) DoEvents Next iEnd Sub```I got it working thankz all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now