Have you considered a router that has an automatic dial-up backup, if the connection goes dow it will make the alternate connection for you, no code necessary.
Bob
>As i wrote somewhere else in this forum, I am trying to make an operatorless PC connecting to an FTP server.
>It could be the case that no DSL connection is available so that I have to manage a dialup connection.
>I tryed by calling the dialinternet() function but i run into windows messages or error i could not skip.
>I mean line busy, no signal line and so on.
>What I need is to make those messages fading or not appearing at all. Is it possible ?
>I also tryed calling the rasdial command and it seemed to sove my problem but :( if i have no line signal (the telephone cable was unplugged) i still have a windows messagebox i cannot kill withouth clicking on the ok button.
>HEEEEELLLLLLLP please :)
>
>thank you so much
>Alessio
>
>PS Also formulating a correct answer (in english I mean) could help :)
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'