Hi all,
M using visual basic 2005. I have declared a variable Log_File as integer in a module.
I've open a file using openfile in a function (which is again defined in the same module). M using a Print function to write inot the file. When i call Print function within same moude it works fine. But if i call Print from a event in form, i m gettin bad ile name or number exception.
Can anyone help me. Wat m i missin her?
Thanks in advance
Virendra Chaudhary
M using visual basic 2005. I have declared a variable Log_File as integer in a module.
I've open a file using openfile in a function (which is again defined in the same module). M using a Print function to write inot the file. When i call Print function within same moude it works fine. But if i call Print from a event in form, i m gettin bad ile name or number exception.
Can anyone help me. Wat m i missin her?
Thanks in advance
Virendra Chaudhary
Comment