Yeah, communicate with it by using either files, the clipboard, or by passing memory using the pointers to memblocks. An alternative may be to use VBScripting. That will allow you to write code directly from DBC if you want. If you use HTA, you can actually create forms and such. Here's an example right off of Microsoft Tech (modified for DBC):
fname$="test_hta.hta"
if file exist(fname$) then delete file fname$
open to write 1,fname$
write string 1,"<head>"
write string 1,"<title>HTA Test</title>"
write string 1,"<HTA:APPLICATION"
write string 1," APPLICATIONNAME="+chr$(34)+"HTA Test"+chr$(34)
write string 1," SCROLL="+chr$(34)+"yes"+chr$(34)
write string 1," SINGLEINSTANCE="+chr$(34)+"yes"+chr$(34)
write string 1," WINDOWSTATE="+chr$(34)+"maximize"+chr$(34)
write string 1,">"
write string 1,"</head>"
write string 1,"<script language="+chr$(34)+"VBScript"+chr$(34)+">"
write string 1," Sub TestSub"
write string 1," Msgbox "+chr$(34)+"Testing 1-2-3"+chr$(34)
write string 1," End Sub"
write string 1,"</script>"
write string 1,"<body>"
write string 1,"<input type="+chr$(34)+"button"+chr$(34)+" value="+chr$(34)+"Run Script"+chr$(34)+" name="+chr$(34)+"run_button"+chr$(34)+" onClick="+chr$(34)+"TestSub"+chr$(34)+"><p>"
write string 1,"</body>"
close file 1
execute file fname$,"","",1
print
It basically creates an html file (renamed with the extension hta) that contains a VBScript. Once you launch the HTA file, it runs the script and behaves like a form. Check out:
HTA
Enjoy your day.