I am having a problem with thinking of a way that would let me pass a selected file to another form.
I am trying to select a file in Form 1 by using Open File Dialog and then pass the same file to Form 2 in which I will try to add another entry into a file.
The problem is that I am nnot sure what I should be passing. Should I pass only openFileDialog.FileName or I need to pass more than just this?
I was thinking of this all day today but I don’t know how should I do this? Which parts of Open File Dialog should I pass over?
Or.. I might just thinking too hard of this problem. Please clear my mind.
1 Answer