Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
XML
Public DataPreview As String

<pre lang="vb">Private Sub cmdPreview_Click()
DataPreview = &quot;Name: &quot; &amp; salutation(sal) &amp; &quot;. &quot; &amp; txtFirstName.Text &amp; &quot; &quot; &amp; txtSecName.Text &amp; vbCrLf &amp; &quot;Age: &quot; &amp; txtAge.Text

frmPreview.Show
End Sub</pre>
Posted

1 solution

Your question is not very clear but try using &nbsp;
 
Share this answer
 
v3

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