wenaymj
7th October 2005, 12:27
I want to create BaaN Application object from VB without user interface say username and password

My code is as below

dim objBaaN = CreateObject("Baan4.Application")

When I run this code it will popup user dialogue but I dont want user intervention. I want to pass username and password along with, So that it will create an object without asking username and password

Anybody have any Idea?

I would be very much helpfull

Thanx

lbencic
8th October 2005, 00:16
This is a heavily discussed topic - try a search for more info.

Generally what people do is save the name and password in the bwc that they call.

Here's a Link to a recent discussion (http://www.baanboard.com/baanboard/showthread.php?t=25235&highlight=vb+password)