I have done this in VB the code goes like this
create a Batch file say XYZ.bat in the dos mode
if the batch file is stored as c:\xyz.bat then
in VB enter the two lines
exportreport to the file name say ABC
a=shell("c:\XYZ.bat")
this line will call the batch file
 
the XYZ.bat should contain
edit ABC.txt
c:\ABC.txt>prn  this will call the print function which will print the ABC file.
exit                    exit the function
 
the same has worked for us in a great manner
hope this will solve u r problem.
 
 
bye
cheers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Subhash M.Nadagouda
Henry Ford once said
"If you think you can and if you think you can't then you are always right"


Do you Yahoo!?
The all-new My Yahoo! � Get yours free!

To unsubscribe, send an email to:
[EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=:HM/A=2434971/rand=910328542


Yahoo! Groups Links

Reply via email to