Passing variables to an included FB project

I have a project which will include other projects dynamically. The parameters for which project to include come from an ini file with this format:

[]
FBVarName1=FBVarVal1
FBVarName2=FBVarVal2

I store these as variables in the calling project.

I can call the project OK, but I’m getting errors when I pass the variables in.

Errors:
16130_errors
Is there a setting I can use to make this work?

Help. The target project ran with no variables and recursively started deleting my C drive.

Is there any way that the “delete files” action keeps things in the recycle bin? My recycle bin is empty.

Nope sorry, the delete files action uses the DeleteFile windows api which doesn’t use the recycle bin.

Thanks for the answer to the second question… but do you have one for the first? Is there a way to dynamically pass the variable names in?

Would setting the values in script (ie Action.SetVariable(%strCIR_FBVarName2%,%strCIR_FbVarVal2%) work? I’m going to try it…

That’s not working. Is there a way to set the “Set Project Variables in Included Project” by script? So I can use variables as the Variable names? The form seems to take whatever string I put in there as a literal.

I got it.

Action.Parameters.Add(strCIR_FBVarName2 & "=" & strCIR_FBVarVal2)
Action.Parameters.Add(strCIR_FBVarName3 & "=" & strCIR_FBVarVal3)
Action.Parameters.Add(strCIR_FBVarName4 & "=" & strCIR_FBVarVal4)

lol- thanks for the awesome help pages!