Dear all,
    I'm student doing my project now. My project is Visualbasic which need to 
communicate with MapInfo application. I had 1 small problem which I don't know what to 
do.
I create Visual Basic application to search for Table file and this application is 
able to preview 
each file.

I knew from MapInfo support team that I can use command:

MapInfo.Do "Open Table ""D:\My document\class\Project\GIS\Data\boundary""Interactive"
MapInfo.Do "Map from boundary"

Above commands let me open file "boundary.TAB"
but if I store file location into variable for example

str_Location = "D:\My document\class\Project\GIS\Data\boundary"
how can I use str_Location to open file in MapInfo.Do command?
I tried
MapInfo.Do "Open Table " & str_Location & "Interactive"
but it didn't work?

please suggest me
Thanks very much in advance

Surakasem V.

Reply via email to