wireless connection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jon Vaughan

    #1

    wireless connection

    Im hoping someone may have some suggestions to this little problem :

    I have an app that runs full screen and uses a wireless connection and is
    executed from the startup. the problem is that as soon as the app starts it
    cant connect to the wifi, even of I leave the code in a loop checking for
    the connection it still doesnt find it. Its as if the app runs before the
    wifi is ready.

    To combat this I add a splash screen , but the samething happens. Strangly
    enought thou, as soon as you end the app and re start it , it finds the
    wireless connection start away.

    Has anyone ever seen a problem like this ? or have a solution ?

    Thanks

    Jon


  • Anand[MVP]

    #2
    RE: wireless connection

    I have not tried it out, but does a sleep for a predefined time help?

    I know that the networking classes take sometime to actually find if you are
    online etc, because it may take sometime for the OS to get an IP from the
    DHCP server etc.

    --
    Rgds,
    Anand
    VB.NET MVP



    "Jon Vaughan" wrote:
    [color=blue]
    > Im hoping someone may have some suggestions to this little problem :
    >
    > I have an app that runs full screen and uses a wireless connection and is
    > executed from the startup. the problem is that as soon as the app starts it
    > cant connect to the wifi, even of I leave the code in a loop checking for
    > the connection it still doesnt find it. Its as if the app runs before the
    > wifi is ready.
    >
    > To combat this I add a splash screen , but the samething happens. Strangly
    > enought thou, as soon as you end the app and re start it , it finds the
    > wireless connection start away.
    >
    > Has anyone ever seen a problem like this ? or have a solution ?
    >
    > Thanks
    >
    > Jon
    >
    >
    >[/color]

    Comment

    Working...