Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


Where is your Baan/LN hardware located?
On Premise
Hosted Data Center
Cloud (Azure/AWS - Not Infor Cloudsuite)
Infor Cloudsuite
Total votes: 7

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 30th November 2001, 00:13
francishsu francishsu is offline
Join Date: Nov 2001
Location: Holland, MI USA
Posts: 52
francishsu is on a distinguished road
Baan: IVc4 - DB: Oracle - OS: HP-UX
Question Baan errors when running session via OLE

I have a Visual Basic application that executes a Baan DLL function, which in turn runs a Baan session. If I do not already have the Baan client open, it works perfectly. If the Baan client is already running, it works but gives the following BW error message twice:
Object 0 in process <session PID> not found

I tried one of the Baan sample spreadsheets, and the Baan sample works in both cases without error. The error messages appear during the execution of the Baan session, somewhere between the before.program section, and the form.1/init.form section.

Sample pseudocode:
[Windows application]
BaanObj = CreateObject("Baan4.Application")
BaanObj.ParseExecFunction <DLL>, <DLL function>

[Baan DLL function]
change user's company according to argument passed to the DLL
activate("<Baan session>", <arg1>)

[Baan session]
nothing special going on here
Reply With Quote
Sponsored Links
Old 30th November 2001, 00:32
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 591
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Try replacing activate with$ in Baan IV or start.session in BaanERP.
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Baan IVc4 & Informix 9.40 - Anyone running it or planning to? triton45 Operating Systems & Databases 1 5th February 2004 19:11
Handle OLE errors and safety disconnect balzamaor AFS/DDC/OLE: Function servers 1 24th June 2003 14:16 Community Bulletin 01/05/2002 patvdv About 0 1st May 2002 15:04
BSP-US (LLC) added as a Baan Education Alliance svandenh General Discussion & Chat 1 20th August 2001 19:44

All times are GMT +2. The time now is 23:04.

©2001-2018 - -