Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use WriteBitMap method in VFP
Message
De
23/04/2010 08:15:27
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to use WriteBitMap method in VFP
Divers
Thread ID:
01461672
Message ID:
01461672
Vues:
163
Hello Everyone….

I have a form which has an ActiveX object SigPlus1 which has a methods LCDWiteFile & LCDWriteBitmap used to paint
images on a signature pad LCD device. I have a file which resides on the same directory with the executable SIGN.EXE and I
also made it as part of the project. I use the following command and it works fine :
ThisForm.SigPlus1.LCDWriteFile(0, 2, 15, 4, 37, 11, 0, "C:\ok.bmp")
But when I run the same program under terminal server, it lock up at the above command. I contacted the manufacturer's tech support and am told to do the following:

1. Load the image you want to paint to the LCD into an image object on your form

2. Use the LCDWriteBitmap() function to paint this image, replacing the call to LCDWriteFile() which takes the image
from file

3. Make sure the image object hands back a Windows handle to the image so you can use it in the call to LCDWriteBitmap()
LCDWriteBitmap (int Dest, int Mode, int XPos,  int YPos, int XSize, int YSize, OLE_HANDLE BitmapHandle
Can someone help me to translate the into a VFP code and tel me how it can be done.

Any help is appreciated.

Thanks


Raz
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform