Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 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 4th, 2008, 07:10 AM
Authorized User
Join Date: Sep 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to Execute a file during setup

Hi all

I want to copy my mdb database file during setup at application path.
please tell me how can i do it.

Thanks in Advance

Old January 4th, 2008, 07:12 AM
Friend of Wrox
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts

The best option is to include your database in the list of files when you create the setup (using the Package and Deployment Wizard)



VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Old January 20th, 2008, 10:38 AM
Authorized User
Join Date: May 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

hello use the filesystemobject paremeter


dim fso as filesystem object

write back if you encounter any problem.

Old January 22nd, 2008, 03:20 PM
Friend of Wrox
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

dextergaisie, Akhilesh specifically said, “[u]durin</u>g[u] setu</u>p.”

The question was not a general question regarding interacting eith the file system...

Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute a File arunmohanmp Perl 1 June 19th, 2006 06:23 AM
Execute .exe file and terminate it courseware ASP.NET 1.0 and 1.1 Basics 1 March 13th, 2006 02:08 AM
Cron Jobs - Execute File itHighway Beginning PHP 0 November 20th, 2005 10:52 PM
execute exe file from web shinedas ASP.NET 1.0 and 1.1 Basics 1 November 9th, 2005 03:07 AM
Execute .exe file and terminate it Wayang_Mbeling Classic ASP Basics 9 October 18th, 2005 02:42 AM

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