Using app.config file
gbdalar
✭
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
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
0
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
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings