• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FORTE Question

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sir/Madam,

I am Satyanand Ganti
I have a problem in forte.

I want a screen shot to be printed in a word document during run time If I
click any specified button(for eg. OK button). I tried with the following
code. but it writes the data in binary format.

Path :textData = new();
Path.Concat('\\MAM\\MemberAcct.doc');

C_File : File = new();
C_File.SetPortableName(Path, TRUE);
//Open the File
C_File.Open(SP_AM_WRITE,TRUE);
Image : UserWindow = new();
Image = (UserWindow) (Self.Clonewindowonly);
Image.Open(TRUE);
self.window.windowSystem.CopytoClipboard(Image.Window.RenderAsImage());
C_FIle.WriteSerialized(self.window.windowSystem.CopyFromClipboard(ObjectDataType = SD_IMAGE));
Image.Close();
C_File.Close();
I tried to open the doc with Binary = FALSE but it will give me exception.

Can you please help me to solve this problem,
Thanks,
Satyanand
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a problem with Fort�. I'm working on a digitalization of signatures project . To launch the scanner, I defined an OLEField Object that invoke an application Image Wrang in order to make possible driving the scanner. Once the image is digitalized, it is reloaded from OLEField via the RenderAsImage method. The difficulty which arises is the huge size of this image approximatively (200 ko). It carries in term of storage and quering of the image from the
database.
Thanks, help me recover this problem in order to decrease the size of the OLEField object.
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this really Java? And what does it have to with "Conferences, Workshops, Training, JUG meetings, etc." which is the topic of this forum?
 
Nothing up my sleeve ... and ... presto! A tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic