MI-L Wrong RowIDs

2003-12-15 Thread Fabio Cabella
Hi All, I'm adding some graphical objects into a table. For each I store the RowID so I can remove those objects. I do something like this: Do "Insert Into myTable(Obj) values(CreatePoint(_lat_, _long_))" I use Eval "myTable.RowID" to retrive the new insetred rowID. If I insert only points I

Re: MI-L UltraEdit and MapBasic

2003-12-10 Thread Fabio Cabella
try also quote %f and %p... "C:\Program Files\UltraEdit\MI_compile7.bat" "%f" "%p%n.err" Cabbi At 11:44 10/12/2003 +0100, Jaromir Svasta wrote: I managed Ultraedit to show error massages in its output window. Here is my tool configuration: "C:\Program Files\UltraEdit\MI_compile7.bat" %f %p%n.err

Re: MI-L UltraEdit and MapBasic

2003-12-10 Thread Fabio Cabella
doubling the quotation marks ""%1"" and ""%2"" should solve your problem Cabbi At 11:44 10/12/2003 +0100, you wrote: I managed Ultraedit to show error massages in its output window. Here is my tool configuration: "C:\Program Files\UltraEdit\MI_compile7.bat" %f %p%n.err MI_compile7.bat looks li

MI-L Pushpin (part 2)

2003-12-04 Thread Fabio Cabella
Hi all, thanks to your support I've drown my pushpins on the map. Do "Insert Into Cosmetic1(Obj) values(CreatePoint(_lat_, _long_)" Now my boss asked me to show near each pushpin a label. I've tried in different ways but without success. I tried this: Do("Insert Into Cosmetic1(Obj, Label) v

Re: MI-L Using MapInfo OLE in C++

2003-10-22 Thread Fabio Cabella
i, I did found mapInfow.cpp and mapInfow.h under MapBasic directory. I'll use them instead of the .tlb. I have a question though: the command "CreateDispatch..." will create a new instance of MapInfo. Is there a way to use the running instance directly ? Thanks Sam From: Fabio Cabell

Re: MI-L Using MapInfo OLE in C++

2003-10-22 Thread Fabio Cabella
You need to do a bit more than retrieve the MapInfo handle. You have to create an instance of the MapInfo OLE object within your application. There are several way doing this, the one I've used is to create a wrapper class of the MapInfo COM object. Just go into the ClassWizard and select from t

Re: MI-L Question

2003-09-04 Thread Fabio Cabella
Don't know if possible but if MapBasic let's you call Windows API you could call: SetForegroundWindow((HWND)hWnd) where hWnd should be an integer value returned by WindowInfo(WIN_MAPINFO, WIN_INFO_WND) if you meant 'in foreground' like 'top most' (i.e. always on top) you should use this

Re: MI-L MI Window

2003-09-03 Thread Fabio Cabella
I'm not sure about my solution but may be the 'WinChangedHandler' can be a good way to solve your problem, just set your window to 'front' each time. HTH, Cabbi At 14:33 03/09/2003 -0700, Gabriela Cardenas wrote: Hi MI users, I was wondering if any of you know of a way to keep a certain window on

RE: MI-L Pushpin

2003-08-28 Thread Fabio Cabella
o set the default Point object BEFORE running this command. if you need further info about getting the MapInfo object and stuff, then you've got some more research and fiddling to do, but we can help with that too. ash -Original Message- From: Fabio Cabella [mailto:[EMAIL PROTECTED] S

MI-L Pushpin

2003-08-27 Thread Fabio Cabella
Hi all, I'm new to the list and really new to MapInfo so need a little help! My application (VC++ 6.0) has do show a pushpin (any symbol with a label) of a specific latitude-longitude pair on a map. Well, if I'm right (please correct me if not) I have to write a macro with MapBasic and call the