If you don't need to send any info to the program you could just do it like this:
supposing your MI object is set to mi in VB: mb_prg = "C:\MyApp\my_app.MBX" mi.Do "Run Application """ & mb_prg & """ " Works for me. Cameron Alit Sastrawan wrote: > Dear All, > > I have made an integrated mapping using visual basic, > then I have made a mapbasic application. my question > is how to call it from visual basic? > > I have created a button in visual basic that i use to > call it, fisrt i write Run Application syntax and then > i confuse what next? how to call the function that i > created in mapbasic? > > I hope You help me, please! > thank you very much fo the attention. > Regards, > > Alit > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com > > _______________________________________________________________________ > List hosting provided by Directions Magazine | www.directionsmag.com | > To unsubscribe, send e-mail to [EMAIL PROTECTED] and > put "unsubscribe MapInfo-L" in the message body. _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.
