Visual Basic Visual Basic VISUALPARAM (Programmer) (OP) 26 Feb 03 07:15 Pass parameter to exe file in Visula Basic. RE: Visual Basic rtrtrtrt (Programmer) 30 Oct 03 09:39 Some points about your query:1. You can't use a VisualBasic .EXE file, use a .DLL (dynamically linked library) instead; choose to create a DLL when you compile your VB program - see VB compilation options.2. DarkBasic will call a function/subroutine in VB.First off, make sure you have at least v1.12 of darkbasic (check www.darkbasic.com for patch upgrades).Then you need to use the DB DLL commands to load the DLL and access functions/subs from it. Check the 'YourOwnCommands' sample programs (unfortunately only VC++, Delphi examples but should give you some ideas) which are located in your DarkBasic directory under 'extras\yourowncommands'. I recommend you check the Delphi version as even if you don't know Pascal the language is fairly intuitive & you should be able to find the function that the DB code calls.n.b. You will only have these programs if you have the correct DB version as mentioned above.