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

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 49

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 14th April 2018, 04:40
vik.patil vik.patil is offline
Join Date: Apr 2008
Posts: 53
vik.patil is on a distinguished road
Save file on Local Machine for BAAN IV
Baan: Baan IVc4
C/S: None/Unknown

Hi All,

We are extracting .csv file out of Baan IV Standard Report/Session and we don't have source code so unable to add field as File path so we need to save this file local machine with User's choice of Path. We have tried with but getting compilation error. We have first tried with #include <bic_desktop> but got compilation error so switched to #pragma used dll "ottdllbw" but still we are not able to compile script for this function. Other function as Server2Client is working fine with ottdllbw.

Do we have any other function/option to save file on local machine without hard coding file path.

Any help will be appreciated.


Vikram Patil
Reply With Quote
Old 14th April 2018, 10:35
bdittmar's Avatar
bdittmar bdittmar is offline
Join Date: Apr 2002
Location: Germany, 50.584097,8.544078
Posts: 1,713
bdittmar will become famous soon enough
Baan: 2.2/3.1/4c4/LN6.1 FP6/FP9/HiDox - DB: tbase, ms-sql7, oracle10gV1, 11g - OS: HP-UX, W2K3, SLES
Move file across hosts ?


function long  (const string source, const string target)


This moves a specified source file to the location specified in the target argument. The file can be either local or remote. Source and target can be on different hosts.


const string source Source file.
const string target Target file.
OR (Not avaiable in BIV)

function long seq.saveas.dialog.local  (string defaultname, string directory, string filter, ref string filename)


This shows the Windows file save-as dialog, to allow the user to select a new or existing local file to be saved.


string defaultname The default filename shown in the file save-as dialog.
string directory The startup directory for this dialog. In case of an empty string the "My Documents" directory will be the default. This parameter may include the string ${BSE_TMP} which indicates the ${BSE}\tmp directory in case of Baan Windows or Windows temp directory in case of Webtop.
string filter This argument specifies all possible file extensions for the file. The string must contain pairs of strings that are separated by a "|" character. The first string in each pair is a filter name (for example: "Text Files"). The second string must be a filter patern (for example: "*.txt"). Multiple filter patters can be specified by separating the filter patterns with a semicolon. Example: "All Files(*.*)|*.*|Text Files(*.txt) Word documents(*.doc)|*.txt;*.doc"
ref string filename Output argument which will contain the full path of the file selected by the user.
And have a look at :

Create a print device with your own converter that's using ttstpconv
(I've done in 2002 and ported from BIV to LN in 2010, does't work with Ming-LE an LNUI, but with Worktop and BECS)


Last edited by bdittmar : 14th April 2018 at 18:35. Reason: save as added
Reply With Quote
Sponsored Links

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
Programming Question mr_suleyman Tools Development 37 11th November 2016 08:14
Undocumented Functions & Variables george7a Tools Development 81 30th September 2015 11:35
bshell received SIGTERM manojsharma Tools Development 11 5th June 2008 09:22
Audit file structure baan_user Tools Development 8 4th May 2007 14:32 berthe Miscellaneous 4 12th May 2005 10:20

All times are GMT +2. The time now is 20:50.

©2001-2018 - -