mr_suleyman
8th September 2004, 08:04
Hello All , I use GVIM on winxp .

I set developer settings "C:\Program Files\Vim\vim63\gvim.exe" for editor on BAAN tools. But it couldn't start gvim program. Only I can start it manually from windows. On baan, I couldn't start it. Additionally I work it on windows by using this path that is "C:\Program Files\Vim\vim63\gvim.exe" -y
-y provides not to use vi editor properties.In this way you can use it like notepad. That 's all.
How can I start it from BAAN with "-y" option.

Thanks ...

günther
8th September 2004, 11:16
First of all, I guess there is a PATH problem. What happens if you just enter "notepad.exe" (or even "notepad")? Does it work? If yes, locate where notepad.exe really is on your pc.

Second, I think you could also enter a file with extension .BAT or .CMD, so what I would do:

create a file gvim.bat (or gvim.cmd) that contains the complete path and additional command line options, such as

C:\Program Files\Vim\vim63\gvim.exe -y %1 %2 %3 %4 %5 %6 %7 %8 %9

place that file e.g. into the directory where notepad.exe was found

and replace the entry "notepad.exe" by "gvim.bat" (or "gvim.cmd").

But: I'm on UNIX, so it's just an idea!

wiggum
8th September 2004, 12:11
I think, the problem is the space in the path. Try the short name for your folder "Program Files": progra~1

mr_suleyman
8th September 2004, 18:06
Hi Gunter
I can success it by using bat file .After that another problem occured. It opens GVIM but I couldn't see my coding in GVIM. It came back blank in GVIM.

I need help...

mr_suleyman
8th September 2004, 19:01
Hello all,
I define global parameter GVIM on winxp
On baaan , I define developer path that is GVIM
When I edit my coding it gets me my baan code but when I update my coding
and save it , my baan couldn't update my code. When I close editor and look
at my code, I see old version of code.

What is problem ? new setting ?.....

lbencic
8th September 2004, 19:11
I noticed that you said you took off the VI commands - so...

what command are you using to save? I don't have the VI commands off, and when I choose 'Save' it says it's issuing the :w VI command. I think most people run this with the VI commands in there, if not, why don't you just use notepad?

I would try turning the VI options back on just to see if the save works then.

mr_suleyman
8th September 2004, 19:20
hi,
it opened my coding on gvim , I used SAVE option or :w option it saved it. BUt When I
re-open my source code , I saw that there was nothing change . I mean that ıt couldn't save my changings.
What is problem ?

lbencic
8th September 2004, 19:21
Are you still using the -y option?

mr_suleyman
8th September 2004, 19:26
I used -y it didn't work namely didn't update my code.
also I used -E option , didn't work ...

lbencic
8th September 2004, 19:32
Not sure what -E is for. I have no options (-R on the read only), and mine works ok, I did not have to make any changes after install and calling it from Baan.

Can you attach a screen print of your current Development Parameters screen(s)?

mr_suleyman
8th September 2004, 19:46
On my computer set gvim is a global enviroment and gave value
"C:\Program Files\Vim\vim63\gvim.exe" -y
look at attached file

lbencic
8th September 2004, 19:51
Just to test, try and remove the -y, I think it may be trying to issue the :w command, and since the VI commands are off it can't. Not sure - I don't use the setup on the PC like you did, I was able to directly put the path in Baan:

c:\Vim\vim62\gvim.exe

As mentioned above, maybe the problem with your path was the spaces. Try removing the spaces (using the DOS shortened names) or moving gvim to an easier place to access. Also, as you can see, I have version gvim62, maybe there is a problem in gvim63, but I would not think so...

mr_suleyman
8th September 2004, 21:01
Thank you for your help
Before I wrote samethings in developer settings, it didn't work but I rewrote
samethings now it is working...
Thank you..