Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-29-2009, 04:31 PM
ShiamakD ShiamakD is online now
Registered User
 
Join Date: 04-28-2008
Location: us
Posts: 32
Load a text file contents in a macro

Hi,

I would like to load a txt file contents (abc.txt) in a defined temp macro and then display it?

How can this be done.. I tried to use Application.load function without any success.

Just a suggestion, your help file is very unconventional, its hard to find anything and understand it in a shorter time..

if you could make your help file similar to micosoft (listing apis with examples etc, this would be really helpfule, and would be easy for VBLD user to find answers.

Though I rate your web support as staright *****(5 starts).

Thanks for your help.
Reply With Quote
  #2  
Old 06-29-2009, 04:37 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See attached sample and following help topics.

http://www.kinook.com/VisBuildPro/Ma...fileaction.htm
http://www.kinook.com/VisBuildPro/Ma...sageaction.htm
Attached Files
File Type: bld readfile.bld (582 Bytes, 1649 views)
Reply With Quote
  #3  
Old 06-29-2009, 04:43 PM
ShiamakD ShiamakD is online now
Registered User
 
Join Date: 04-28-2008
Location: us
Posts: 32
Quote:
Originally posted by kinook
See attached sample and following help topics.

http://www.kinook.com/VisBuildPro/Ma...fileaction.htm
http://www.kinook.com/VisBuildPro/Ma...sageaction.htm
This seems to be VBLD 7.1 funtionality which i dont have access to, can this be done (any other way) either in 6.7a?

Thanks
Reply With Quote
  #4  
Old 06-29-2009, 09:31 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Use a Set Macro step with a value of

[vbld_GetFileContents("c:\path\to\file.ext")]

http://www.kinook.com/VisBuildPro/Ma...acroaction.htm
http://www.kinook.com/VisBuildPro/Ma...xpressions.htm
http://www.kinook.com/VisBuildPro/Ma...scriptfile.htm
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:16 AM.


Copyright © 1999-2023 Kinook Software, Inc.