Hi, Sam,
Great!!! That is 99.99999% what I want to do. I only changed "ip"+Str(Locals.loop_count+1) to Locals.INIFILE_Key in the "Edit ActiveX/COM Call" window to take any configuration key words.
Thanks, thanks, thanks to you and Ray for your great help.
Best regards,
Xuedong