Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Emoticons in Chat
#1
I did the emoticon in chat tutorial by Tutorial Bot and when I ran it in Cerberus, I got the error in the attatchment.

Any clue how to fix?
Reply
#2
A method is essentially what in VB is called an "event procedure", aka a Sub. Your missing part of a Sub somewhere~
Reply
#3
The part your missing Poyzin is the array of images the .count method is expecting to find.

ref:
Quote:4. On frmIcon, make an INDEXED image (as many as you want for emoticons), named imgIcon.
Basically copy and paste imgIcon onto frmIcon as many times as you have emoticons, the first time you c+p the image box the IDE will ask you if you want to make a control array, click yes.
Each new imgIcon is now refered to by its position in the array eg; imgIcon(4).

Code:
For i = 0 To frmMirage.imgIcon.Count - 1 'Loop through each icon
The frmMirage.imgIcon.Count defines the upper value of the For loop as - the number of imgIcon images in the array minus 1.

Hope this helps.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)