I have tried to add a dial-up connection to a dialogbox. I read the article "Dial-Up connection" by Mileta Radenovic and the sample code he use looks like