Okay, so i am developing this program, where you fill in the details and when you press create it pops up a window that had a bunch of code with the correct details from the textboxes in the code?

So Say if it asks for my IP address, i enter the IP address, and when i click create the next window will have the code with my IP in the code.

When i enter the details, i want the details to be entered inside of here:


<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0" id="habbo" width="720" height="540">
<param name="src" value="TEXTBOX4">
<param name="swRemote" value="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' ">
<param name="swStretchStyle" value="none">
<param name="swText" value="">
<param name="bgColor" value="#000000">
<param name="sw6" value="external.texts.txt=TEXTBOX6">
<param name="sw2" value="connection.info.host=TEXTBOX1;connection.info.port=TEXTBOX3">
<param name="sw4" value="connection.mus.host=game.habbohotel.nl;connection.mus.port=30001">
<param name="sw3" value="client.reload.url=TEXTBOX2">
<param name="sw1" value="site.url=http://www.habbohotel.nl;url.prefix=http://www.habbohotel.nl">
<param name="sw5" value="external.variables.txt=TEXTBOX5">
<embed src="TEXTBOX4" bgColor="#000000" width="720" height="540" swRemote="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'" swStretchStyle="none" swText="" type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/" sw6="external.texts.txt=TEXTBOX6" sw2="connection.info.host=TEXTBOX1;connection.info.port=TEXTBOX3" sw4="connection.mus.host=game.habbohotel.nl;connection.mus.port=30001" sw3="client.reload.url=TEXTBOX2" sw1="site.url=http://www.habbohotel.co.uk;url.prefix=http://www.habbohotel.co.uk" sw5="external.variables.txt=TEXTBOX5" >
</embed>
</object>


So this would be in the RichTextBox on the loader.vb window and when i click create on the Form1.vb it enters the info from Form1.vb into the RichTextBox in Loader.vb how can i do this?