Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: changing text files


Message #1 by Greg Partin <GPartin@c...> on Thu, 11 Oct 2001 09:09:11 -0400
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

  Return to Index