Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I want to write a VB code that calls a perl script and write the value of a few arguments into the perl script. I don't want to execute the pl file. The final output should be the perl script(.pl file) with the user entered value of those arguments.
How do I do that?
It is urgent, do help.
Thanks

What I have tried:

I am not much familiar with perl and its functioning.
Posted
Updated 9-May-16 10:00am

1 solution

A perl script is just another text file with a pl extension. You can use VB or VBA to write to a text file.

You tagged the question VBA, but then as VB in the actual question. Which are you really using? Because writing to a file is different between the two.

VBA:
VBA - Text Files[^]

VB:
How to: Write Text to Files with a StreamWriter in Visual Basic[^]
 
Share this answer
 
Comments
Member 12508867 18-May-16 10:00am    
Thanks AvilRanger

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900