Results 1 to 2 of 2

Thread: winInet.dll not attempted to reconnect in win2k

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    3

    winInet.dll not attempted to reconnect in win2k

    Hi..
    My application currently uses a network dialup connection which we currently create. We also specifiy in our application to use this connection speficially (as apposed to the default incase
    they already have a connection set up) The problem is this..

    Our application is set to dial up our server every hour through a
    modem on a external site. It makes 4 attempts to do so, or will wait till the next hour if the line was not accessable. Unfortunately
    we have noticed in windows 2000 (works fine on 95,98,NT) that
    the API remembers that it could not connect and therefore an hour later when it attempts to connect, the wininet API
    call, returns the fact it could not connect previously and therefore returns cannot connect without even trying.

    The way round this is to tell our program to not use our connection, then when it attempts to connect it prompts for which connection it should use first.. you then pick our connection and bingo.. it works.. unfortunately, this is not acceptable and i want to attempt to use the connection regardless of wheather it failed last time or not..

  2. #2

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    3
    Ok.. seeing as no one has any bright ideas. hows about this..
    and can anyone tell me how to do it?

    Just say, my dial connection gets rubbished. i want to Delete a dialup connection, and create a new one (given i know all the properties it should have). Is there any way of doing this in VB?

    regards

    gOOtinber.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width