hteixeira
6th May 2015, 20:26
I need connect with another external application(vbscript, C#) to ERP LN and run a dll. In Baan IV I had baan4 dll I plugged in this way:
Baan4Class BaanObj = new Baan4Class();
BaanObj.ParseExecFunction("ogpvc9999",
"com9999.inserir(\"4"
+ "teste 1\",\""
+ "teste_2\")");
Anybody helps me?

Thanks

bhushanchanda
7th May 2015, 10:46
Hi,

Check this - Thread (http://www.baanboard.com/baanboard/showthread.php?p=182493#post182493)

hteixeira
7th May 2015, 12:06
return me the error "The ActiveX component can't create object: 'Baan.Application.Test'

How does he know what the bw he has to connect?

bhushanchanda
7th May 2015, 12:11
Hi,

You need to provide a name of one of your Config file.

You can get the class names in the Registry as well.

For Windows - Go to Regedit - > HKEY_CURRENT_USER - > Software - > Classes - > Now, You might have multiple or single entries with Baan.* some names. They are nothing but the configurations you use on your worktop.