Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying to the clipboard
Message
De
06/07/2004 12:03:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Copying to the clipboard
Divers
Thread ID:
00921058
Message ID:
00921058
Vues:
50
I was wondering if anyone could give me a hand with a copying a file and the pasting that file to a web site or a directory on the network? I have this code in a VFP 6 form and it works when I am testing I but when I build an app it wont work. Nothing gets copied to the clipboard.
PROCEDURE fgetfile
parameter pcSendfile
 DEFINE WINDOW winBild FROM 0,0 TO 200,200 FLOAT grow
 MOVE WINDOW winBild TO 1000,1000
pcSendFile = fullpath(pcSendFile)
 CREATE CURSOR curBild (Bild g)
 APPEND BLANK
 ACTIVATE WINDOW winBild
 APPEND GENERAL bild from (pcSendfile)
goto top
 MODIFY GENERAL bild nowait in window winbild
 KEYBOARD "{CTRL+C}" clear
The file that I am sending is a .zip file. While I have it on my pc I can run the form and what ever file I select works. I can past it into a any directory using internet explorer. I just go to the directory and press ctrl+v and it is placed in that directory. When I do a build and create an application and put it on our network and run it there is nothing on the clipboard. Do you have any other ideas? I was told that saving to a general field at time was a bit touchy and that this may be my problem.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform