Shouldn't you be posting this is the .Net section if your program is .Net advise you get in VB6 will be different and may not work.