Win32 Exception

Discussion in 'Questions (Windows Mobile)' started by HARRY, Nov 2, 2009.

  1. HARRY

    HARRY Active Member Licensed User

    Hi,

    This very small program:

    Sub App_Start
    Form1.Show
    If cPPC=True Then
    Shell ("Opslagkaart\Program Files\POI-Photos\PDA-POI Photos.exe","")
    Else
    Shell ("C:\My Projects\Basic4PPC\POI Photo's KML\POI Photo's KML.exe","")
    End If
    AppClose
    End Sub

    runs well on the PC , but on the device I get the message:Win32 Exception, without further information.

    "Opslagkaart" is the name of the SD-card on the device.

    Does somebody know how to get more information and/or the reason of the error?

    Harry
     
  2. agraham

    agraham Expert Licensed User

    Try
    Shell ("\Opslagkaart\Program Files\POI-Photos\PDA-POI Photos.exe","")
    Else
     
  3. HARRY

    HARRY Active Member Licensed User

    Hello Agraham,

    Thanks for the prompt reply, but still the same error!

    Harry
     
  4. agraham

    agraham Expert Licensed User

    Is that the name that File Explorer shows?
     
  5. HARRY

    HARRY Active Member Licensed User

    Agraham,

    Yes, Explorer shows the name "Opslagkaart"

    Harry
     
  6. HARRY

    HARRY Active Member Licensed User

    Agraham,


    Sorry, sorry, sorry. There was a typing error in the name of the executable to start.

    A more clear error message of Windows Mobile would haven been nice, e.g. "file not found".

    Thanks for your support.

    Harry
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice