Adding Picture to Powerpoint via vb.net

@Kuki_Force ,

Instead of declaring variables, within our invoke code activity, we should use arguments

Please check this topic (and it’s example) for a better understanding:

Hope it helps!
Best regards,
Marius