Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning 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 November 19th, 2007, 06:26 PM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default Trying to make an *.exe

hi all,
    Need some help, i'm trying to make my project an executable but when it runs through compiling the code it gets to a Public sub procedure called from a module and says that the argument is not optional!

the code is:

Code:
AddSong artist, album, filename
Any ideas?

Cheers,

------------------------------------------------
Apocolypse2005
Always ready and waiting to be helped!
__________________
Apocolypse2005, I'm a programmer - of sorts.
 
Old November 19th, 2007, 08:52 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

The error comes because the function AddSong is called with lesser no of arguments

Try to go to the function definition of AddSong (you can right click on the function call and select Goto Definition from the popup menu) and find out the appropriate arguments and use them in the function call.

Cheers
Shasur


http://www.dotnetdud.blogspot.com

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
make Exe out of VBA code roli2712 Excel VBA 2 July 4th, 2007 02:06 AM
make exe file khandangoll VB Databases Basics 2 October 9th, 2006 01:05 PM
Make an EXE file vivek_inos Access VBA 3 March 15th, 2006 10:55 AM
how to make .exe and setup file in java? gaurav_chhabra_911 Java GUI 2 November 23rd, 2004 06:22 AM
Make exe files MikeJames42 VB How-To 11 February 12th, 2004 05:38 AM





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