I thought I'd screw around with this today, and found out that running netagent to connect to the network always pops up a dialog. So, it's not a good way to do the connection for something that runs in the background and connects multiple times. Maybe some program written against the SDK might work better (unless the functions there that connect to the net also pop up a dialog each time).
|