Try calling the method without the parentheses.
objGWMail.SendMail "Davis", "test1", "test1"
When its called with the parantheses VB assumes it's a function. I thing you could also call it this way:
call objGWMail.SendMail("Davis", "test1", "test1")
|
Results 1 to 3 of 3
Thread: Bug in VB6 or SP3??Threaded View
|
Click Here to Expand Forum to Full Width |