Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Saving a file with the CommonDialog control
I have seen a lot of code snippets on the web, and everyone without fail doe
s
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

Report this thread to moderator Post Follow-up to this message
Old Post
vbkoder
10-31-04 01:55 AM


Re: Saving a file with the CommonDialog control
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



Report this thread to moderator Post Follow-up to this message
Old Post
Jezebel
10-31-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:10 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.