Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 28th, 2005, 04:45 AM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to save documents or file programetically

hi All,
   i have the program which converts the the doc/xls file in pdf file format. but at last , when the converting is done the save as dialog box is prompted for saving the file.
  i have to save the file through code with specific name.
is it possible.
                 vinod.....

 
Old March 7th, 2005, 11:52 AM
Jen Jen is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Vinod

Did you figure this out? Because I need to do it as well and am having the same problem.

Thanks!

Jen

Thanks!

Jen
 
Old March 7th, 2005, 01:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes it is possible :) bit I do not how you are saving the file. Please post the code that prompts the dialog box and I will take a look.
Marco
 
Old March 23rd, 2005, 07:26 AM
Authorized User
 
Join Date: Jan 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JelfMaria
Default

use filesystemobject to save file.
In proj-ref-select Microsoft scripting runtime u need to select for this






Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I save Crystal Report File to Image File? Muhammad Akbar Crystal Reports 0 July 10th, 2007 05:33 PM
Save PDF file as text file in VB.Net kvenkatu Classic ASP Basics 0 April 7th, 2006 01:09 PM
save a PDF file as text file through VB. NET kvenkatu VB.NET 0 April 6th, 2006 12:15 PM
save as CSV file cdsniti Java Databases 1 December 21st, 2005 07:26 AM
Open file and save it? tpsmith78 VS.NET 2002/2003 0 January 28th, 2004 12:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.