I am not sure I understand.
Is this what you want?
filename = "pnm://" & hostname & "/directoryname/Activities/hypotenuse.rm"
It seems too easy to me...
m.
-----Original Message-----
From: Greg Partin [mailto:GPartin@c...]
Sent: Thursday, October 11, 2001 6:09 AM
To: professional vb
Subject: [pro_vb] changing text files
Hi folks,
I'm writing an install app with VB that will place around 5000 pnm files
onto a server. The problem I am running into is that at design time I have
no idea what the server names will be on which the files will be placed. So
I have a pnm file that has this:
pnm://servername/directoryname/Activities/hypotenuse.rm
The install screen prompts the user to specify the server name, so capturing
the name is easy. How can I easily convert these 5000 pnm files to change
the above to:
pnm://GREGSSERVER/directoryname/Activities/hypotenuse.rm
Any help would be appreciated!
Thank you and much obliged,
Greg