Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / October 2004



Tip: Looking for answers? Try searching our database.

Saving a file with the CommonDialog control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vbkoder - 30 Oct 2004 23:19 GMT
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
Signature

vbkoder

Jezebel - 31 Oct 2004 00:23 GMT
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.

> 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
[quoted text clipped - 6 lines]
>
> TIA
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.