Mirage Source

Free ORPG making software.
It is currently Sat Jun 15, 2024 8:54 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Jul 14, 2008 4:36 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 11, 2007 10:38 pm
Posts: 144
Location: USA - PA :(
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?


Attachments:
File comment: This is in modText.
error.jpg
error.jpg [ 85.67 KiB | Viewed 2822 times ]

_________________
Ravuya wrote:
If we didn't have randomness this forum would be full of a bunch of nerdy programmers being racist to Americans.
Top
 Profile  
 
PostPosted: Mon Jul 14, 2008 6:32 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
A method is essentially what in VB is called an "event procedure", aka a Sub. Your missing part of a Sub somewhere~


Top
 Profile  
 
PostPosted: Mon Jul 14, 2008 6:48 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
It means imgIcon doesn't have a "Count" "data member"

Which makes sense.. Why would an image control have to count anything?

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
PostPosted: Mon Jul 14, 2008 7:01 pm 
Offline
Regular
User avatar

Joined: Tue Jan 02, 2007 7:31 pm
Posts: 81
Location: UK
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group