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
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.