vb6 - VB 6 How to make Custom Collection Class to support For Each -


i've been placed on project client front end written in vb 6, ack! i'm trying develop custom collection class supports for...each syntax. possible in vb 6? or stuck using for..next counter identify index.

thanks help!

the key part adding custom collection class...

public function newenum() iunknown     set newenum = m_employees.[_newenum] end function 

and in procedure attributes, set procedure id -4, so: enter image description here

ref: http://www.vb-helper.com/howto_custom_collection_with_for_each.html


Comments

Popular posts from this blog

how to build hyperlink for query string in php -

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

queue - mq_receive: message too long -