i've been writing a vb 6.0 program and in it i need to have a text file created during runtime as follows:
Set fs = New FileSystemObject
Set fname = fs.CreateTextFile("D:\vb\perlprog.txt", True)
fname.WriteLine ("#!/usr/bin/perl -w")
fname.WriteLine ("use strict;")
fname.WriteLine ("my $t = Net::Telnet->new(Host => $ipad, PORT => '23'
+ , Timeout => 10 , Errmode => 'return');")
in that vb program, i've taken data in a variable like this: IPAD = rec3("IPADDRESS")
i want to take this value(an ip address) from this variable to $ipad variable in the perl program...should i write it in perl or vb??if in perl, then how?