Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Everything is exporting in .xls, not .rtf even though code says .rtf 1

Status
Not open for further replies.

verizonrep

Programmer
Oct 29, 2002
48
US
I have not run into this before. I wrote some code to export and email some reports in the Rich Text Format. It was working fine for two weeks (since the program was developed) and then yesterday, no matter what the code says, it changes the name of the report and puts a .xls on the extention. If I save the email attachment and change the extention, the report comes out fine, but I don't want my end user to have to go through that hassle. If I manually do an export as a .rtf file it will flip it over into Word just fine.

Anyone else seen this? Any answers as to why this is happening?


Thanks,

Will
 
Try clearing your Temp folder and re-sending.

Documents and Settings\User Name\Local Settings\Temp
 
Worked like a charm. I've never run into this before. I wonder why this would cause such a problem.


Thank you VERY MUCH!


Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top