This content has been marked as final. Show 2 replies
Assuming you are using Shell Execute to run your VB.net program in Dispatch, insert the variable %PathToSelectedFile% in the Parameters textbox.
Change your VB.Net program to get the filename from the command line argument.
Dim filename as string = My.Application.CommandLineArgs(0)
Another thing you could look at doing is taking advantage of your workflow to do this. I did that on our workflow.. I've got a Pre-Development state on the workflow with an automatic transition to In Development on our files. That automatic transition sets variables on the data cards. It's pretty simple to set it up that way.