Hi,
I'm using VB 2005 and I have a problem formatting a string when I use the print preview dialog box. I'm using just the vbCrLf character and the Space function to correctly align my data and when I write this data to a textfile, it's formatted the way I want it to be. But when I display it with the print preview dialog, the format is wrong.
I was able to trace the problem to either the Space function or the font. When writing to a file, no font was specified but in the print preview, I used Times New Roman. Also, the space function seems to be returning a white space that is shorter than one character....I'm not really sure about the last part.
Can someone help me out with this?
Preethi