Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use WriteBitMap method in VFP
Message
 
 
To
23/04/2010 08:15:27
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01461672
Message ID:
01461748
Views:
67
Try to use LOADPICTURE(). Check also GdiPlusX library.

>
>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform