My program copies files from a user's hard drive to a network drive. In one case, the user must decide into which subdirectory a file should go. I want to pop up a form that asks, "Should this file go into subdirectory A?" and give two radio buttons of yes and no and an OK button.

I'd like the popup form to return a 1 if the yes radio button is checked and a 0 if the no radio button is checked so I could use the result in an if statement like:

VB Code:
  1. Dim Frm2 As Form2
  2. Dim dir As String
  3.  
  4. If Frm2.show().result() Then
  5.      dir = "SubdirectoryA"
  6. Else
  7.      dir = "SubdirectoryB"
  8. End If

I have Frm2.show().result(), but I don't know what should go there.

Does this make any sense?