XDP post blows up IE

I've got a dynamic PDF form created with Designer 7.0 that will be populated via Reader v7.0.7. I will be capturing four fields via an XDP post and driving that data to a back-end database application with an ASP page. Here's my problem: when the PDF file is opened within Internet Explorer (PDF file will be hosted on the intranet) the XDP post generates a failure in one of the Reader DLL files. However, when that same file (from the intranet site) is opened in Reader *outside* of the IE environment, the XDP post works beautifully.
I know the issue lies somewhere with what has all been installed within the IE environment, as I have a generic VMWare session with Reader v7.0.7 installed that *does* post successfully from IE. Unfortunately, it's not realistic to expect my user community to have a generic IE configuration....especially when the user population exceeds a few hundred PCs.
Any help that this group can provide will be MOST appreciated!
Thanks,
Paul

It would appear that we figured the issue out on our own. Turns out that within the Pre-Submit event of our button we make an xfa.host.print call. This call was the 'standard' context that comes along with the PRINT button from the library, i.e. it launches the print dialog box based on the first "1" setting in the config parameters. Unfortunately, IE doesn't like that print dialog...it wants to print silently right to the default printer. We changed the "1" to a "0" and we have had MUCH better success.
Hope this saves someone as much headache and questioning of the platform as we expended in the last 24 hours. ;)

Similar Messages

  • Understanding the dataadapter.delete command

    I'm new to ADO and ODP so forgive me if I'm missing the obvious. I want to do a simple delete from the database. The problem is I feel like I have to issue the delete command twice. The code I've posted blow works but I don't understand why. I create two commands one a select command the second a delete command. I apply these commands to a dataadapter and then use dataadapter .fill() to get a dataset.
    Great it works fine up to this point. The problem was when I called dataadapter.update nothing would happen. The delete command was ignored. So I looped through the resulting dataset and deleted the record from there. Then I called dataadapter.update and it worked. I tried not setting the dataadapter.deletecommand but then update failed.
    Now my question is: Is it always necessary to delete from a dataset as well as issue a delete command or is there a way of issuing just one delete command? Is it possible to simplify my code?
    Any suggestions or help greatly appreciated.
    Drew
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    Dim oradb As String = "Data Source=vulcan.world;User Id=adowling;Password=aragon;"
    Dim conn As New OracleConnection(oradb)
    Dim cmd As New OracleCommand
    Dim cmd2 As New OracleCommand
    Dim orada As New OracleDataAdapter
    Dim dsLog As New DataSet
    Dim drDelete As DataRow
    Dim myCol As DataColumn
    Dim dcPK(1) As DataColumn
    Dim i As Integer
    Dim rc As DataRowCollection
    Dim pSDEWorkspace As IWorkspaceFactory2
    Try
    conn.Open()
    cmd.Connection = conn
    cmd.CommandText = "select * from t.reconcile_log"
    cmd.CommandType = CommandType.Text
    orada.SelectCommand = cmd
    cmd2.Connection = conn
    cmd2.CommandText = "delete from t.reconcile_log where objectid = " + TextBox1.Text
    cmd2.CommandType = CommandType.Text
    orada.DeleteCommand = cmd2
    orada.Fill(dsLog, "Reconcile_Log")
    orada.MissingSchemaAction = MissingSchemaAction.AddWithKey
    myCol = dsLog.Tables("Reconcile_Log").Columns.Item(dsLog.Tables("Reconcile_Log").Columns.IndexOf("OBJECTID"))
    dcPK(0) = myCol
    dsLog.Tables("Reconcile_Log").PrimaryKey = dcPK
    drDelete = dsLog.Tables("Reconcile_Log").Rows.Find(TextBox1.Text)
    drDelete.Delete()
    orada.Update(dsLog, "Reconcile_Log")
    ListBox1.Items.Clear()
    rc = dsLog.Tables("Reconcile_Log").Rows
    For i = 0 To rc.Count - 1
    ListBox1.Items.Add(Convert.ToString(rc.Item(i).Item(0)) + " " + rc.Item(i).Item(1) + " submitted " + rc.Item(i).Item(2) + " on " + rc.Item(i).Item("submitted"))
    Next i
    Catch ex As OracleException
    Select Case ex.Number
    Case 1
    MessageBox.Show("Error attempting to insert duplicate data.")
    Case 12545
    MessageBox.Show("The database is unavailable.")
    Case 904
    MessageBox.Show("invalid type")
    Case Else
    MessageBox.Show("Database error: " + ex.Message.ToString())
    End Select
    Catch ex As Exception
    MessageBox.Show(ex.ToString)
    Finally
    conn.Close()
    conn.Dispose()
    End Try
    End Sub

    Because the dataset is disconnected from the database. This allows you to load some data (into your dataset), disconnect from the network or whatever, make whatever changes you like and have none of this affect the data in the database until you issue the update.
    If you actually want to have your changes applied immediately then you can (assuming your application is constantly connected of course). Don't bother with a dataset/data adaptor at all. For example set up the sql select statement, assign it to a reader, execute the reader, store the rows returned in some custom objects or whatever. Make some changes and then use executeNonQuery to apply the updates, either one at a time or as a batch using array binding. There is a samples folder where you installed ODP.NET, have a look at some of the others.

  • Time Machine Hung Up

    I set up Time Machine to a Seagate Free Agent Drive about 5 weeks ago. It's worked fine until recently; I noticed yesterday that the TM icon was continually spinning, & when I go into TM Preferences it shows that it is backing up "1 kb of 42 kb". About half an hour ago I clicked on "Stop Backing Up." Now I have a "Stopping Backup" & "Stop Backing Up" in gray, & it is still spinning around showing the "1 kb" message. Any thoughts???? Thanks.

    Terence Norman wrote:
    Pondini, thanks for your real-time assistance on this - I hope I'm not being presumptious posting blow-by-blow - I'm retired so I sometimes forget that others may have things (like work!) to do So don't let me impose on your good nature.
    I'm retired, too, but in and out today doing yard work.
    I wondered about running Software Update and looking for any new(er) drivers? - Terry.
    I doubt there's anything from Apple, especially since you're on Leopard. Then again, updating to 10.5.8 might be worth a shot, if you're really still on 10.5.6. I'd suggest downloading and installing the "combo" update. That's a combination (thus the clever name) of all the updates to Leopard since it was first released, so installing it should fix anything that's gone wrong since then, such as with one of the normal "point" updates. Info and download available at: http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate Be sure to do a +Repair Permissions+ via Disk Utility (in your Applications/Utilities folder) afterwards.
    And/or try the things in #D2 of the Time Machine - Troubleshooting *User Tip* at the top of this forum. The last item (not necessarily the least likely) may be what you need.

  • How to store a Tree Structure in Memory

    hi all!
    I wanted to show a Org Chart on web page. Recursion is used for constructing.Based on B/S architecture,(get Org from DataBase)this is not a effective way!! How can I store a tree structure(Org object are stored as TreeNodes) in memory for recursion??? Thanks!

    My English is too poor! So I posted the interfaces blow.
    I used these interface to construct a org tree(which will displyed in browser ),but it's
    efficiency is low. (recursion)Because the org infor. are stored in database(thounds of
    orgs are stored).(I think this is the bottleneck)
    Now I want to store the tree structure in memeory! Then jsp page only needs to build the tree
    from memory!Needn't make a DbConnection every time. A timer will updated tree org(in memory)
    automatic
    So I want to use a N dimensions array to store the data (N is the number of orgs)
    but I don't konw how to make a compositor for sorting!
    after sorting .look at the matrix I poster blow(eg.)
    Matrix:(a,b,c,d are orgs 1 mean's is parents 0 means not, this is a Sparse Set huh? ^_^ )
    * a b c d
    a 0 0 0 0
    b 1 0 0 0
    c 1 0 0 0
    d 0 1 0 0
    Org tree:
    a
    b c
    d
    so O(n(n-1)/2)
    question:
    1)How to sort orgs?
    2)Any good suggestion is wanted!
    Thanks!
    interfaces
    public interface IOrg {             //entity class
    public String getName(); //get Org Name
    public String getId(); //get Org Id
    public String getLevel(); //get Org Level (as String)
    public String getParentId(); //get parent org Id
    public String getDescription(); //get the description
    public boolean isActive(); //is Org active
    Org Factory
    import java.util.*;
    * Description of the Interface
    *@author ymruan
    *@created 2002��1��4��
    public interface IOrgFactory {
    public IOrg getOrgById(String orgId);
    public IOrg getOrgByObjId(String objId);
    public Enumeration getManagers(String orgId);
    public Enumeration getManagers(IOrg org);
    public Enumeration getEmployees(String orgId);
    public Enumeration getEmployees(IOrg org);
    public Enumeration getOrgsByLevel(String level);
    public Enumeration getAllOrgs();
    public Enumeration getOrgsLikeName(String name);
    public IOrg getParentOrg(IOrg org);
    public IOrg getRootOrg(); //get Root Org
    public Enumeration getChildOrgs(IOrg org); //get Ogg's children
    public boolean hasSubOrgs(IOrg org); // is leaf
    public boolean hasActiveSubOrgs(IOrg org);
    public boolean isInOrg(String orgId, String empId);
    public boolean hasEmployees(IOrg org);

  • Simple flow with a Digital Signature

    Hi,
    I have a a dynamic PDF document which includes a document signature on it. The flow begins with starting the process which has task manager end point. The starter of the process fills the form and sign the document and commits. Then another user login to workspace and open the To Do list and see the filled form. However digital signature is not preserved, missing. I have defined my pdf form as xfaForm.
    How can I create a flow preserving the digital signature?
    Thanks,
    Asiye

    When I drag and drop process variables into form It puts a Regular Submit button which has a script on click event. This is the script:
    if (xfa.host.name == "Acrobat")
    // get the local URL of the PDF, to check to see if it's a file on disk or from the web.
    var sURL = event.target.URL;
    if (sURL == null) sURL = "";
    // can only email if there is a LiveCycle email address and doc loaded from disk (not in a browser)
    if ((sURL.indexOf("file://") == 0) )
    if (AWS_STATUS.rawValue == "Submitted"){
    app.alert("This task item has already been submitted.");
    bSubmit = false;
    else {
    // set this boolean to false if any of the criteria fails
    var bEmail = true;
    // check for empty agent email address
    var _mailTo = AWS_MAILTO.rawValue;
    if (_mailTo == null) _mailTo="";
    if (_mailTo == ""){
    // prompt for an email address to send the submit
    AWS_MAILTO.rawValue = app.response("This form does not contain the email address for a LiveCycle service. Please enter the LiveCycle email address now.", "Task Item Submission Information");
    if (AWS_MAILTO.rawValue == ""){
    bEmail = false;
    // check for either a taskId or process type, if no taskId, prompt for Process Type
    if (bEmail){
    var _taskId = AWS_TASKID.rawValue;
    if (_taskId == null) _taskId = "";
    var _processType = AWS_PROCESSTYPE.rawValue;
    if (_processType == null) _processType = "";
    if ( (_taskId == "") && (_processType == "") ){
    // prompt for process type
    AWS_PROCESSTYPE.rawValue = app.response("This form does not contain a taskId or a process type. Please enter the Process Type you wish to invoke with this form.", "Task Item Submission Information");
    if (AWS_PROCESSTYPE.rawValue == ""){
    bEmail = false;
    if (bEmail){
    event.target.submitForm({cURL: "mailto:"+AWS_MAILTO.rawValue,
    bEmpty: true, // Post all fields (true), or do Not post all fields (false)
    cSubmitAs: "XDP", // Post XDP format
    cCharset: "utf-8"});
    // set status to "Submitted" so that another send is not attempted via email.
    AWS_STATUS.rawValue = "Submitted";
    else{
    // normal web acrobat submit
    FSSUBMIT_.execEvent("click");
    else // other web rendering submit
    FSSUBMIT_.execEvent("click");
    Have to I use a "Submit" type submit button instead? What will be the submit options then?

  • FIREFOX 26 changed the 'post crash' page with the list of windows and pages. It was a real HTML page with links for each page. Now it isn't (and blows)

    * You changed the page that comes up after a crash - the one which shows the windows and pages that were up before the
    crash.
    This used to be a real HTML page and it isn't any more. THis choice was pure isiocy consider how peopel used that page every day (try taking to your users for a change).
    The pages listed on that 'post crash page' used to be actual LINKS (you could right click them &
    manually open them in another tab - and most peope DID that every day). You could also (and I did this a lot) drag a second
    copy of the page, into a new tab (to keep track of all the pages I had not wanted to open)
    Now the pages are no longer links. You cannot right-click them.
    The thing in the probser is no longer a page that I can drag into a new tab.
    Roll the version back and throw this one in the bin...and have a good long talk with your developers about the definition of
    'STUPIDITIY'
    Then I try to type anything in the addres bar it is suppose to repoond with the history of old things I have types in the past, or
    search for what I type (and in some cases I think it tyes to convert it intoa URL). However it no longer does any of these
    things. When I type in the ADDRESS BAR ONLY, I do not get all of my letters to appear. I have to type into a notepad or
    into the search and to copy and paste to go to a URL. Nothing that is typed into the address bad responds normally at all
    anymore, and I am fairly certain there are no new addons on this machine at all. It does not matter which things I disable. It
    still does this. W of course points the finger back at a change to FIREFOX. I wich I could just sitct with one stable release
    forever but the MOZILLA folk thing it is best to force peopel awy from a working broswer release to a horrible one (due to it
    being out of date).
    FIREFOX 26.0 has 'issues' (ie new *features*/bugs)
    1) History is no longer accurate. My Proof? This machine is the primary one for the entire family (the only PC working). It is
    logged in with same user every time and never has its history cleared. It now January 7 so I ought to have a list of all of last
    months browing available to me.
    However, according to FIREFOX history, in all of December 2013, the entire family only went to 51 primary URL's. None of
    the official TV sites I use to get episodes are listed. None of the official movie sites I use are listed. The primary URL for
    ebay is not listed. Only 1 out of our 4 weather sites that I use (at least once a week) are listed. Only 1 of our 3 FINANCE
    sites is listed. There ought to be several; hundred root URLs listed.
    Please fix history as this change seriously "blows greasy chunks"
    PROBLEM (a stupid change in the new FIREFOX version)
    FOr a long time, after a crash you got a useful page (a real HTML page) which gave you a list of all of your last sessions
    'winwos and tabs' that were open when the browser crashed. there were certain ways of using this page that are no longer
    able to be done.
    The old method was wonderful as it had this behavior :
    *** The old method for displaying your 'Recovered Tabs' allowed you to :
    a) right click an individual item and open it in a tab without getting rid of that lovely window of your previous session of
    'recovered windows and tabs '.
    2) drag the URL for the entire window of 'recovered windows and tabs ' to a new tab (to make a second copy) so that you
    could select just a few of them to open as a group, and stil have the old list handy.
    You can no longer do either of these things. The 'recovered windows and tabs ' page no longer has links in it and can no longer be dragged, so you cant select a few of them to use, and keep the rest around for later. NOW - once you choose which pages to open the window is gone forever (can can't get a second copy).
    People used to make a copy of the page for later use (with a drag)
    we also used to open pages with a right click (which no longer functions
    This new method seriously blows big greasy chunks. A parge loss in function has occurred.
    Put things back as they were. 26 is full of terrible changes that NOBODY likes. It also has a lot of bugs (history is not reliable at all)

    (1) Firefox's built-in post-crash page has not been a real HTML page for a long time (for example, from the time of Firefox 22, see: [https://support.mozilla.org/en-US/questions/968212 Want to save LOTS of versions of "Restore Session.xht" from the "oops ..." page for later use]). If you had this working differently with Firefox 25, that might have been created by an extension.
    You can check to see whether extensions are disabled or need an update on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. The disabled extensions cluster toward the bottom of the list. To poll for updates, use the "gear" button above the list and choose Check for Updates.
    If you used the Reset feature (or Firefox automatically did a reset due to some problem during upgrading), you will need to reinstall missing extensions. The reset feature creates a folder on the desktop named Old Firefox Data. Do you have that folder? There may be data you can recover from it.
    (2) There are many ways for history to get cleared, both internal to Firefox and external. Could you double-check your Privacy settings?
    orange Firefox button (or Tools menu) > Options > Privacy
    * The "Firefox will" drop-down says Remember History: Firefox shouldn't be clearing history, but an add-on or external software could do it
    * The "Firefox will" drop-down says Use custom settings for history: inspect the "Clear history when Firefox closes" setting to make Firefox isn't set to clear history. Also check your add-ons and consider external software.
    Firefox normally accumulates months of history. However, some of Firefox's database sizes are based on disk space available. If your hard drive is very full, Firefox might reduce the amount of history stored.

  • Jonatan R. Aug 1, 2012 5:42 PM Hello, didnt really know hwere to post this guess it more belong under like "computers" generally,    but! For a while...        (-THE LONGER VERSION) : No whait!, let me start where it all began, 2009, a december (erhh.. ii

    Hello, didnt really know hwere to post this guess it more belong under like "computers" generally, 
    but! For a while... 
        (-THE LONGER VERSION) :
    No whait!, let me start where it all began, 2009, a december (erhh.. iii think? Hwatever!) litlle me hwere nearly Totally blank to the computer world. And suddenly it stood there on the table, a shining (it was shining back there) new "hp pavillion entertainment pc" with its smell of fresh plastic mixed hwith the strong smell from the cardboardbox, remember it as if it were yesterday
    ... Since then.... I have today a good solid pc knowing! (at more advance level cmd,bott menu, recovery, blah, blah... NERD!) here at the last awhile, ive prommised to make a lot! A lot of video projects!
    (okay 2, but some big ones!) avchd multilayer 2 hours!!!! 
    So the poor hp laptop -dual core i2 4gb ram, has been begged to it knees! And simply cant handle it of course! and it have just trough time benn loaded with lots of crap, and is extremly noisy, heat, slow, anoying = unusable!
    SO hwat i need is...
        (-THE SHORTER) :
    A computer setup that will EASILY! could handle stuff like that  (avchd, multilayer, 2 hours project) -and simmilar. A total power machine! But Im tired of windows! And ugly cheap looking design! The times have changed and i change with them!
    NOW I WANT APPLE!! 
    But but but... Hwat should i get????
    1. Im NOT a billionare!
    2. I repeat: NOT a billionare!
    3. I also need portability for every day use beyond the hardcore creative editing and use
    AT LAST:
     i saw in front of me this genius plan... With a macbook pro, a tuned one, with as much of ram,cpu,gpu, and everything else as it can posibble have
    -the perfect combination of transportabillity, everydayuse and total power!
    When it gets combine with,
    A cinemadisplay
    A extra keyboard
    And a extra magic mouse
    And this power macbook pro, with screen, mouse, and keyboard i've found a really good offer at.
    MY ACTUAL QUESTION.... :
    Now it is yours turn to please! be creative! Please! Hwat does all you genius heads! think and say?
    WILL A super tuned MACBBOK PRO COMBINED WITH ACCESSORIES, AT ALL, BE ABLE TO REPLACE A STRONG MAC PRO, OR AT LEAST BE MORE THAN ENOUGH FOR REALLY HEAVY STUFF? And if yes, HOW strong actually (ram,cpu,gpu...) will it need to have to be "more than enough"?
    If no, what would all of  you then suggest that is perfect in relation to everything?
    PLEASE ANSWER!!

    Jonatan R. wrote:
    WILL A super tuned MACBBOK PRO COMBINED WITH ACCESSORIES, AT ALL, BE ABLE TO REPLACE A STRONG MAC PRO,
    No,
    the MacPro is the muscle machine and not constrained by power or cooling limitations like the MacBoo Pro is.
    OR AT LEAST BE MORE THAN ENOUGH FOR REALLY HEAVY STUFF?
    If you press the MacBook Pro like a desktop machine, it will blow fans like a hurricane but will do the job eventually.
    The longer you blow fans on a laptop, the sooner it clogs up with crippling dust and shortens the life of the machine.
    You'll need the top end 15" or better, not the 13" as it has no dedicated graphics, only CPU graphics.
    Preferably if you just now getting into video, you should be considering Avid on a Windows 7 tower, it's because Apple has been ignoring the MacPro for hardware updates to improve it and it seems like they don't want to carry it anymore. Also the last Final Cut Pro version had Hollywood up in arms as Apple removed a lot of required abilities to make it more "consumer friendly" which upset the Pro market who likes control.
    Apple is focusing on the consumer computing market and getting away from the "Pro" market which needs the heavier hardware to handle video needs. They stopped selling the X-RAID and the X-Server, so Apple really isn't a "computer" company any longer.
    Sure you can use a MacBook Pro and a external monitor for doing home movies and such occasionally, but if your into serious production you need to consdier other options now.
    There is nothing wrong in getting a MacBook Air and a Windows 7 professional video tower too.

  • Can't post to Mircrosoft IIS machines

    Hi I am using the following code from a tutorial. But it blows up every time after a second POST. But I can post as many times as I need to a linux box or any other UNIX boxes I can think of.
    What is going on? Why does it not work with microsoft products?
    * HttpMidlet.java
    * Created on October 23, 2001, 11:19 AM
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    * @author kgabhart
    * @version
    public class HttpMidlet extends MIDlet implements CommandListener {
    // A default URL is used. User can change it from the GUI
    private static String defaultURL = "http://www.microsoft.com";
    // Main MIDP display
    private Display myDisplay = null;
    // GUI component for entering a URL
    private Form requestScreen;
    private TextField requestField;
    // GUI component for submitting request
    private List list;
    private String[] menuItems;
    // GUI component for displaying server responses
    private Form resultScreen;
    private StringItem resultField;
    // the "send" button used on requestScreen
    Command sendCommand;
    // the "exit" button used on the requestScreen
    Command exitCommand;
    // the "back" button used on resultScreen
    Command backCommand;
    public HttpMidlet(){
    // initialize the GUI components
    myDisplay = Display.getDisplay( this );
    sendCommand = new Command( "SEND", Command.OK, 1 );
    exitCommand = new Command( "EXIT", Command.OK, 1 );
    backCommand = new Command( "BACK", Command.OK, 1 );
    // display the request URL
    requestScreen = new Form( "Type in a URL:" );
    requestField = new TextField( null, defaultURL, 100, TextField.URL );
    requestScreen.append( requestField );
    requestScreen.addCommand( sendCommand );
    requestScreen.addCommand( exitCommand );
    requestScreen.setCommandListener( this );
    // select the HTTP request method desired
    menuItems = new String[] {"GET Request", "POST Request"};
    list = new List( "Select an HTTP method:", List.IMPLICIT, menuItems, null );
    list.setCommandListener( this );
    // display the message received from server
    resultScreen = new Form( "Server Response:" );
    resultScreen.addCommand( backCommand );
    resultScreen.setCommandListener( this );
    }//end HttpMidlet()
    public void startApp() {
    myDisplay.setCurrent( requestScreen );
    }//end startApp()
    public void commandAction( Command com, Displayable disp ) {
    // when user clicks on the "send" button
    if ( com == sendCommand ) {
    myDisplay.setCurrent( list );
    } else if ( com == backCommand ) {
    // do it all over again
    requestField.setString( defaultURL );
    myDisplay.setCurrent( requestScreen );
    } else if ( com == exitCommand ) {
    destroyApp( true );
    notifyDestroyed();
    }//end if ( com == sendCommand )
    if ( disp == list && com == List.SELECT_COMMAND ) {
    String result;
    if ( list.getSelectedIndex() == 0 ) { // send a GET request to server
    System.out.println("getHTTP");
    result = sendHttpGet( requestField.getString() );
    else // send a POST request to server
    System.out.println("postHTTP");
    result = sendHttpPost( requestField.getString() );
    resultField = new StringItem( null, result );
    resultScreen.append( resultField );
    myDisplay.setCurrent( resultScreen );
    }//end if ( dis == list && com == List.SELECT_COMMAND )
    }//end commandAction( Command, Displayable )
    private String sendHttpGet( String url )
    HttpConnection hcon = null;
    DataInputStream dis = null;
    StringBuffer responseMessage = new StringBuffer();
    try {
    // a standard HttpConnection with READ access
    hcon = ( HttpConnection )Connector.open( url );
    // obtain a DataInputStream from the HttpConnection
    dis = new DataInputStream( hcon.openInputStream() );
    // retrieve the response from the server
    int ch;
    while ( ( ch = dis.read() ) != -1 ) {
    responseMessage.append( (char) ch );
    }//end while ( ( ch = dis.read() ) != -1 )
    catch( Exception e )
    e.printStackTrace();
    responseMessage.append( "ERROR" );
    } finally {
    try {
    if ( hcon != null ) hcon.close();
    if ( dis != null ) dis.close();
    } catch ( IOException ioe ) {
    ioe.printStackTrace();
    }//end try/catch
    }//end try/catch/finally
    return responseMessage.toString();
    }//end sendHttpGet( String )
    private String sendHttpPost( String url )
    HttpConnection hcon = null;
    DataInputStream dis = null;
    OutputStream os = null;
    StringBuffer responseMessage = new StringBuffer();
    // the request body
    String requeststring = "This is a POST.";
    try {
    hcon = (HttpConnection)Connector.open(url);
    byte [] data = "TextField=Hello&TextField2=Hello2&Submit=Submit".getBytes ();
    hcon.setRequestMethod(HttpConnection.POST);
    hcon.setRequestProperty("User-Agent","Profile/MIDP-1.0 Configuration/CLDC-1.0");
    hcon.setRequestProperty("Content-Language","en-US");
    hcon.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    os = hcon.openOutputStream ();
    os.write (data);
    os.close ();
    //conn.close ();
    // obtain DataInputStream for receiving server response
    dis = new DataInputStream( hcon.openInputStream() );
    // retrieve the response from server
    int ch;
    while( ( ch = dis.read() ) != -1 ) {
    responseMessage.append( (char)ch );
    }//end while( ( ch = dis.read() ) != -1 ) {
    catch( Exception e )
    e.printStackTrace();
    responseMessage.append( "ERROR" );
    finally {
    // free up i/o streams and http connection
    try {
    if( hcon != null ) hcon.close();
    if( dis != null ) dis.close();
    if( os != null ) os.close();
    } catch ( IOException ioe ) {
    ioe.printStackTrace();
    }//end try/catch
    }//end try/catch/finally
    return responseMessage.toString();
    }//end sendHttpPost( String )
    private String xsendHttpPost( String url )
    HttpConnection hcon = null;
    DataInputStream dis = null;
    DataOutputStream dos = null;
    StringBuffer responseMessage = new StringBuffer();
    // the request body
    String requeststring = "This is a POST.";
    try {
    // an HttpConnection with both read and write access
    hcon = ( HttpConnection )Connector.open( url, Connector.READ_WRITE );
    // set the request method to POST
    hcon.setRequestMethod( HttpConnection.POST );
    //hcon.setRequestProperty("Content-length", ""+ requeststring.length() );
    hcon.setRequestProperty("Content-type","application/x-www-form-urlencoded");
    //hcon.setRequestProperty("Content-language", "en-US"); // should be config.
    //hcon.setRequestProperty("Accept", "text/xml");
    //hcon.setRequestProperty("Connection", "close");
    // obtain DataOutputStream for sending the request string
    dos = hcon.openDataOutputStream();
    byte[] request_body = requeststring.getBytes();
    // send request string to server
    for( int i = 0; i < request_body.length; i++ ) {
    dos.writeByte( request_body[i] );
    }//end for( int i = 0; i < request_body.length; i++ )
    // obtain DataInputStream for receiving server response
    dis = new DataInputStream( hcon.openInputStream() );
    // retrieve the response from server
    int ch;
    while( ( ch = dis.read() ) != -1 ) {
    responseMessage.append( (char)ch );
    }//end while( ( ch = dis.read() ) != -1 ) {
    catch( Exception e )
    e.printStackTrace();
    responseMessage.append( "ERROR" );
    finally {
    // free up i/o streams and http connection
    try {
    if( hcon != null ) hcon.close();
    if( dis != null ) dis.close();
    if( dos != null ) dos.close();
    } catch ( IOException ioe ) {
    ioe.printStackTrace();
    }//end try/catch
    }//end try/catch/finally
    return responseMessage.toString();
    }//end sendHttpPost( String )
    public void pauseApp() {
    }//end pauseApp()
    public void destroyApp( boolean unconditional ) {
    // help Garbage Collector
    myDisplay = null;
    requestScreen = null;
    requestField = null;
    resultScreen = null;
    resultField = null;
    }//end destroyApp( boolean )
    }//end HttpMidlet

    Modified your code on the line:
    dos.writeByte( request_body );
    to:
    dos.write( request_body );
    and it works with 2 Microsoft IIs servers. I don't know if you ever got this working or if you went to a GET method but we were having major difficulties with IIs servers as well. I figured late was better than never for a response.

  • Is there a way to have iMovie NOT blow up a small video size .mov?

    hi,
    I am animating an 8-bit flash video and basically, when all is said and done I want it to be maybe 200X200 dimensions in iMovie. (Its the latest version of iMovie)
    I export the .mov of the 200X200 video and when I import it into iMovie it just blows up the video to standard 640X480, or whatever they are. So obviously its blurry and distorted. I wanted to have a black screen around the small 200X200 .mov file. The reason being when watching the video it will be like looking at a Gameboy screen. Very small but clear detail.
    Is there a way I can make a small video dimension of 200X200 with black surrounding the dead space centered around the actual video?
    Or is it not going to work, in which case, can I somehow make my .mov file look clear and bright and colorful rather than dull and fuzzy when blown up?

    HI,
    Post in iMovie forum here.
    http://discussions.apple.com/category.jspa?categoryID=141
    Carolyn

  • How do I create photo page with blow up images?

    I need some help trying to create a web page of photo thumbnails with blow-up larger images:
    1) I want to create a contact sheet type of web page of multiple photo thumbnails.
    2) When you click the photo it opens into a small window or "blow-up" version of the thumbnail. (Clicking the thumbnail does NOT take you to a new page with the full size image).
    3) The blow-up photo has a circle and X that will close the blow-up window.
    I've already figured out how create pages of thumbnails that will take you to a new page with the full size image. I'm trying to create the effect where you never leave the main page, the thumbnails just blow-up into small windows that can be closed again.
    Apple uses this effect a lot with photos and movie clips on their page. An example of what I am trying to do can be found on the iLife/iPhoto/MobileMe Gallery info page.
    http://www.apple.com/ilife/iphoto/#mobilemegallery
    If you look to the right just under the main large banner images, there is a grey box titled "iPhoto Showcase." If you click one of the thumbnails there, the picture blows out to a larger size of the image, but doesn't take you to another page. The blow-up image has a little circle and X at the top left to close the window. Main page is still visible behind the blow-up window.
    I think this post mentions what I'm trying to do, but they seem to be having problems getting it to work. I need help creating this effect from scratch.
    http://discussions.apple.com/thread.jspa?threadID=1609046
    I'm using a fairly new MacBook with OS 10.5, iPhoto and iWeb '08. I also have Aperture 2.0. I don't have a .Mac or MobileMe account yet. I'm a recent convert from the Darkside, so right now I use google's Picasa Web Albums and google's website creator for my site. If I can get this to work, I'll make the switch MobileMe once the early .Mac conversion kinks get worked out.
    Thanks,
    TDizzle...

    Cyclosaurus--
    That's the effect that I'm looking for. I've read through the instructions on Cabel's website (thanks for the great links!) But I'm afraid I'm still a bit of a novice with website creation and editing. I liked your iWeb examples, so I have a few follow-up questions about how to integrate this with iWeb.
    1) Do you use iWeb and .Mac/MobileMe to publish your site? I already own a domain and have been using google's online page creator tools to create some very basic pages. For picture pages, I just put up links to my Picasa web albums. But the google user interface and options (no FTP upload) are even more limited than iWeb and .Mac. With 20GB of storage, plus the other features and ability for integration, MobileMe sounds enticing for the price.
    2) At what point do you add the code to the pages in the edit and publish process? What are the exact steps you use to publish? (Create and edit in iWeb, add html code, publish to folder or publish straight to .Mac/MobileMe, etc.)
    3) If you make changes to pages in iWeb, do you have to keep adding the code to the pages and repeat the steps from above question?
    4) What app do you use to edit the html code? No html edit function in iWeb, so I tried opening the "page.html" files in TextEdit but the page just looked like a web page. No code. How do I get the text of the html code to open in TextEdit or another app?
    5) Do the lines of code (2 lines in "head" and 1 line in "body") need to be added to every page that I want to use the effect?
    6) How do you upload the two FancyZoom folders to a .Mac/MobileMe account site? And where exactly do they need to be placed?
    Thanks,
    TDizzle...

  • How do I select the Poster Frame when exporting to video?

    PP CS6
    I cannot find how to select the frame that I want to appear as the Poster Frame in the exported video.
    I can select it I can change one by right clicking an imported video OK but not the sequence!
    I've been through every menu I can find & even Lynda.com training!
    I'm sure that there must be a way but I'm blowed if I can find it!!

    There are two common meanings for the phrase "poster frame":
    A standalone image on disk (JPG etc) which is displayed by a player before the video is loaded - commonly used by video player apps on websites (YouTube etc), InDesign and PDF files, etc. so the video asset doesn't have to be opened in order for the viewer to see what they're about to watch - although the image is normally captured from the video it doesn't have to be.
    An image resource embedded into the XMP/ID3 data of a video or audio file which can sometimes be shown in the player, but is normally set because it  appears as the thumbnail image when viewing the files in Finder or Windows Explorer. It's not part of the content stream, it's in the file header. In MP3 files it's used to store album artwork.
    You can create standalone JPEG images from PP using the camera icon below the monitor and can semi-automate the export of a still image alongside your video using presets in Adobe Media Encoder, but there's no option in PP (or via Adobe Media Encoder) to specify the embedded poster image in a rendered media file. Several third-party apps can do it, either during render (Compressor / Squeeze) or after the fact (Quicktime Pro), but support for these embedded resources depends on the wrapper for the video file.
    The ability to set a 'poster frame' in the clip bins in PP is solely there to help you organize your project assets visually - for example if the imported footage starts from black, or if you want to choose a frame where the slate is visible - but your choice has no effect on the sequences at export and isn't written back into the original footage.

  • Slow Performance or XDP File size very large

    There have been a few reports of people having slow performance in their forms (tyically for Dynamic forms) or file sizes of XDP files being very large.
    These are the symptoms of a problem with cut and paste in Designer where a Process Instruction (PI) used to control how Designer displays a specific palette is repeated many many times. If you look in your XDP source and see this line repeated more than once then you have the issue:
    The problem has been resolved by applying a style sheet to the XDP and removing the instruction (until now). A patch has been released that will fix the cut and paste issue as well as repair your templates when you open them in a designer with the patch applied.
    Here is a blog entry that describes the patch as well as where to get it.
    http://blogs.adobe.com/livecycle/2009/03/post.html

    My XDP file grow up to 145mb before i decided to see what was actually happening.
    It appears that the LvieCycle Designer ES program sometimes writes alot of redundant data... the same line millions of times over & over again.
    I wrote this small java program which reduced the size up to 111KB !!!!!!!!!!!!!!!!!! (wow what a bug that must have been!!!)
    Here's the sourcecode:
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    public class MakeSmaller {
    private static final String DELETE_STRING = "                           <?templateDesigner StyleID aped3?>";
    public static void main(String... args) {
      BufferedReader br = null;
      BufferedWriter bw = null;
      try {
       br = new BufferedReader(new FileReader(args[0]));
       bw = new BufferedWriter(new BufferedWriter(new FileWriter(args[0] + ".small")));
       String line = null;
       boolean firstOccurence = true;
       while((line = br.readLine()) != null) {
        if (line.equals(DELETE_STRING)) {
         if (firstOccurence) {
          bw.write(line + "\n");
          firstOccurence = false;
        } else {
         bw.write(line + "\n");
         firstOccurence = true;
      } catch (FileNotFoundException e) {
       e.printStackTrace();
      } catch (IOException e) {
       e.printStackTrace();
      } finally {
       if (br != null) {
        try {
         br.close();
        } catch (IOException e) {
         e.printStackTrace();
       if (bw != null) {
        try {
         bw.close();
        } catch (IOException e) {
         e.printStackTrace();
    File that gets generated is the same as the xdp file (same location) but gets the extension .small. Just in case something goes wrong the original file is NOT modified as you can see in the source code. And yes Designer REALLY wrote that line like a gazillion times in the .xdp file (shame on the programmers!!)
    You can also see that i also write the first occurrence to the small file just in case its needed...

  • "You do not have permission to post in this forum"

    I have another account that cannot do anything much at all, and I would like to get it fixed without a five day wait for a Genius Bar appointment, then a 1 hour bus trip each way with an "I can't help with that" in the middle.
    The account has been broken for over a year.  This is what happens:
    I can submit a question to the community.
    I can open any postings that show as matches.
    If there are no matches and I get thrown to the list of communities, then I can't view or post to any of them.  I see the product names and icons (iPad, for example, but the list of related communities on the right is missing for all products.  Which seems unfair because I own most of them.
    You do not have permission to post to this forum
    It appears you are not allowed to view what you requested.  You might contact your administrator yadda yadda.
    I have posted about this before:
    https://discussions.apple.com/message/17393255#17393255
    with no real answer (a threat of possible help, if you like, but with no resultant benefit.)
    My question is - how does one get help with the help forums?  I have phoned Apple's help desk and they said they could not do anything.
    I would really like to get my primary account working - it connects to the right email address, it all set up and comfortable - and it does not use my name and location as an alias (who's idea was that?  Fire that person!)
    If you know of any court of appeal, help desk support forum support line, 21-step program or anything else that might help, please tell me.  This has gone on long enough.
    I tried to do something about this from the other account but to get support for the support communities you have to be able to post to them.
    "That's some catch, that Catch-22"
    "It's the best there is."
    Thanks in advance for your help.
    PG.

    Seventy-one -  To my knowledge, I have been a model citizen.  And not impertinent of you at all - a very reasonable question.  All words have been 1-3 or 5+ letters long, I certainly have not received any communication (that I have been able to find) that indicates a transgression.  And there is another question - which castle, and are you saving for the deposit?
    Bleach  - other user name is "Ploughguy".  But I was more after a means of contacting those with influence myself.  Most fora like this have a contactable moderator or administrator.  I am rather amazed that one needs the intercession of the saints.  Such as St Roger...
    Roger - This situation.  The "can't look-can't post" situation.  It has been (not) happening for some time.
    I previously raised the issue here .
    BTW, I created yet another ID because I was not careful enough when I set up the second ID and it defaulted to "NameFromSuburb".  This is OK for johnfromnewyork but a huge privacy risk if you are ranulffromlittlestorpingintheswuff - an unusual name in a small place.  I do not know how that default got through the peer review. Basically it says "ranulf has the good taste to own an Apple something which is portable and fenceable, and he lives not far from here".  I have suggested to the privacy people that it is a very bad idea.  And yes, I realise my alias is already out there.  I have asked the privacy people to blow it away.

  • Request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about th eamount of folks affected!

    request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about the percentage of folks affected!
    and what's with the minimalist response? We're working on it for 2 days? You can do beter than that for exsisting loyal customers can't you?

    I just spoke to a Support person with Apple.  I got the same answer, "We Don't Know", "but they are working on it...Blah, Blah.  I too live in Ventura, and have been without email since yesterday approx. 3:00 pm.
    The guy said, it's the same if you brought your computer into the shop.  We have to determine if it's hardware, or software, then fix the problem.
    Well, What about a BACK UP SERVER?  No real answer to that one.  Just, "Thanks, for your Patience."
    This really blows!!!

  • HELP:Merging External File (JPG/PDF) into XDP/XML Merged PDF on Client

    I need some serious help pointing me in the right direction.
    What I have...and is working:
    I have an Invoice Template/PDF/Form created by LiveCycle with form fields.  When requested by the user, in real-time I send XML from my server that is merged with the PDF template to create a single PDF file with multiple pages of invoices.  Each invoice fits on one page.  Works great...technically I think this is called or used XDP to merge the two on the client computer with a PDF and XML being supplied by the server.
    The server is just a generic Unix/PHP/MySQL environment...no Adobe products are installed (or can be installed on that machine).  I rely entirely on the client's computer to assemble and create the finished PDF.
    What I NEED:
    So the client is now asking that I be able to insert receipts into the invoice PDF stream.  So in order words you would still have the invoices above, but if we happen to have scanned receipts for a given invoice, they want those embedded into the PDF.  A finished product would look like:
    Page 1 - Invoice 00001
    Page 2 - Receipt #1 for Invoice 0001
    Page 3 - Receipt #2 for Invoice 0001
    Page 4 - Invoice 00002
    Page 5 - Invoice 00003
    Page 6 - Receipt #1 for Invoice 0003
    etc.
    Can someone point me in the right direction to make this happen?
    Perfect world, I would like to have the invoices be actual images of the receipts (assume we need to have a JPG or PDF scan of the receipt)
    Okay world, I guess we could just attach the actual document so if it is XLS, DOC, PDF...etc...I don't need to convert...just attach.
    Last choice, I could just include hyperlinks back to our server for the client to click on and open the receipt document as we store it.

    From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
    There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
    Hope this helps somewhat.
    Chris
    Adobe Enterprise Developer Support

Maybe you are looking for

  • Problem in writing Hindi Font in properties file at run time.!

    hi, We are using Language translator for our project. We are able to convert the language in hindi and chinese language. Im also creating properties file respective to each page in hindi,english and chinese language. At run time while CREATING proper

  • The start!!

    Hi experts,    i am new to XI. I know about some adapters like file,idoc,rfc,http,jdbc. My question is, 1. Apart from these adapters, what are the other adapters that are used most in projects in real time. 2. I also request you to kindly send me inf

  • Photoshop CS4 file saving problem...

    Photoshop CS4 file saving problem: When no file name is specified, Photoshop saves file to the root directory of the drive instead of the current folder. It auto names the image with the name of the folder that was active. Can this be fixed? BTW: I w

  • New IPhone  ver  1.1.2    what is in this new feature

    Can anyone explain what is this new vers 1.1.2 for IPhone?

  • ITunes Connect Mobile app

    I just got an email from apple, that I can access iTunes Connect. I've already downloaded the iTunes Connect Mobile app but I'm not able to logg in with my Apple ID, although it just works fine when going to itunesconnect.apple.com. What could be the