title: Composite String Formatting (ie: using {0}, {1} and {2} in a string to format) in VB6
body: <p>As explained here (Composite Format String: <a href="http://msdn.microsoft.com/en-us/library/txafckwd.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/txafckwd.aspx</a> ) for VB.NET and C#.NET (.NET Framework).</p>
  
  <p>However, I have not seen this for VB6 anywhere, and google didn't return anything useful.</p>
  
  <p>Here is some sample code for .NET Framework (VB.NET and C#.NET) that I would like to do, but in VB6:</p>
  
  <p>In VB.NET:</p>
  
  <pre><code>Dim myName As String = "Fred" 
  String.Format("Name = {0}, hours = {1:hh}", myName, DateTime.Now)
  </code></pre>
  
  <p>In C#:</p>
  
  <pre><code>string myName = "Fred";
  String.Format("Name = {0}, hours = {1:hh}", myName, DateTime.Now);
  </code></pre>
  
  <p>If anyone knows how to do this in VB6, or if it exists in some hidden corner of VB Classic, I would love to know. Thanks.</p>