Linked Wordpad Object in Asynchronous call

Hi everyone,
I detect an issue when loading reports in asynchronous mode:
1: I have a linked Ole object to a wordpad document saved in disk.
2: When calling report.load in normal(synchronous) way it loads the report just fine.
3: When calling report.load in an asynchronous thread (server side), the thread just enters in a 'limbo' state and i can't debug it anymore. Worse, somehow it launches 3 winword processes that steels 100% cpu usage. I have to kill the winword processes before i get a message to get rid of cpu memory space.
I know its weird but have someone experienced the same problem before?
Can anyone help me with this?
Thanx

Well, I solved the problem... it had nothing to do with being sync or async...
The problem was in the report. Having a specified default printer when opening the report at design, if the operating system doesn't find the printer, it gives a warning message.
When doing report.Load at runtime, the system freaks out and has the problem specified at first post.
If the report doesn't have a default printer it works fine with no problem.
Hope this helps someone

Similar Messages

  • How to add OLE wordpad objects to a crystal report through VB program

    Can we programmatically add OLE wordpad objects to a crystal report XI r 2. through VB.NET or VB6?
    And is there a way of treating a database binary/blob field as an ole object in CR?

    Hi Mohan,
    Try it in the Designer first. If it works in the designer then it will work in our SDK's but you'll have to use RAS. So when you post your question to the .NET Development - Crystal Reports Forum be sure to specify what version you are using and anything else as far as versions go.
    It may be easier to simply link the OLE Object in the designer, check the help file out on how to.
    Thank you
    Don

  • Is there a way to process multiple asynchronous calls individually (instead of all at once)?

    Hello,
    I have a function that saves a record using a RPC call (asyncToken with a new responder).  When I save an individual record (pressing "s" key), it works fine.  However, when I attempt to save multiple records simultaneously (bound to "v" key) (I have a for loop running through the selectedItems in the datagrid), it performs strangely.
    For anyone who hasn't experienced this, the successive calls seem to get stacked (literally - i.e. using a stack) and processed at the end of all operations in that block of code (I had trace functions before and after the call that were executed before I saw the result confirming this).
    What I would like to do is to simulate multiple AsyncToken usages with a single click, but still have them all occur individually since right now, the function saves the last item in the stack 8 times instead of saving each of the 8 items separately.
    OR
    Is there another means of RPC using something like "interruptToken" as opposed to asyncToken?  (In most other areas I've seen, asynchronous calls are performed as interrupts and dealt with immediately, thats why this procedure confused me for a bit)
    Thanks in advance,

    The second paragraph you posted is definitely worthwhile - still figuring out some of the inner workings of Flex calls (not just RPC stuff) that I use as I am pretty new to flex.
    I don't have the code with me at the moment, but I think I have to use separate calls to the save function.  My situation is this (and I plan on updating with code on Monday if necessary):
    I have a datagrid that is populated using a single RPC (which is loaded into an arrayCollection first then the datagrid).  Changes are made to the datagrid through a copy/paste function that I made, but these changes are only reflected on the datagrid (i.e. not in the dataprovider).  When the user hits "save", the selected line (selectedItem actually - i.e. not an index but the object itself) is passed to another class which contains a modified version of my "modify data" function (brings up a dialog after choosing a given line allowing editting/validation of certain fields regarding the selectedItem).  This changed version of "modify data" is then called and immediately closed effectively saving this record (without allowing the user to alter fields - so they don't have to hit save twice).
    With the copy/paste function, I make all of these changes en masse and then have a loop that goes something like
    for each (_object:Object in myDatagrid.selectedItems)
         callSaveFunction(this, _object);
    which ideally loops through the data and saves each item that has been changed.  If there is a way to save all of the data in the datagrid simultaneously, I would appreciate a bit of help there (perhaps dealing with the bindings - right now I have the object I save as the destination and the source is myDatagrid.selectedIndex.[field name]).
    Good to know about the other stuff, though - my understanding was a little bit lacking before

  • Asynchronous call with OO4O

    Hello,
    I have a problem. The asynchronous call worked faultlessly under Oracle DB 10.2 and Oracle client 9.2. After the rearrangement to Oracle client 10.2 the VB6 function cannot be ended correctly. If I install the call OraStmt.Cancel explicitly, the function gets stuck directly at cancels. The Stored Procedure is very extensive. It consists from cursors and Object type.
    Can one help me at this problem?
    Many thanks in advance!
    Benedikt Taube
    Important data:
    Development environment:     VB6
    OO4O:                     10.2.0.2.20
    Oracle Client:               10.2.0.1.0
    Oracle Net:               10.2.0.1.0
    Oracle-DB:                10.2
    Function (...)
    Set colCrefos = Nothing
    Set colKapitel = Nothing
    Set colEntscheider = Nothing
    lngRetCode = 0
    objConnection.DB.Parameters.Add "RET", ORACLE_KO, ORAPARM_OUTPUT, ORATYPE_NUMBER
    objConnection.DB.Parameters.Add "CREFOS", Null, ORAPARM_OUTPUT, ORATYPE_VARRAY, (SCHEMAOWNER & ".CCRF_ORGANISATIONS")
    objConnection.DB.Parameters.Add "KAPITEL", Null, ORAPARM_OUTPUT, ORATYPE_VARRAY, (SCHEMAOWNER & ".CCRF_KAPITELS")
    objConnection.DB.Parameters.Add "ENTSCHEIDER", Null, ORAPARM_OUTPUT, ORATYPE_VARRAY, (SCHEMAOWNER & ".CCRF_ENTSCHEIDERS")
    objConnection.DB.Parameters("NAME").Value = objTools.String2Varchar(strName)
    objConnection.DB.Parameters("HAUSNUMMER").Value = objTools.String2Varchar(strHausnummer)
    Set OraStmt = objConnection.DB.CreateSql("Begin :RET := " & SCHEMAOWNER & ".CRF_SUCHE.ANSCHRIFT( :RETCODE, :NAME, :RECHTSFORM, :PLZ, :ORT, :STRASSE, :HAUSNUMMER, :CREFOS, :KAPITEL, :ENTSCHEIDER); end;", ORASQL_NONBLK)
    On Error GoTo err_asynchron
    Dim stat As Long
    stat = OraStmt.NonBlockingState
    While (stat = ORASQL_STILL_EXECUTING And Me.Cancel = False) 'ORASQL_SUCCESS
    DoEvents
    stat = OraStmt.NonBlockingState
    Wend
    err_asynchron:
    err.Clear
    On Error GoTo Anschrift_Err
    'OraStmt.Close
    'Set OraStmt = Nothing
    If Me.Cancel = True Then
    Anschrift = True
    Else
    lngRetCode = objConnection.DB.Parameters("RETCODE").Value
    If lngRetCode = ORACLE_KO Then
    Call err.Raise(objConnection.DB.LastServerErr, sFnc, objConnection.DB.LastServerErrText)
    End If
    Anschrift = IIf(objConnection.DB.Parameters("RET").Value = ORACLE_OK, True, False)
    If Anschrift = True Then
    Set colCrefos = objConnection.DB.Parameters("CREFOS").Value
    Set colKapitel = objConnection.DB.Parameters("KAPITEL").Value
    Set colEntscheider = objConnection.DB.Parameters("ENTSCHEIDER").Value
    End If
    End If
    Anschrift_Ex:
    For i = 1 To objConnection.DB.Parameters.Count
    objConnection.DB.Parameters.Remove 0
    Next i
    Exit Function
    Anschrift_Err:
    Resume Anschrift_Ex
    End Function

    Hi Babu,
    That is the problem with AltovaXMLSPY, it always expect a resonse..and if don't get one it will shown empty headers..
    check moni and see if you have only one entry then your scenario is working and it is working in async mode
    Regards
    Suraj

  • Asynchronous call deployment

    I need to deploy an executable to a customer's computer and for the first time I have the need to use  an asynchronous call in my program I am not sure how i am going to keep the file path to the "Open VI Reference" valid after I build and deploy the application.  The Obvious manner would be to use a configuration file to allow me to set the path independently of the LabVIEW Application.  However, when you include A VI in the "Always include" it is not An EXE thus not include as a file in the build folder, making it had to reference on the host computer.  
    Some educational tips on how to do this would be very help full for learning how to deploy this application
    Attached is a code snippet of how i am currently stating an asynchronous call
    Thanks
    Mark R.
     

    Actually, what you're referring to is a "type specifier VI Refnum", which is only used for type, but doesn't have any other information about the VI really. I've run in to bugs before where I changed the connector pane on a VI, but the type-only references I had in my code didn't update because there's no link to the VI, just the pane...
    So really there are three different forms of a VI reference. Normal, Strict, and Type-only. Strict encapsulates both the normal reference and the type-only reference.

  • Open as linked smart object

    Hello,
    iam looking for a solution to open files in a folder
    and copy then into a document.
    Its working good, but i need the files to be linked smart object.
    Anyone knows a solution ?
    Here my Code so far:
    See in line 33. Convert to smart object: ?
    var file = new File('C:/User_MY PATH.PSD'),
    docRef = open(file);
    // Use the path to the application and append the samples folder
    var samplesFolder = Folder('C:/USERS_MY FOLDER');
    //Get all the files in the folder
    var fileList = samplesFolder.getFiles()
      // open each file
      for (var i = 0; i < fileList.length; i++)
      // The fileList is folders and files so open only files
      if (fileList[i]instanceof File)
      open(fileList[i])
      // use the document name for the layer name in the merged document
      var activeDocName = app.activeDocument.name;
      var targetDocName = activeDocName.substring(0, activeDocName.lastIndexOf("."));
      // Copy the Document
      app.activeDocument.selection.selectAll()
      //convertToSmartObject(); THIS ISNT WORKING - CONVERT IT ?
      app.activeDocument.selection.copy()
      // don’t save anything we did
      app.activeDocument.close(SaveOptions.DONOTSAVECHANGES)
      //Select specific layer to paste the copy, this is to make sure the layers are in a specific position
      var doc = app.activeDocument;
      doc.activeLayer = doc.artLayers.getByName("bgr");
      //Paste Document
      app.activeDocument.paste()
      app.activeDocument.activeLayer.name = targetDocName

    Use scriptlistener:
    var idPlc = charIDToTypeID( "Plc " );
        var desc2 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc2.putPath( idnull, new File( "C:\\Photos\\myPhoto.psd" ) );
        var idLnkd = charIDToTypeID( "Lnkd" );
        desc2.putBoolean( idLnkd, true );
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc2.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc3 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc3.putUnitDouble( idHrzn, idPxl, 0.000000 );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc3.putUnitDouble( idVrtc, idPxl, 0.000000 );
        var idOfst = charIDToTypeID( "Ofst" );
        desc2.putObject( idOfst, idOfst, desc3 );
    executeAction( idPlc, desc2, DialogModes.NO );

  • Button Link to Object Standard.

    Dear All.,
    Now I have a problem with button link to object stanbard (17 is Sale order object).
    I have to use button link and Editbox on the new form, then I set button link to this editbox and set LinkedObject=17 in screen painter. I have run this form i select Sale Order document Number on this Editbox and i click button link to sale order that show data following my selected.. but it can't not open sale order and alert message "You are not permitted to perform this action [Message 200-30]".. so how can i set permitted to perform this action. pls help me...
    Thanks,
    Sivhour.

    Hi Prasan,
    Authorizations are set in under the Administration  System Initialization  Authorization  General Authorization.
    Regards,
    Vítor Vieira

  • Linked Smart Objects

    When you send a PS file which has a linked Smart Object to a print vendor, will you need to send the linked Smart Object file as well?

    That's what I was afraid of. As a print vendor AND a designer I'm concerned that word has not gotten out that linked objects will need to accompany the file and we will end up dead in the water when we need to open up a photoshop file with a linked smart object. This is a relatively new problem for Photoshop, although InDesign and even many Illustrator users know that links need to be sent. In fact, we're seeing the opposite trend in InDesign, where artists are embedding artwork in their InDesign file rather than linking, which has both pluses and minuses.
    Thanks!

  • Layer Comps should capture changes to a Linked Smart Object's Layer Comp

    Normally, I can move things around or change visibility, and use Layer Comps in my master doc to capture these changes.
    However, changing which Layer Comp displays from a Linked Smart Object cannot be captured by Layer Comps in my master doc.
    Slightly more information: Sorry it's a little convoluted. I have several Linked Smart Objects inside a master doc, and these Smart Objects contain different Layer Comps. It's awesome that I can easily change which Layer Comp each Smart Object displays. But when I make a change, it cascades across the Layer Comps in my master doc. So my master doc's Layer Comps cannot effectively capture a state.
    It would be awesome if Layer Comps were able to capture state changes for the display of Linked Smart Object's Layer Comps. #featurerequest

    Photoshop Feature Requests should be posted over at
    Photoshop Family Customer Community
    But before posting one look around whether one exists already on this issue and add your +1 if it does.

  • Can you replace embedded smart object with linked smart object?

    Hi,
    I'd like to update some document to reflet the new workflow that linked smart object provide. I have made some transformation on those embedded smart object and would like to not have to redo all those so is there anyway way to replace those SO with the linked version of the same SO?
    TIA
    Jeff

    Hi,
    I'd like to update some document to reflet the new workflow that linked smart object provide. I have made some transformation on those embedded smart object and would like to not have to redo all those so is there anyway way to replace those SO with the linked version of the same SO?
    TIA
    Jeff

  • Convert an embedded smart object to a linked smart object

    Hey guys,
    love the new "linked smart object" functionality. However, I can not figure out how I can convert (or export) an existing embedded smart object to a linked smart object.
    I have a huge photoshop file with several embedded smart objects that I would like to break down into a lightweigt photoshop with with links to the varios smart object photoshop files.
    Is there any way to do this?
    Thanks,
    Philipp

    Thanks a lot guys.
    I am just now putting a document together with linked smart objects and I'm noticing that the file size of the PSD file still increases quite a bit. I thought the hole point of this was to have lightweigh psd files?
    I currently have 11 1920x1080 linked smart object files in the PSD and the file size is already at 140MB. Any ideas why this is happening?

  • Scripting layer comp property of linked smart object

    How can I through script set the layer comp property of a linked smart object?
    More generally, how can I access a smart object and manipulate it as a document?  I know that I get smart object layers by looking at the kind property, but I don't know what to do with them once I get them.  I'd like to be able to cast the layer to a document object I guess.  Thoughts, anyone?

    Photoshop Feature Requests should be posted over at
    Photoshop Family Customer Community
    But before posting one look around whether one exists already on this issue and add your +1 if it does.

  • How do I disable linked smart-object auto-update/refresh?

    Working in the CC3D features, I am constantly making changes to my bump map. Every time I step-backwards, or make a significant change to the bump texture (smart object?), CC auto-saves the layer. This specific file is a very very large document (3 gigs in the bump texture layer alone), and the 3D layer has lots of lights and is very complex. This auto-refresh/update really bogs down the time that it would take me to make my changes. I have a very fast machine (I know it's fast, I dont need to list my specs), and I have all shadows disabled.
    How do I disable linked smart-object auto-update/refresh?

    If you do not like a feature like smart objects there is nothing forcing you to use it. Use some other features to do what you want. Please don't ask Adobe to introduce bug into smart object support.
    You could work on your bump maps textures in external files. When your done some time in the future you could edit your project with the smart object layer and use replace smart object. Only then will all smart filters be applied to the smart layer with the replaced smart object.
    Or if by CC Auto save Layer you referring to CC Generate feature you can disable that feature.
    I have no idea what your referring to when you write "CC auto-saves the layer" being a feature. I know CC Generate will write layers out as web files but that more a Web feature then a 3d feature.  Where do you see your layer being saved?

  • Linked Smart Object:  Allowed File Type and Editor

    Please forgive my lack of knowledge.  I'm evaluating PS CC 2014, own PS 5.1 and am a hair shy of being a novice.  Presently I'm doing Photomerge Focus Stacking.  What I'm hoping is that DNG files can be Linked Smart Objects and that I can modify the merged photo by editing the DNG files in Adobe Camera Raw.  Is this possible?  The Adobe Help article has a rather cryptic "You can’t perform operations that alter pixel data", that leads me to believe no but, I don't understand that fully.
    Thanks.

    Currently you can not use any of the merge options: pano, hdr, or focus stacking with a smart object. So you would not be able to do that with dng files and retain the ability to edit them in Camera Raw. It would be nice though!

  • Linked Smart Object breaks a PSD after sync with Creative Cloud

    After using a linked Smart Object inside a PSD and sync with Creative Cloud, the online version of file does not preview and does not work with any online feature, like Extract, Layers, or Anything else.
    Any suggestion? Thanks in advance.

    Thanks for the example Deryck,
    The preview seemed broken on the comments tab but the image was appearing for me under the Extract one. When I downloaded the original it looked like the linking was preserved. The online version didn't seem to denote in any way that the Cecinas layer contained a Linked Smart Object, which might be helpful, but it did have the preview. Here are some screenshots of what I was seeing. Thanks for posting about it. I'll pass it on to our engineering department.

Maybe you are looking for

  • Problem with threads in my swing application

    Hi, I have some problem in running my swing app. Thre problem is related to threads. What i am developing, is a gui framework where i can add different pluggable components to the framework. The framework is working fine, but when i press the close a

  • Vendor payment due date(invoicewise)report reqd

    Dear Gurus, I have run report S_ALR_87012084.But the report shows due agewise(date wise) vendor report.But user's requirement is "invoicewise( due datewise)vendor report. Kindly advise. Regards, Samar

  • IPhone 5, iTunes 10.7 and Mac OS X 10.6.8

    Just plugged in my iPhone 5. Told I needed iTunes 10.7 so I downloaded that. Then when I try to install, it says the system needs Mac OS X version 10.6.8 or later. I'm currently running 10.5.8 but when I look for software updates nothing comes up. He

  • Custom book export resolution problem in PDF - only 150DPI!?

    I've been using the custom book option and when it came to exporting my PDF I have run into a problem involving the undocumented output resolution of a PDF at a given size. The custom book dialog allows you to create a book with a certain size in inc

  • Can't download itunes---security settings

    I have been trying to download itunes 8 and a message keeps popping up that I can't download with my current security settings. Does anyone know what that means? or How I can fix it? Thank you