Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
38%
Installation Wizard into new VRC
41%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 37

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 30th November 2001, 01:13
francishsu francishsu is offline
Member
 
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
  #2  
Old 30th November 2001, 01:32
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Try replacing activate with zoom.to$ in Baan IV or start.session in BaanERP.
__________________
~Vamsi
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
Reply


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 20:11
Handle OLE errors and safety disconnect balzamaor AFS/DDC/OLE: Function servers 1 24th June 2003 15:16
Baanboard.com Community Bulletin 01/05/2002 patvdv About Baanboard.com 0 1st May 2002 16:04
BSP-US (LLC) added as a Baan Education Alliance svandenh General Discussion & Chat 1 20th August 2001 20:44


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


©2001-2017 - Baanboard.com - Baanforums.com