Passing a image from a step to a UI

Hello
I have a TestStand step which acquires an image and creates a bitmap object with the 'NewBitmap' function. I get a bitmap ID which I send to TestStand. This function is included in a dll called acquisition.dll. In my TestStand sequence, I post the bitmap ID in a message to the UI. My callback in the UI get the ID and display the image with the 'CanvasDrawImage' function. The name of the file is UI.exe. So, my bitmap ID get through the different files below :
acquisition.dll -> TestStand sequence file -> UI.exe
My problem is that it works well on one PC (I get the picture on the UI), but not on another one. the 'CanvasDrawImage' function returns an error -12, out of memory. I precise that I use the same exe and dll files, I dont compile files on each PC.
So the the question is why is the result different from on PC to another one. Is the method I use ok ?
Regards
Laurent

If you are dealing with large images, the error message might be correct that you are out of memory. You can run out of memory when requesting a large block if memory is fragmented, even if you have enough total memory. If it is a borderline case, subtle software differences or usage difference between two computers could result in differing fragmentation where the allocation succeeds on one but not the other.
Can you reduce the size of the bitmap or any other large allocations?

Similar Messages

  • How to pass an image from the mobile application to the Adobe Media Server?

    The image is taken as photo from the CameraUI in the Client Side(AIR Mobile Application) and saved as a .jpg file in the mobile. I passed the image byte array values from the client to the server. How to convert that byte array to a file in the Adobe Media server?

    This is very similar to the problem here:
    http://forums.adobe.com/thread/655314
    processByteArray = function(byteArrayAsPlainObject){
         // byteArrayAsPlainObject is an object serialized from a ByteArray but without functions
         // we need to get a ByteArray that we can call functions on
         var usableByteArray = new ByteArray();
         byteArrayAsPlainObject.position = 0; // make sure we start from the beginning
         ByteArray.prototype.readBytes.call(byteArrayAsPlainObject, usableByteArray);
         // now usableByteArray contains what was in the original argument, but we can actually use it on the server side

  • Pass image from webdynpro app through context nodes

    Hi All,
    Just wondering is there any way I can pass dynamically images from my WDA app to my interactive form through an XML interface?
    I can upload my images into the MIME repository during design time, can I get the XSTRINGs of these, bind it to a context attribute then use the XML interface into the Interactive Form and have it bind that into an image field ?  (do I need to convert XSTRINGs into base64 encoded formats?)
    Sorry I'm a bit confused, a lot of the blogs I've seen all use ABAP dictionary based interfaces, is this the only way you can pass graphics from WDA into an Adobe Form dynamically?
    Also, what do we need to do to pass values from our WDA context into an ABAP dictionary interface form?
    Edited by: Danny Yee on Oct 7, 2011 10:10 AM

    Hi Danny,
    If you use file upload UI element in webdynpro, it will store the file in xstring format. Am not sure about images, but i think it will upload images also.
    what do you mean by ABAP dictionary interface form? is it adobe form? if yes, then in your case quite simple.
    first use upload ui element then read the xstring attribute value then try to bind  the same value to datasource property of adobe interactive form.
    Regards
    Srinivas

  • How can I take a single selected image from a slideshow to pass  to another page?

    I have a slideshow of several images from which a user needs to select one (for example the image that is featured in a lightbox after cicking the thumbnail) and then go to another page for further details on that image, with the same image displayed again, and where I want to embed some html to offer further options based on that selected image. How do I pass the name of the object from one page to another? How do I detect that a user has selected an image?
    I have tried setting each image in the lightbox as a hyperlink to a new page, and also tried setting its caption as a hyperlink, but neither of those ideas seem to work (at least in Preview).
    Any suggestions please? I am working in Muse CC 2014.

    Creating a hyperlink from the text caption should work. Try previewing: File/Preview Site in Browser to test.
    (I tested it using both Preview and File/Preview Site in Browser and it did link to the page I assigned)

  • Capture image from usb camera::step

    hi 
    i want use labview to caputre image from my webcam 
    what are the ni drivers that required or step??
    i use la 2012
    regards
    hi ?Q>

    Duplicate. Discussions will continue over there.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • To Passing image from Teststand to simple GU

    Dear All:I'm having a problem of getting the vision image from Teststand to simple IO GUI. 
    One of the step of the Teststand sequence is to snap a photo from the cam and process the matching,
    And I store it in the teststand local variable (Type:LabviewIOcontrol)So I can use that in other steps,
    that works fine. But how could I get the Teststand image variable from the Labview simple IO GUI??
     (I understand how to transferring string, number, or array between Teststand and Labview by using UI-MSG.  just have no idea how to deal with object reference to get the image data I need to display in the GUI) 
    Any example or idea will be really helpful for me. 
    Thanks. 
    Eric
    Message Edited by EricLu on 10-09-2008 02:51 AM

    Dear Sir:  Hi, In fact I am just new in teststand, and the reason I use LabviewIOcontrol as image type.
    Because when i output the image, the teststand display the type is LabviewIOcontrol .
    I did a test that I create a sequence file with 2 steps in it.
    The first step, the vi reads a vision image from file and store it to teststand local variable (Type: IabviewIOcontrol).
    And the second step, I dump the local variable to an indicator within another VI and check the image are transferred or not.
    It works well, just I don't know how to change the Device Name and Session Number  to image in Labview..... 
    I think I will take your second advice to build up the function first and try to find out the solution later on...
       Thanks for your help. 
    Best Regards,
    Eric
    Message Edited by EricLu on 10-26-2008 09:55 PM

  • Problem when passing an object from Illustrator to Photoshop inCS5 pack

    Hello, since I have a new system I have this problem in Illustrator. When I try to pass and Icon for example, from illustrator to photoshop my Illustrator crashes. Even whe I try to save my work somethimes Illustrator crashes. I didn't had this problem with my old computer usineg the same pack CS5 the passing of a file from illutrator to photoshop took about 3 seconds. Please help me, my work is becoming frustrating beacause of this.
    Here are the System details:
    Photoshop
    Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x32
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 8
    Processor speed: 3392 MHz
    Built-in memory: 16332 MB
    Free memory: 8674 MB
    Memory available to Photoshop: 3255 MB
    Memory used by Photoshop: 78 %
    Image tile size: 1028K
    Image cache levels: 5
    OpenGL Drawing: Disabled.
    OpenGL Drawing Mode: Basic
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: False.
    OpenGL Crash File: Not Detected.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTX 650/PCIe/SSE2
    Display: 2
    Display Bounds:=  top: 0, left: 1920, bottom: 1200, right: 3840
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1200, right: 1920
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 650
    Driver Version: 9.18.13.1106
    Driver Date: 20130118000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 1920 x 1200 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 650
    Video Card Memory: 1024 MB
    Serial number: 92278816315259434402
    Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\
    Temporary file path: C:\Users\Mircea\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      D:\, 150.0G, 149.7G free
      C:\, 238.5G, 89.0G free
    Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2010/10/04-23:36:11   64.441628   64.441628
       adbeape.dll   Adobe APE 2010/02/23-12:40:58   61.421986   61.421986
       AdobeLinguistic.dll   Adobe Linguisitc Library   5.0.0  
       AdobeOwl.dll   Adobe Owl 2010/06/03-13:43:23   3.0.93   61.433187
       AdobeOwlCanvas.dll   Adobe Owl Canvas   3.0.68   61.2954
       AdobePDFL.dll   PDFL 2010/12/13-23:37:10   64.341419   64.341419
       AdobePIP.dll   Adobe Product Improvement Program   5.0.0.2021  
       AdobeXMP.dll   Adobe XMP Core   5.0   61.134777
       AdobeXMPFiles.dll   Adobe XMP Files   5.0   61.134777
       AdobeXMPScript.dll   Adobe XMP Script   5.0   61.134777
       adobe_caps.dll   Adobe CAPS   3,0,116,0  
       adobe_OOBE_Launcher.dll   Adobe OOBE Launcher   1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00)   1.000000
       AFlame.dll   AFlame 2010/02/23-17:27:33   61.421976   61.421976
       AFlamingo.dll   AFlamingo 2010/02/23-17:27:33   61.421978   61.421978
       AGM.dll   AGM 2010/10/04-23:36:11   64.441628   64.441628
       ahclient.dll    AdobeHelp Dynamic Link Library   1,5,0,30  
       aif_core.dll   AIF   2.0   53.422628
       aif_ogl.dll   AIF   2.0   53.422628
       amtlib.dll   AMTLib   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       amtservices.dll   AMTServices   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       ARE.dll   ARE 2010/10/04-23:36:11   64.441628   64.441628
       asneu.dll    AsnEndUser Dynamic Link Library   1, 7, 0, 1  
       AXE8SharedExpat.dll   AXE8SharedExpat 2010/02/23-17:27:33   61.421978   61.421978
       AXEDOMCore.dll   AXEDOMCore 2010/02/23-17:27:33   61.421978   61.421978
       Bib.dll   BIB 2010/10/04-23:36:11   64.441628   64.441628
       BIBUtils.dll   BIBUtils 2010/10/04-23:36:11   64.441628   64.441628
       boost_threads.dll   DVA Product   5.0.0  
       cg.dll   NVIDIA Cg Runtime   2.0.0015  
       cgGL.dll   NVIDIA Cg Runtime   2.0.0015  
       CoolType.dll   CoolType 2010/10/04-23:36:11   64.441628   64.441628
       data_flow.dll   AIF   2.0   53.422628
       dvaadameve.dll   DVA Product   5.0.0  
       dvacore.dll   DVA Product   5.0.0  
       dvaui.dll   DVA Product   5.0.0  
       ExtendScript.dll   ExtendScript 2010/10/19-10:22:12   61.445301   61.445301
       FileInfo.dll   Adobe XMP FileInfo   5.0   61.134777
       icucnv36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       icudt36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       image_flow.dll   AIF   2.0   53.422628
       image_runtime.dll   AIF   2.0   53.422628
       JP2KLib.dll   JP2KLib 2010/12/13-23:37:10   64.181312   64.181312
       libeay32.dll   The OpenSSL Toolkit   0.9.8g  
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2, 0, 1, 11  
       MPS.dll   MPS 2010/12/13-23:37:10   64.450375   64.450375
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4940  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       msvcp71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4940  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       msvcr71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4940  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS5   CS5  
       Plugin.dll   Adobe Photoshop CS5   CS5  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (32 bit)   2.0.0.746  
       PSArt.dll   Adobe Photoshop CS5   CS5  
       PSViews.dll   Adobe Photoshop CS5   CS5  
       SCCore.dll   ScCore 2010/10/19-10:22:12   61.445301   61.445301
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System   5.50.4027.300  
       ssleay32.dll   The OpenSSL Toolkit   0.9.8g  
       tbb.dll   Threading Building Blocks   2, 1, 2009, 0201  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   1.0.0.68
       WRServices.dll   WRServices Thursday January 21 2010 12:13:3   Build 0.11423   0.11423
       wu3d.dll   U3D Writer   9.3.0.113  
    Installed plug-ins:
       3D Studio 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Accented Edges 12.0
       ADM 3.11x01
       Angled Strokes 12.0
       Average 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Bas Relief 12.0
       BMP 12.0.2
       Camera Raw 6.7
       Chalk & Charcoal 12.0
       Charcoal 12.0
       Chrome 12.0
       Cineon 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Collada 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Color Halftone 12.0.2
       Colored Pencil 12.0
       CompuServe GIF 12.0.2
       Conté Crayon 12.0
       Craquelure 12.0
       Crop and Straighten Photos 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Crop and Straighten Photos Filter 12.0.2
       Crosshatch 12.0
       Crystallize 12.0.2
       Cutout 12.0
       Dark Strokes 12.0
       De-Interlace 12.0.2
       Dicom 12.0
       Difference Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Diffuse Glow 12.0
       Displace 12.0.2
       Dry Brush 12.0
       Eazel Acquire 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Embed Watermark 4.0
       Entropy 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Extrude 12.0.2
       FastCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Fibers 12.0.2
       Film Grain 12.0
       Filter Gallery 12.0
       Fresco 12.0
       Glass 12.0
       Glowing Edges 12.0
       Google Earth 4 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Grain 12.0
       Graphic Pen 12.0
       Halftone Pattern 12.0
       HDRMergeUI 12.0
       IFF Format 12.0.2
       Ink Outlines 12.0
       JPEG 2000 2.0
       Kurtosis 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Lens Blur 12.0
       Lens Correction 12.0.2
       Lens Flare 12.0.2
       Lighting Effects 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Liquify 12.0.1
       Matlab Operation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Maximum 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mean 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Measurement Core 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Median 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mezzotint 12.0.2
       Minimum 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       MMXCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mosaic Tiles 12.0
       Multiprocessor Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Neon Glow 12.0
       Note Paper 12.0
       NTSC Colors 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Ocean Ripple 12.0
       OpenEXR 12.0.2
       Paint Daubs 12.0
       Palette Knife 12.0
       Patchwork 12.0
       Paths to Illustrator 12.0.2
       PCX 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Photocopy 12.0
       Photoshop 3D Engine 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Picture Package Filter 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Pinch 12.0.2
       Pixar 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Plaster 12.0
       Plastic Wrap 12.0
       PNG 12.0.2
       Pointillize 12.0.2
       Polar Coordinates 12.0.2
       Portable Bit Map 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Poster Edges 12.0
       Radial Blur 12.0.2
       Radiance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Range 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Read Watermark 4.0
       Reticulation 12.0
       Ripple 12.0.2
       Rough Pastels 12.0
       Save for Web & Devices 12.0
       ScriptingSupport 12.0.4
       Send Video Preview to Device 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Shear 12.0.2
       Skewness 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Smart Blur 12.0.2
       Smudge Stick 12.0
       Solarize 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Spatter 12.0
       Spherize 12.0.2
       Sponge 12.0
       Sprayed Strokes 12.0
       Stained Glass 12.0
       Stamp 12.0
       Standard Deviation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Sumi-e 12.0
       Summation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Targa 12.0.2
       Texturizer 12.0
       Tiles 12.0.2
       Torn Edges 12.0
       Twirl 12.0.2
       U3D 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Underpainting 12.0
       Vanishing Point 12.0
       Variance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Variations 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Video Preview 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Water Paper 12.0
       Watercolor 12.0
       Wave 12.0.2
       Wavefront|OBJ 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       WIA Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Wind 12.0.2
       Wireless Bitmap 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       ZigZag 12.0.2
      Plug-ins that failed to load: NONE
    Flash:
       Flash
       Mini Bridge
       Access CS Live
       CS News and Resources
       Flash
       Kuler
       CS Review
    Installed TWAIN devices: NONE
    Illustrator:
    Components:
    ACE 2010/06/28-18:09:25 61.435133 61.435133
    Adobe APE 2010/02/23-12:40:58 61.421986 61.421986
    Adobe Linguisitc Library 5.0.0
    Adobe Owl 2010/03/08-15:17:17 3.0.89 61.423383
    Adobe Owl Canvas 3.0.68 61.2954
    PDFL 2010/10/18-23:35:06 64.341419 64.341419
    Adobe Product Improvement Program 5.0.0.2021
    AdobePSL 64.699054_12.664233 64.699054_12.664233
    Adobe XMP Core 5.0 61.134777
    Adobe XMP Files 5.0 61.134777
    Adobe XMP Script 5.0 61.134777
    Adobe CAPS 3,0,116,0
    Adobe OOBE Launcher 1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
    AFL 1.0
    AFlame 2010/10/04-23:36:11 64.443603 64.443603
    AFlamingo 2010/10/04-23:36:11 64.436825 64.436825
    AGM 2010/06/28-18:09:25 61.435133 61.435133
    AdobeHelp Dynamic Link Library 1,5,0,30
    AIPort 1.0 23.68434
    Adobe EPIC 3.0.1.10077 (BuildVersion: 53.352460; BuildDate: Tue Jul 29 2008 16:47:08) 53.352460
    AMTLib 3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00) 1.000000
    AMTServices 3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00) 1.000000
    ARE 2010/06/28-18:09:25 61.435133 61.435133
    Adobe Illustrator 1.0
    AsnEndUser Dynamic Link Library 1, 7, 0, 1
    Unknown Name
    AXE8SharedExpat 2010/02/23-17:27:33 61.421978 61.421978
    AXEDOMCore 2010/02/23-17:27:33 61.421978 61.421978
    AXSLE 2010/02/23-17:27:33 61.421978 61.421978
    BIB 2010/06/28-18:09:25 61.435133 61.435133
    BIBUtils 2010/06/28-18:09:25 61.435133 61.435133
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    CoolType 2010/06/28-18:09:25 61.435133 61.435133
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    ExtendScript 2010/03/05-08:21:15 61.423205 61.423205
    Adobe XMP FileInfo 5.0 61.134777
    FilterPort 1.1 61.435133
    Microsoft® Windows® Operating System 6.1.7601.18120
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    International Components for Unicode 3, 4, 0, 0
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    International Components for Unicode 3, 4, 0, 0
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    JP2KLib 2010/02/24-17:43:58 61.131544 61.131544
    Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
    LogSession 2, 0, 1, 11
    MPS 2010/02/24-17:43:58 61.421978 61.421978
    Microsoft (R) Visual C++ 6.00.8168.0
    Microsoft® Visual Studio .NET 7.10.3077.0
    Microsoft® Visual Studio® 2005 8.00.50727.42
    Microsoft® Visual Studio .NET 7.10.3052.4
    Microsoft® Visual Studio® 2005 8.00.50727.42
    Microsoft® Visual C++ 2.10.000
    Microsoft® Visual C++ 4.00.5270
    PDFPort 2010/06/28-18:09:25 61.435133 61.435133
    Adobe PDFSettings 1.04
    Adobe Photoshop CS5 CS5
    Adobe(R) CSXS PlugPlug Standard Dll (32 bit) 2.0.1.127
    Adobe India Sangam Core Code 2010/02/03-18:48:35 61.129109 61.129109
    Adobe India SangamML Import from Sangam 2010/02/03-18:48:35 61.129109 61.129109
    ScCore 2010/03/05-08:21:15 61.423205 61.423205
    Microsoft® Windows® Operating System 6.00.2600.0000
    SVGExport 6, 0, 0, 0 1.0
    SVGRE 6, 0, 0, 0 1.0
    Adobe Updater Notifications Library 1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 1.0.0.68
    WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
    ATE
    OS: Windows
    Version: 6.1
    System Architecture: x86
    Built-In Memory: 4043 MB
    Application Folder:
    C:\Program Files (x86)\Adobe\Adobe Illustrator CS5\Support Files\
    Primary Scratch Folder:
    C:\AITEMP\
    Secondary Scratch Folder:
    D:\AITEMP\
    Plug-ins:
    Live Menu Item
    Adobe AI Application Plugin
    Control Groups
    Color Conversion
    Composite Fonts
    New Cache Plugin
    AdobeLicenseManager
    ZStringTable
    Window Menu
    Main Filters
    Main File Formats
    File Format Place EPS
    AI File Format
    Debug Menu
    SLO Text Tool
    Mesh Object
    Document Window Plugin
    Sweet Pea 2 Adapter Plugin
    ADM Plugin
    ASLib
    AdobeActionManager
    AILocalized Resources Plugin
    FrameworkS
    Art Converters v2
    FlattenTransparency
    FO Conversion Suite
    Pathfinder Suite
    PDF Suite
    BRS Pencil Tool
    Rasterize 8
    AdobeSlicingPlugin
    AdobeActionPalette
    BeautifulStrokes Suite
    AdobeBrushMgr
    Adobe Color Harmony Plugin
    Control Palette Plugin
    Adobe Deform Plugin
    AdobeLayerPalette
    Adobe Planar Edit Plugin
    AdobePaintStyle
    PathConstruction Suite
    AdobeSwatch_
    AdobeToolSelector
    Adobe Tracing Object
    Adobe Custom Workspace
    AdobeDiffusionRaster
    Snapomatic
    Adobe Geometry Suite
    Flatten Suite
    ShapeConstruction Suite
    ExpandS
    SWFExport
    Photoshop Plugin Adapter Targa
    Photoshop Plugin Adapter PNG
    Photoshop Plugin Adapter Pixar
    Photoshop Plugin Adapter PCX
    Photoshop Plugin Adapter BMP
    Photoshop Plugin Adapter Unsharp Mask...
    Photoshop Plugin Adapter Smart Blur...
    Photoshop Plugin Adapter Radial Blur...
    Photoshop Plugin Adapter Pointillize...
    Photoshop Plugin Adapter NTSC Colors
    Photoshop Plugin Adapter Mezzotint...
    Photoshop Plugin Adapter Gaussian Blur...
    Photoshop Plugin Adapter De-Interlace...
    Photoshop Plugin Adapter Crystallize...
    Photoshop Plugin Adapter Color Halftone...
    Photoshop Plugin Adapter Texturizer...
    Photoshop Plugin Adapter Stained Glass...
    Photoshop Plugin Adapter Patchwork...
    Photoshop Plugin Adapter Mosaic Tiles...
    Photoshop Plugin Adapter Grain...
    Photoshop Plugin Adapter Craquelure...
    Photoshop Plugin Adapter Glowing Edges...
    Photoshop Plugin Adapter Water Paper...
    Photoshop Plugin Adapter Torn Edges...
    Photoshop Plugin Adapter Stamp...
    Photoshop Plugin Adapter Reticulation...
    Photoshop Plugin Adapter Plaster...
    Photoshop Plugin Adapter Photocopy...
    Photoshop Plugin Adapter Note Paper...
    Photoshop Plugin Adapter Halftone Pattern...
    Photoshop Plugin Adapter Graphic Pen...
    Photoshop Plugin Adapter Cont^e Crayon...
    Photoshop Plugin Adapter Chrome...
    Photoshop Plugin Adapter Charcoal...
    Photoshop Plugin Adapter Chalk && Charcoal...
    Photoshop Plugin Adapter Bas Relief...
    Photoshop Plugin Adapter Ocean Ripple...
    Photoshop Plugin Adapter Glass...
    Photoshop Plugin Adapter Diffuse Glow...
    Photoshop Plugin Adapter Sumi-e...
    Photoshop Plugin Adapter Sprayed Strokes...
    Photoshop Plugin Adapter Spatter...
    Photoshop Plugin Adapter Ink Outlines...
    Photoshop Plugin Adapter Dark Strokes...
    Photoshop Plugin Adapter Crosshatch...
    Photoshop Plugin Adapter Angled Strokes...
    Photoshop Plugin Adapter Accented Edges...
    Photoshop Plugin Adapter Watercolor...
    Photoshop Plugin Adapter Underpainting...
    Photoshop Plugin Adapter Sponge...
    Photoshop Plugin Adapter Smudge Stick...
    Photoshop Plugin Adapter Rough Pastels...
    Photoshop Plugin Adapter Poster Edges...
    Photoshop Plugin Adapter Plastic Wrap...
    Photoshop Plugin Adapter Palette Knife...
    Photoshop Plugin Adapter Paint Daubs...
    Photoshop Plugin Adapter Neon Glow...
    Photoshop Plugin Adapter Fresco...
    Photoshop Plugin Adapter Film Grain...
    Photoshop Plugin Adapter Dry Brush...
    Photoshop Plugin Adapter Cutout...
    Photoshop Plugin Adapter Colored Pencil...
    Photoshop Plugin Adapter Filter Gallery...
    Twirl v2
    AdobeBuiltInToolbox
    Adobe Symbolism
    Simplify
    ShapeTool
    Segment Tools
    Adobe Scatter Brush Tool
    Reshape Tool
    Magic Wand
    Liquify
    Lasso
    Knife Tool
    Adobe Flare Plugin
    AdobeTextDropper
    Adobe Eraser Tool
    Adobe dBrush Brush Tool
    Adobe Crop Tool
    Adobe Calligraphic Brush Tool
    BoundingBox
    AdobeArtBrushTool
    Smart Punctuation
    TxtColumns
    Spell Check Dictionary
    Spell Check UI
    Find Replace UI
    TextFindFont
    TypeCase
    Adobe PSD File Import
    Adobe PSD File Export
    Photoshop Adapter
    PerspectiveUI
    TIFF File Format
    PNG File Format
    MPSParser
    MPSExport
    MPSCommon
    Mojikumi UI
    FXG UI
    FXG
    Adobe DXFDWG Format
    ZigZag v2
    Scribble v2
    TextWrap Dlg
    ShapeEffects v2
    Adobe Scribble Fill
    Saturate
    Round v2
    Roughen v2
    Punk v2
    AdobePathfinderPalette
    Overprint
    OffsetPath v2
    AI Object Mosaic Plug-in
    MaskHelper v2
    Inverse
    FuzzyEffect v2
    Distort v2
    Find
    Expand
    DropShadow
    TrimMark v2
    Colors
    Cleanup
    Adjust
    AddArrowHeads v3
    Add Anchor Points
    Adobe Welcome Screen
    AdobeTransparencyEditor
    AdobeTransformObjects
    Transform v2
    Adobe Tracing UI
    Adobe Symbol Palette Plugin
    SVG Filter Effect v2
    Stroke Offset v2
    Services
    SeparationPreviewPlugin
    Scripts Menu
    ScriptingSupport
    Print Plugin
    Adobe Perspective Guides
    Adobe Nudge
    AdobeNavigator
    Adobe Path Blends
    AdobeLinkPalette
    Kinsoku Dlg
    KBSC Plugin
    GradientMeshPlugin
    Flattening Preview
    FileClipboardPreference
    DocInfo
    Character and Paragraph Styles
    AI Bottlenecks Plugin
    Asset Management
    AdobeArtboardPanel
    Adobe Art Style Plugin
    Adobe App Bar Controls Host
    Alternate Glyph Palette
    AdobeAlignObjects
    3D v2
    PDF File Format
    ADMEveParser Plug

    Hi Mylenium,
    The program just loads useless to use your words when I try to pass a file from Illustrator to Photoshop and when I click anywhere in Illustrator I get Program "Not responding" it doesn't crashes (stops) it stais opened but it doesn't do anything so I need to close it by force from task manager because I can't do anything with it.... Once I left it over night to save an important file and just in the morning I managed to do that so after a while it comes round but all the time there are different periouds of pending. Anyway this is not normal and I should be able to use the program in normal parameters with a powerful system. 
    I don't have any processor over load in the task manager I don't have anything unusual that indicates an over load of information, that's my problem. My guess is that I have a system incompatibility but I don't know where so that's why I asked for Adobe's help. Again I didn't had this problem using the same pack (CS5) with a less powerful system...
    If there are any creash logs pelase tell me where can I find them ?

  • How to Pass internal table from a program to Samrt form

    Hi Pals
    I want to pass an internal table which I have declared in the program to Smartform..can you please help
    me asap.
    Regards
    Praveen

    Hai.
    check link.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    check this.
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    check this:
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
    check this linkls------>
    https://www.sdn.sap.com/irj/sdn/collaboration
    http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Insert Images in smartforms
    regards.
    sowjanya.b.

  • Problem showing images from UISlider

    I'm trying to get some images shown responsively as the user slides a slider,  If I set up my image on each call of SliderValueChanging (the selector for control event UIControlEventValueChanged), as below, then I get an error indicating there's an event after I've released it.
        UIImage *btnimg = [UIImage imageNamed:imagefile]; 
        [button setImage:btnimg forState:UIControlStateNormal];
        [btnimg release];
    The error occurs while the user is still using the slider and the message is:
    [UIImage _isResizable]: message sent to deallocated instance
    So I thought I'd store my images until the user has finished using the slider and release them then.  So I build them up in an array in SliderValueChanging as below:
        UIImage *btnimg = [UIImage imageNamed:imagefile]; 
        [button setImage:btnimg forState:UIControlStateNormal];
        // assign into our array for later release...
        if ( self.tmpimages == nil ) {
            //Initialize the array.
            self.tmpimages = [[NSMutableArray alloc] init];
        [self.tmpimages addObject:btnimg];
        [btnimg release];
    and then release them in SliderValueChanged (the selector for control event UIControlEventTouchUpInside)
        // tidy up our tmp images from sliding...
        if ( self.tmpimages != nil ) {
            [self.tmpimages removeAllObjects];
            [self.tmpimages release];
            self.tmpimages = nil;
    The sliding then works without any problems but I get an error when the sliding is finished indicating I'm trying to release an object which I've already released.
    [UIImage release]: message sent to deallocated instance
    The error is being generated from the releaseAllObjects call.
    What am I doing wrong?  Can I prevent either of these error scenarios so that I get my images to show responsively with the slider without any problems?
    Thanks!

    Under the Cocoa naming conventions objects returned by convenience methods like:
        UIImage *btnimg = [UIImage imageNamed:imagefile];
    are passed you autoreleased. You should not send a release to this object and the errors you're getting reflect this. If you add it to an array this will add to the retain count but you should not release it after adding it to the array - just add it.
    The magic words in Cocoa are alloc, copy and new. If you use these words when you create it then you own it. If not assume something else owns it and will do the right thing. If you release something you don't own (or have explicitly retained) you're stepping on the process and you'll get errors like the ones you're getting.
    HTH,
    =Tod

  • Retrieve multiple images from database to servlet

    Hi there,
    I try to retrieve more than one images from database to Servlet/JSP . However, I get only one images in the result set. Here is my code. Please Help .
    How do I display more than one images ( multiple rows ) from database to Servlet ?.
    When I retrieve, I got 3 rows of binary data, but I don't know how to display it on the Servlet/JSP pages.
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import java.sql.*;
    import com.sybase.jdbcx.*;
    public class RetrievePhoto extends HttpServlet {
    static ResultSet rs;
    static CallableStatement NGSstmt = null;
    static Connection NGScon = null;
    static SybDriver _driver = null;
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws
    ServletException, IOException {
    ServletOutputStream os = res.getOutputStream();
    String driver = ""
    String URL = "";
    String Host = "";
    String UN = ""; //assign your username here
    String PW = ""; //assign your password here
    try {
    Class c = Class.forName( driver );
    _driver = (SybDriver) c.newInstance();
    DriverManager.registerDriver( (SybDriver) _driver );
    NGScon = DriverManager.getConnection( URL + Host, UN, PW );
    } catch ( SQLException e ) {
    os.println( "Unable to load the Sybase JDBC driver. " + e.toString() );
    e.printStackTrace(System.out);
    } catch (java.lang.Exception ex) {
    // Got some other type of exception. Dump it.
    os.println("Exception - java lang " + ex.getMessage() );
    String PID = req.getParameter("PID"); //passing parameters from Servlet
    try {
    String SQLcmd = "{call RET_PHOTO_BY_PID(?)}";
    NGSstmt = NGScon.prepareCall( SQLcmd );
    //execute the query
    synchronized (NGSIDBstmt)
    NGSstmt.setString(1, PID); //passing parameter to store procedure
    rs = NGSstmt.executeQuery();
    byte[] stuff = new byte[1024];
    int bytesRead = 0;
    res.setContentType("image/gif");
    InputStream is = null;
    // Get the first row
    while( rs.next() ) {
    is = rs.getBinaryStream("PHOTO");
    res.setContentLength(is.available());
    for (int i=0;; i++) {
    bytesRead = is.read(stuff);
    os.write(stuff);
    if ( bytesRead == -1 ) break;
    rs.close();
    os.flush();
    os.close(); //close outputstream
    } catch ( SQLException sqle) {
    os.println("Error in SQL2Exception" + sqle.getMessage());

    When I retrieve, I got 3 rows of binary data, but I don't know how to display it on the Servlet/JSP pages.I will pick this bit of your post, because you seemed to have several partly-overlapping questions.
    You are going about this wrong. You need to decide what your HTML will look like before you start writing servlet code. In this case you want to have something like a table, with an image in each row, right? Now what does the HTML for that look like? It's a <table> element, and so on, but what about the images? Well this is HTML, so it can't contain the binary images. It has to contains links to the images, and the browser will download the image from each of those links and put all of the downloads together into the page it displays.
    That means you can't do it all with one servlet. You need a main servlet that generates the HTML, with the <table> element and the links to the images. Probably you need some DB calls here to find out how many images you're going to have, but you don't need to get them in this servlet. You just need to generate a link for each of them.
    Then you need a second servlet that gets an image. It's going to get a single row from the DB and return the binary image you read from that row. Make sure to use "image/jpg" or whatever's appropriate instead of "text/html" in your response's content type here.
    I will leave you to carry on from here. First step is to design the HTML that your main servlet will produce; remember that the links it generates need to carry enough information for the second servlet to be able to find the right image in the DB.
    PC&#178;

  • Can i use labview to capture and process images from ip cameras connected to a switch.

    Hi,
    i have more then one ip cameras conneted in LAN by a switch. i have a PC conneted to same switch. is it possible to capture images from these ip cameras and process them(for example performing simple barcode scan or QR-code scan or OCR)?  Which IP cameras will be supported?

    There is functionally no difference whether the camera is connected directly to the system or via a switch. Both should work the same. The only real requirement that you'd need to care about is whether the switch can pass multicast UDP traffic correctly (this is used for network discovery of IP cameras). Generally all unmanaged switches (probably what you are using) will treat multicast traffic identical to broadcast traffic, but some managed switches/routers may need to be configured to pass multicast.
    Eric

  • How to Increase Number of Images from 500 in a LR3 Flash Gallery

    I noticed people asking (and I myself needed to know) so I thought I would explain how to increase the number of images (from 500) in a Flash gallery in Light Room 3
    1. I exported a Flash gallery from LR3 and it capped the gallery at 500 images.
    2.  Because I had roughly 600 images to put in the gallery, I exported the  remaining 100 as a separate flash gallery. (Going ahead and exporting 2  galleries will save you headache in a later step)
    3. I combined  all the images folders (copying "large" images from one folder to the  "large" folder in the gallery I want to upload to my site, etc.) so that  the files are all in one location.
    4. The next step is to  increase the gallery maximum in the code. Access (from the exported  gallery) GALLERYNAME/resources/mediaGroupData/group.xml and open the group.xml file. The line of code you will be changing is <media totalGallerySize="500"> Change the 500 to the number of photos you want in the gallery.
    5.  This next step isn't too complicated, but it is specific. You know have  to tell that flash file to look for the images you just transferred to  the images folder. The best way to do this is to open the group.xml file  for the second gallery you exported. Copy all the code beginning with <item>  to the bottom of the page. This code tells the gallery to look at your  specific images (Note: you'll notice within each item the names of your  image file)
    6. Return to the (other) group.xml file of the gallery you plan to use (with all your images in it). Scroll to the bottom and erase the lines </media> and </mediagroup> becaue you will repaste them in a moment. Next, paste the copied code there.
    7. Save & check your browser!
    I hope this was clear...please comment back and I'll clarify if needed.
    ro

    500 images in a single gallery is too many - think of the poor viewer!
    But if you must create Flash galeries with more than 500 images, you're better off editing the underlying engine - here's one link showing how to do it

  • How do I remove background images from a PDF?  Using Adobe Acrobat 6.0 Standard.

    I have a file I need to print off, but the document is 100 pages lond and each page as a very obnoxious background image that makes it difficult to read the content, and I really don't want to waste the ink.
    I have tried a few things with no luck:
    -Tried replacing document background color in the 'Accessibility' tab in preferences.
    -Tried unchecking the 'Display large images' field in the 'Page Display' tab in preference - this leaves a dark gray background that I can't get rid of, which is almost as bad as the original image.
    -Tried several combinations under the 'Color Management' tab in preference to lessen the gray background achieved from the previous step.  I can only brighten the shade slighty, but there is still a fair amount of gray background.
    I just want a white background, or a clear background, and I have not seen any article or help topic on how to accomplish this.  Please help!
    Mike

    You might want to see if you can select the background with the object touchup tool. If so, can you then just delete the selected object. May take a while to go through the document, but if it solves the problem you are ahead. You may be able to select it with JavaScript and repeat the process. My point of using the object touchup tool is that it may not be a background set by Acrobat, but something that is simply labeled as an image from the Acrobat viewpoint.

  • Displaying image from database in report

    I need to include a picture (company logo) in numerous reports. This logo will be stored in an MS SQL Image field in a table (this bit I have already sorted out).
    What I'm wondering is, what is the best way to retrieve this image from the database? Do I just include it in the view the report runs off? I'm hesitant to do this, as the view may return back hundreds of records, which means (I think) it will be sending the image along with it hundreds in time.
    In short:
    1) What is the best way to pass an image to a report.
    2) If I include the Image field in a view which returns back hundreds of line, will the image be returned also hundreds of time, causing network congestion/performance issues?
    3) If so (2), is there a way of sending the image only once, no matter how many rows are in the returned view?
    Thanks.

    Hi Shanon,
    We can display the image by making it a local copy on your machine.
    If it is possible to  get the image saved on local copy.
    If we place the image in detail section then it would return one record.
    As the image is from Database, so it would hit the database very time when you refresh the report and place it in Report Header or report fotter.
    So, place your logo as an OLE object in report and would reduce processing time.
    Regards,
    Naveen.

  • How can I drag an image from a page in Safari to the finder and have it be saved as an *actual* image instead of a webloc?

    Safari used to let me drag an image from a webpage to the finder and have the dragged file be saved as an actual image but now all that's saved is a webloc file.  I want the image saved, not a reference to the image's URL - do I now have to always use "save as" to save it?
    I can understand Safari creating a webloc file if I dragged the site icon from the location bar to the finder, but to make the default behavior for dragging things that are parts of a page (not the page itself) as webloc files seems like a HUGE step backwards for usability.
    Does anyone know if there's, say, a key to hold when dragging to avoid saving a webloc file or a defaults command or something to make Safari revert back to sane draging behavior?

    Good questions...  I'll have to try and figure out when the problem first happened - I was thinking it was when I upgraded to Safari 5.1.4 but that might not be the case...  I'll try your suggestions to see if any of them eliminate the problem (I have restarted recenlty and that didn't fix it) but I'll try repairing permissions,etc.  Thanks!
    hmmm... Mcbuffy: are you implying that you *don't* get the webloc when dragging an image out of Safari and that this isn't a caused by change to Safari but is a big/conflict in mine?

Maybe you are looking for

  • Hyperlinks in linked Word documents don't work

    Hello All, I'm having a problem with hyperlinks and I'm hoping you can help me. I have a RoboHelp HTML 8 project built out of Word 2007 linked files. There's a dozen Word files right now, but I'm hoping to scale up the project eventually. Each file i

  • A few iDVD6 questions

    Hello everyone, I just purchased ilife06. I am running in Panther. I am using one of the themes with the 3d moving pictures thru the foreground. I added 2 videos, and then a submenu that leads to another page so that the audience can choose 4 more vi

  • Install oracle 10g on mac os

    Hi I just interested in try to install Oracle Database 10g Release 2 (10.2.0.4.0) on my Mac Book Pro http://www.oracle.com/technetwork/database/10204macsoft-x86-64-092720.html I downloaded it and try, but it seem doesn't work. Will it must install it

  • Why do a lot of the Themes not work with Firefox 4.0?

    Just upgraded to 4.0 and looking for a theme to use, but alot of them are grayed out and says not compatible with version of Firefox I am running.

  • New version will not install

    I was asked to install a new version of adobe reader, but when I started the download it froze . Now I cannot open any .exe file.