Hi all,
 
I'm using vb 2005 express and I created a program to use mapinfo as a base for my tables, I'm using callbacks and succesfully conect with all Mapinfo funcitons as I want.
 
I have a couple of issues I'm working on, but the main one is that I'm receiving a COM error when I'm closing the last table I'm using, these are the steps:
 
1) I'm connecting via OLE
2) I'm using a Form as MIDI and a picture box on my MIDI dialog box where I can see my mapinfo tables
3) I can basically run any of the mappinfo commands through my program, open, close, modify tables, open Mif files, etc. I can get back the info windows, etc. Very good and very nice.  But now I want to do some other especific table manipulations. 
 
The error I'm having and no matter how I tried can't find the reason. It might be something related to the OLE connection, but I would like your suggestions, if possible on how to fix my problem. Here are the steps I want to do and the problem
 
1- I'm registering a table from a text file.
2- I open the table
3- create the map of the table
4- create a selection of that table, from which I create points, according to my coordinates.
5- I commit this selection and points to a new table, as I want to be able to open it later as a regular table.
6- I close the selection
 
No errors so far, but then when I want to close the initial table, which is the one corresponding to the .txt file I read, I have an error that is:
 
"The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"
 
If anyone has any idea on why this is happening it would be greatly appreciated!!!
 
Thank you.
 
SM
 
 
 
_______________________________________________
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to