Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command Button stops working - only on development machi
Message
De
10/01/2000 11:46:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00315521
Message ID:
00315531
Vues:
26
>Good Morning,
>
>I have a form with a command button that uses GETFILE() to allow the user to select the filename of a document. There is a second command button that is used to view the file (with either Envoy or Acrobat, depending the file extension.)
>
>On my development machine, the following steps cause the file locator button to do NOTHING:
>
>1. Use the file selector button to select the filename and store it to the textbox.
>2. Use the view document button to launch the appropriate program (via RUN).
>3. Attempt to use the file selector button again.
>
>If I stay off of the view document button, I can repeatedly use file locator with no problem.
>
>When I say that the file selector button does nothing, it depresses, but no actions take place. I can quit the application and wind up back in VFP but then I can no longer DO anything or BUILD APP.....
>
>The strange thing is - the buttons all work just fine on the other machines that do not have VFP installed when the exe is run.
>
>Help??
>
>TIA,

Hi Phil,

A couple of thoughts:

1) Others may know the answer to this off the top of their heads, but I think you may need to post the code running for analysis.

2) You may want to use Ed Rauh's API_APPRUN class to launch and control the external applications. I haven't had need at this point to use it, but I'm sure it will give you more control over the applications and might be able to clue you in as to what is (not) happening.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform