RobotStudio event

Using app.config file

Hi

I am trying to use the app.config file in a vb.net app to add known IP address's outside of the local network. I have edited the app.config by adding the address and have made sure that local reference of the SDK is set to true on local copy. When I run my app and do a scan I only see the local controllers and do not see the remote ones. If I use the following  NetworkScanner.AddRemoteController("10.205.34.1") then I can see the controller, but I would like to use the app.config so I can use the other setting like the scan time.
Is there something you need to add to the vb code to get it to read the app.config file at run time?

Any help would be great

Thanks

Dave


Comments

  • Hi,
    have you tried to naming you app.config as same name of your executable file name? (app_name.exe.config)
    i had a related problems with "dependentAssembly" and i have resolved by this way.

    regard Ema