Home > Archive > Visual Basic > October 2004 > Saving a file with the CommonDialog control
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Saving a file with the CommonDialog control
|
|
| vbkoder 2004-10-30, 8:55 pm |
| I have seen a lot of code snippets on the web, and everyone without fail does
a little rtb.savefile to the control. I have a .DSR report in VB6 that I am
trying to save to file. The .dsr has its' own interface when the report is
run. It has a print and export feature. Using the Export feature saves the
report in html or text just fine. Is this possible with the commondialog
control. When I try to do a write or print #1 of the filename or filetitle,
it writes only the path name or filename in the file. Any help would be
sorely appreciated.
TIA
--
vbkoder
| |
| Jezebel 2004-10-30, 8:55 pm |
| The common dialog control doesn't *do* anything apart from getting input
from the user. If you use the control's Save method, it returns a filename.
It's up to you to save the file using this name.
"vbkoder" <vbkoder@discussions.microsoft.com> wrote in message
news:B1AE283D-C089-4345-AD27-EC576138EB82@microsoft.com...
> I have seen a lot of code snippets on the web, and everyone without fail
does
> a little rtb.savefile to the control. I have a .DSR report in VB6 that I
am
> trying to save to file. The .dsr has its' own interface when the report is
> run. It has a print and export feature. Using the Export feature saves the
> report in html or text just fine. Is this possible with the commondialog
> control. When I try to do a write or print #1 of the filename or
filetitle,
> it writes only the path name or filename in the file. Any help would be
> sorely appreciated.
>
> TIA
> --
> vbkoder
|
|
|
|
|