Trouble with Application.GetSaveAsFilename

I'm using VBA in Word 2010 to automate the population of project details (job #, client details, etc.) into a master report template.  I've got the most important parts working just fine (albeit SLOW!), but would like for the user to be prompted to
save modified document into a different folder (so that the master file isn't overwritten every time) before the substitutions are made  This isn't my first program (having started with FORTRAN in 1977 or so) nor my first foray into VBA.  But the
file manipulation has me thoroughly befuddled.
Here's the code in question (it isn't complete yet - with unrelated code snipped out for brevity):
Sub myReplaceText()
    Dim NewText(29), IntialName, saveAsName As String
    Dim fileSaveName, myDialogBoxTitle As Variant
'SNIP lots of code
'NewText values are pulled from an Excel spreadsheet in other code
    NewText(1)="14-19298"
    NewText(2)="Grand Hyatt Hotel"
    InitialName = NewText(1) & " " & NewText(2) & " Final Report"
    saveAsName = InitialName & ".docx"
    myDialogBoxTitle = "Where do you want to save the file?"
'The following statement is my problem
    fileSaveName = Application.GetSaveAsFilename(saveAsName, "*.doc*", myDialogBoxTitle)
    If fileSaveName <> False Then
        MsgBox "Save as " & fileSaveName
    End If
End Sub
I'm getting an error before any of the code executes:
Compile error:
Method or data member not found
And Application.GetSaveAsFilename is highlighted.  I'm baffled.  I have the following references selected/activated:
Visual Basic for Applications
Microsoft Word 15.0 Object Library
OLE Automation
Normal
Microsoft Office 15.0 Object Library
Excel PlugInShell 1.0 Type Library
Microsoft Excel 15.0 Object Library
Microsoft DAO 3.6 Object Library
Microsoft ADO Ext. 6.0 for DDL and Security
What am I missing?

<sigh>
The answer is actually very simple: there is no  Application.GetSaveAsFilename
in Word's VBA.  Go figure.  The following code works:
<snip>
'Now save the Word file to a new name and location BEFORE it is changed
    Dim IntialName, saveAsName, mySaveAsFilePath As String
    Dim fileSaveName, myDialogBoxTitle As Variant
    Dim dlgSaveAs As FileDialog
    InitialName = NewText(1) & " " & NewText(2) & " Final Report"
    saveAsName = InitialName & ".docx"
    mySaveAsFilePath = "G:\Projects\"
Set dlgSaveAs = Application.FileDialog(FileDialogType:=msoFileDialogSaveAs)
'dlgSaveAs.Show
With Dialogs(wdDialogFileSaveAs)
    .name = mySaveAsFilePath & saveAsName
    .Show
End With
' perform the replacements
<snip>
My code is now working; hope this helps someone else.

Similar Messages

  • Trouble with Application Link

    Hi xperts,
    I am developing an custom application wherein i am suppose to send an email to selected userid by user . Its kind of confirmation email ..say like your purchase order is created ,with the details of PO# and link to edit the that PO #.
    I am making sure that the user this email is sent to exist in Oracle apps with valid account.
    For now , we are not plannin to use Workflow way of doin things . So for now i am using simple JavaMail to send the email . The content in the email is all picked up from the FndLookup table , except for the URL.
    However , when user clicks the link in the email , it doesnt come up with the application . My understanding was that even if user is not logged in Oracle Apps(UI) , this link should bring up the login screen and when user logs in the link will take him to my self-service web application page.
    Below is the link mentioned in email
    http://maxhold.icorp.com:8004/OA_HTML/OA.jsp?OAPage=/oracle/apps/xxi/pps/webui/HomePG&retainAM=Y&resp_id=50771&resp_appl_id=20003&security_group_id=0&lang_code=US
    Below is the error which i get when i use this link individually in browser window.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_CODE. Tokens: REGION = null; REGIONAPPLID = -1; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1960)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_CODE. Tokens: REGION = null; REGIONAPPLID = -1; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeData(OAWebBeanFactoryImpl.java:3526)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3478)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:988)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_CODE. Tokens: REGION = null; REGIONAPPLID = -1; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeData(OAWebBeanFactoryImpl.java:3526)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3478)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:988)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    any help is appreciated . This has been pain point from quite some time
    thanks

    verify using jdr_utils.LISTDOCUMENTS(/oracle/apps/xxi/pps/webui/HomePG,true) if this xml is available in the mds rep or not.
    Thanks
    Tapash

  • Trouble with application graphics in Lion

    Hey all,
    Since I've upgraded to Lion I've had some issues with graphics in everyday apps like iPhoto and Safari, along with some Adobe CS4 applications. When I open apps, such as Safari, the window will be... how can I explain this... darker? Like someone took the exposure slider on a photo editor and pushed it all the way down. The top of the window is a nasty dark gray, and all the content is screwed up as well. Not sure where exactly the problem is. I've used disk utility multiple times and I haven't found a permissions error or a disk error yet. Any help?
    Thanks.

    Start with the aspect ratio and dpi in PS?
    Are they 720x480 at 72 dpi in PS?

  • Trouble with Application Server connection/deployment

    This is the output I get when testing the remote connection I set up:
    C:\Program Files\JDeveloper\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Program Files\JDeveloper\jdev\lib\oc4j_remote_deploy.jar http://costanza:1810/Oc4jDcmServletAPI/ ias_admin handmodel1 listApplications F:\ora9ias
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications F:\ora9ias UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = b3e9da25826746e393a2ab6e17c30b9b
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=b3e9da25826746e393a2ab6e17c30b9b
    Checking command status
    HTTP response code = 500, HTTP response msg = Internal Server Error
    #### HTTP response is NOT ok
    Waiting for 30 seconds and trying again...
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=b3e9da25826746e393a2ab6e17c30b9b
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    Command output:
    BC4J
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    BC4J
    Does this look normal? When I try to then use this connection for deployment of War file I get this output:
    ---- Deployment started. ---- Oct 30, 2002 11:27:05 AM
    Wrote WAR file to C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.war
    Wrote EAR file to C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear
    Invoking DCM servlet client...
    C:\Program Files\JDeveloper\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Program Files\JDeveloper\jdev\lib\oc4j_remote_deploy.jar http://costanza:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy F:\ora9ias C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear webapp1 Oc4j_home
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy F:\ora9ias C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear webapp1 Oc4j_home
    Command = INVALID_COMMAND
    #### Invalid command: redeploy F:\ora9ias C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear webapp1 Oc4j_home
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    #### Could not send command to Oc4jDcmServlet
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-6)
    #### HTTP return code was -6
    Exit status of DCM servlet client: -6
    Elapsed time for deployment: 5 seconds
    #### Deployment incomplete. #### Oct 30, 2002 11:27:09 AM
    Anybody know why this thing doesn't work.

    Hi. I dont know obout CS on UNIX, on windows  CS uses port 1090 and HTTP script ContentServer/ContentServer.dll
    The web page is
    http://server:1090/ContentServer/ContentServer.dll?serverInfo.
    It's on Windows....
    Also read this Note 586895. -->
          New access paths and compatibility with Windows systems
                  The "/ContentServer/ContentServer. dll" and "/Cache/CSProxyCache.dll" paths have since been established as fixed default values for the Content Server/Cache Servers for Windows.
                  The module access in the Apache Web server is not restricted to actual paths for program files. Using <location> tags, you can determine any (sub)paths that are to be used to access a module. These tags are entered in the "httpd.conf" file within the relevant module configurations. You can also define the clients allowed to access this "location" within a <location> tag with an Allow/Deny clause.
                  To be able to continue using the Windows paths proposed in the SAP system, these Windows paths are installed as compatibility tags.
                  In addition to this, you can use the new, essentially shorter paths "/sapcs" and /sapcsc" to access the SAP Content Server and the SAP Cache Server.
                  The "Modifications to httpd. conf" attachment to the installation manual contains a list of all of the access paths delivered.
    Regards.. Award if helpful.
    Edited by: Sergo Beradze on Mar 11, 2008 4:37 PM

  • How to Use Interactive Forms in BSP Applications - trouble with demo

    Is anyone else out there having trouble with the subject how to guide? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4
    I think I have everything built out correctly but I get the following run time error.
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
    Exception Class CX_SY_REF_IS_INITIAL
    Error Name 
    Program Z_PROCESS_BOOKING_FORM========CP
    Include Z_PROCESS_BOOKING_FORM========CM002
    ABAP Class Z_PROCESS_BOOKING_FORM
    Method DO_REQUEST
    Line 33 
    Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.
    Following is my code:  line 33 reads as strChecked = node->get_value( ).
    method DO_REQUEST.
    *CALL METHOD SUPER->DO_REQUEST
      data: bookingxml type string.
      bookingxml = request->get_cdata( ).
      data: streamFactory type ref to
      if_ixml_stream_factory.
      data: iStream type ref to if_ixml_istream.
      streamFactory = g_ixml->create_stream_factory( ).
      iStream =
      streamFactory->create_istream_string(
      bookingxml ).
      data: document type ref to if_ixml_document.
      document = g_ixml->create_document( ).
      data: parser type ref to if_ixml_parser.
      parser = g_ixml->create_parser( stream_factory =
      streamFactory
      istream =
      iStream
      document =
      document ).
      parser->parse( ).
      data: node type ref to if_ixml_node.
      data: strChecked type string.
      node = document->find_from_name( name = 'RESERVED'
      strChecked = node->get_value( ).
      data: reserved type BAPISBODAT-RESERVED.
      data: checked type i.
      move strChecked to checked.
      if ( checked = 1 ).
        reserved = 'X'.
      else.
        reserved = ''.
      endif.
      data: custbook type BAPISBONEW.
      node = document->find_from_name( name = 'AIRLINEID'
      custbook-airlineid = node->get_value( ).
      node = document->find_from_name( name = 'CONNECTID'
      custbook-connectid = node->get_value( ).
      data: fd type BAPISBONEW-FLIGHTDATE.
      data: strFd type string.
      node = document->find_from_name( name =
      'FLIGHTDATE' ).
      strFd = node->get_value( ).
      CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
      EXPORTING
      DATE_EXTERNAL = strFd
    * ACCEPT_INITIAL_DATE =
      IMPORTING
      DATE_INTERNAL = custbook-flightdate
      EXCEPTIONS
      DATE_EXTERNAL_IS_INVALID = 1
      OTHERS = 2
      IF SY-SUBRC <> 0.
    * Do something
      ENDIF.
      node = document->find_from_name( name =
      'CUSTOMERID' ).
      custbook-customerid = node->get_value( ).
      node = document->find_from_name( name = 'CLASS' ).
      custbook-class = node->get_value( ).
      node = document->find_from_name( name = 'AGENCYNUM'
      custbook-agencynum = node->get_value( ).
      node = document->find_from_name( name = 'PASSNAME'
      custbook-passname = node->get_value( ).
      data: pb type BAPISBONEW-PASSBIRTH.
      data: strPb type string.
      node = document->find_from_name( name = 'PASSBIRTH'
      strPb = node->get_value( ).
      CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
      EXPORTING
      DATE_EXTERNAL = strPb
    * ACCEPT_INITIAL_DATE =
      IMPORTING
      DATE_INTERNAL = custbook-passbirth
      EXCEPTIONS
      DATE_EXTERNAL_IS_INVALID = 1
      OTHERS = 2
      IF SY-SUBRC <> 0.
    * Something
      ENDIF.
      data: bn type BAPISBOKEY-BOOKINGID.
      data: return type bapiret2_tab.
      data: errmsg type string.
      CALL FUNCTION 'BAPI_FLBOOKING_CREATEFROMDATA'
      EXPORTING
      RESERVE_ONLY = reserved
      BOOKING_DATA = custbook
    * TEST_RUN = ' '
      IMPORTING
    * AIRLINEID =
      BOOKINGNUMBER = bn
    * TICKET_PRICE =
      TABLES
    * EXTENSION_IN =
      RETURN = return.
      data: wa type bapiret2.
      loop at return into wa.
        if wa-type = 'E'.
          move wa-message to errmsg.
          response->append_cdata( errmsg ).
          response->append_cdata( '<BR>' ).
        endif.
      endloop.
    response->append_cdata( 'Flight booked, booking reference number: ').
      data: strBn type string.
      move bn to strBn.
      response->append_cdata( strBn ).
    endmethod.
    The first page works fine but when I submit my form it fails.  I debugged and the request object doesn't look right.
    Any ideas would be greatly appreciated.
    Regards,
    Dan
    Message was edited by:
            Dan Scheck
    Message was edited by:
            Dan Scheck

    Hi Surija,
    there is an issue with Internet Explorer that causes this problem when you launch the BSP applicaiton using the test menu in SE80. The issue does not occur with Firefox...very strange I know.
    Anyway, to get around this you just copy the BSP application URL and open a browser and paste the URL in...so essentially do not use the "Test" in SE80 to launch your application.
    Hope this fixes your problem!
    Cheers,
    Jeff

  • I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to my laptop.

    I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to itune.

    You can't. It still thinks that your iPhone is synced with another iTunes library (the one that you had before you reformatted the hard drive.

  • I'm having trouble with my applications freezing.  Then when they are "unreponsive" I quit and another becomes "unresponsive" until I'm down to Finder and it won't relaunch.  HELP!!

    I'm having trouble with my applications freezing.  Then I force-quit because they are "unresponsive,"  another applidation becomes "unresponsive" until I'm down to Finder and it won't relaunch.  HELP!!

    Mine is doing the same thing!  I have more than enough hard drive.  It's only 3 months old.

  • My Macbook with 10.6.8 is having trouble with certain applications- Word will not open, and text edit or pdf will not print.

    My Macbook (13 inch 2008) running OS 10.6.8 is having trouble with some applications.  Word will not even open.  I cannot print from text edit or Preview or Adobe.  Excel sometimes opens but very slow.  What could be wrong?  I have repaired permissions, used an antivirus program, deleted some old MS fonts, and still no change.  I have 1 G RAM and there seems to be plenty available and I have 50 G of hard drive space empty.

    Well, first 1gb of Ram is not plenty. It's the absolute bare minimum just to run OS X 10.6.8. The MS Office applications are ram hogs also. I would recommend three things.
    1. Get more ram.
    2. Reinstall and update your MS Office applications.
    3. Reinstall Snow Leopard.
    If you're not familiar with Activity Monitor you might have a look at this link and you'll be able to judge your ram situation a little better.
    http://support.apple.com/kb/PH5149

  • I cannot download Photoshop - had no trouble with the applications though - why is that?

    I cannot download Photoshop, though I had no trouble with other application, why is that?

    I'm using the "download trial" button from the Adobe Cloud page,
    https://creative.adobe.com/products/photoshop
    matilde
    www.matilde-alessandra.com

  • I have been having a lot of trouble with the latest itunes update and my ipod classic 80Gb i.e. being unable to sync songs, but now i have no files at all on my ipod, it is completely blank when i view it from my computer. I need help, please, anybody.

    As it says above, i have been having a lot f trouble with my ipod classic and the latest itunes update, i was unable to sync songs or anything to it and have tried every conceivable 'fix' i could find. i have run an itunes diagnostic and the results are posted below. a major problem is that when i try and view my ipod through my computer it displays nothing at all on the ipod, no files or anything, this may be the problem but i have no idea how it has happened or how i could resolve it.
    This ipod holds huge sentimental value and i am loathe to buy a new one! If anybody can help it is greatly appreciated, than kyou in advanced.
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    ASUSTeK Computer Inc. K50IJ
    iTunes 11.1.5.5
    QuickTime not available
    FairPlay 2.5.16
    Apple Application Support 3.0.1
    iPod Updater Library 11.1f5
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 7.1.1.3
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0038B8600B98D1E0
    Current user is not an administrator.
    The current local date and time is 2014-03-21 16:52:39.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 2fd81a1f13cf3ff25a8b4f0e8e725116
    **** Device Connectivity Tests ****
    iPodService 11.1.5.5 (x64) is currently running.
    iTunesHelper 11.1.5.5 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) ICH9 Family USB Universal Host Controller - 2934.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2935.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2936.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2937.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2938.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2939.  Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A.  Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • A trouble with "LIKE" in a select statement

    Hi!
    I'm having trouble with "LIKE" in a select statement...
    With Access I can make the following and everything works well:
    SELECT name, birthday
    FROM client
    WHERE birthday LIKE '*/02/*';
    but if try to do it in my application (it uses Access), it doesn't work - I just can't understand that!!!
    In my application the "month" is always the currently month taken from the "System". Look what I'm doing...
    String query1 = "SELECT name, birthday " +
              "FROM client " +
              "WHERE birthday " +
              "LIKE '*/" +
              pMonth +
              "/*' " +
              "ORDER BY birthday ASC ";
    ResultSet rs = statement1.executeQuery(consulta1);
    boolean moreRecords = rs.next();
    The variable "moreRecords" is always "false", the query returns nothing although the table "client" has records that attend the query.
    Please, anyone can help me?! It's a little bit urgent.
    Thanks,
    Katia.

    Hi Katia,
    I'll bet the problem lies with the characters you're using to escape the LIKE clause. You're using the ones that Access likes to see, but that's not necessarily what's built into the JDBC-ODBC driver class.
    You can find out what the correct escape wildcard characters are from the java.sql.DatabaseMetaData.getSearchStringEscape() method. It'll tell you what to use in the LIKE clause.
    I'm not 100% sure about your code. It doesn't use query1 anywhere. I'd do this:
    String query = "SELECT name, birthday FROM client WHERE birthday LIKE ? ORDER BY birthday ASC";
    PreparedStatement statement = connection.createStatement(query);
    String escape = connection.getMetaData().getSearchStringEscape();
    String test = escape + '/' + pMonth + '/' + escape;
    statement.setString(1, test);
    ResultSet rs = statement.executeQuery();
    while (rs.hasNext())
    // load your data into a data structure to pass back.
    rs.close();
    statement.close();Let me know if that works. - MOD

  • I have an Ipod Touch (4th Gen) and I am having troubles with my downloads from purchasing music from the Ipod. On my downloads icon in the Itunes Store (on Ipod) there is a symbol of how many songs I still have waiting to download, but they wont download.

    I have been having troubles with this for months and am extremly tired of not being able to download my songs. I bought these songs off of Itunes as well, so I really hope i can retrieve them. I do not know where to find a personal apple support person yet, does anyone know where to find one on the website?

    See these previous discussions:
    Waiting applications: Apple Support Communities
    Downloading apps stuck on waiting...: Apple Support Communities

  • I am having trouble with app updates on my iOS 5 iPhone never getting beyond the "waiting" state.

    I am having trouble with app updates on my iOS 5 iPhone never getting beyond the "waiting" state. I have tried signing out/in of my account, rebooting and removing/re-installing the apps.  This started shortly after going to iOS 5 but I am not certain if that is related.  All updates that I try now are stuck in "waiting".  I also tried removing the apps and then installing via iTunes desktop sync with no improvement.  The only thing that I have not tried so far is a restore to a prior iPhone backup.  I have not been able to find anything to indciate what the updates on waiting on.  There is plenty of space on the iPhone (16gb available).  Any suggestions on what to try next? 

    Hello there, Missy.
    First thing I would recommend is to check your downloads queue to make sure there is not an interrupted download per the following Knowledge Base article:
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/HT1725
    If your download was interrupted using your iPhone, iPad, or iPod touch
    1. From the Home screen, tap the iTunes app.
    2. For iPhone or iPod touch, tap More > Downloads. For iPad, tap Downloads.
    3. Enter your account name and password if prompted.
    4. Tap the blue download arrow to resume.
    If you can't complete the download on your iOS device, you can download it in iTunes on your Mac or PC and then sync it to your iOS device. You can also transfer purchases from your iPhone, iPad, or iPod to a computer.
    For Apps, you can also try tapping on the application icon to resume the download, as outline in this featured discussion:
    App updates won't download on my...: Apple Support Communities
    https://discussions.apple.com/thread/4111336
    Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
    Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
    If that doesn't do it, try resetting or restoring the iPhone.
    via whatheck
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • HT201496 Hai there. I am facing trouble with my garageband apple loops.i don't see apple loops in my browser since quite some time i don't know what has happened to it and how it happened . i just wanted to learn some of basic things about music.can you h

    Hai there. i am having a trouble with the garage band apple loops to get into my macbook pro. . i had it some time back and i dont know where it has gone and how it get it back. is there anyone to help me to get the loops back into the browser . i will be grateful to you if some one can help me with it/ thanks.

    First check, if you do not accidentally have hidden or filtered your loops:
    Uncheck the "Filter for more relevant results" option in the Audio tab of the GarageBand Preferences.
    And the drop down menu on top of the Loop Browser should be set to "Loops", not to some Jam Pack or other collection.
    If you still don't see any loops, check if you have set your project to a special signature, like 9/8, for that no standard loops do exist.
    Then check, if any loops actually are installed in your system Library: Depending on your GarageBand version you should find the standard loops in the Audio folder of your system Library (Application Support > GarageBand):
        Your System Drive > Library > Audio > Apple Loops
    If the Loops are installed, but GarageBand does not show them, you need to rebuild your Apple Loops Index: See the FAQ for how to do it:
    Re-Index GarageBand's Loops
    This requires two steps:
    erase the old Apple Loops Index by deleting everything in
    Your System Drive > Library > Audio > Apple Loops Index
    and then rebuilding the Loops Index by dragging the folder containing all of your loops onto the Loop Browser in GarageBand.
    If no Loops are installed in your Library, you will have to restore them from your Backup.
    Regards
    Léonie

  • Having trouble with persist

    I have created a simple application where a user can order items and then i'm saving the order and all the items (details of order) to the dataBase.
    i'm using jdk1.5 with jboss and mySql (also hibernate).
    i'm having troubles with saving the details of the order, the relevant code is-
    order entity -
    @Entity
    public class Orders implements Serializable
        @Id @GeneratedValue
        private long orderId;                    //generated in db
        private String name;
       public Orders(String userName)
            this.userName=userName;
        public long getOrderId() { return orderId; }
        //getters and setters...
    detailsOfOrder entity -
    @Entity
    public class DetailsOfOrders implements Serializable
    @Id
    private long orderId;
    @Id
    private int productId;
    private int quantity;
    public DetailsOfOrders(long orderId,int productId)
         this.productId=productId;
         this.orderId=orderId;
    public long getOrderId() { return orderId; }
    public int getProductId() { return productId; }
    //getters and setters...
    }session bean (order method) -
            List<SCItem> listOfItems;                         //SCItem is a regular class
            Orders order=new Orders(userName);
            manager.persist(order);
            long orderId=order.getOrderId();   //get order id after persisting
            for(SCItem item : listOfItems)    //save details of order
             DetailsOfOrders detail=new DetailsOfOrders(orderId,"1");
             manager.persist(detail);                                                   //exception occures here
           }when i'm trying to make an order i'm getting the exception-
    javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
    what is the problem?
    thanks in advanced.

    yes, the entity classes have no-arg constructors (i just tried to write it shortly here...)
    about the other thing , well i'm sorry , the right code is-
    session bean (order method) -
       List<SCItem> listOfItems;                         //SCItem is a regular class
       Orders order=new Orders(userName);
       manager.persist(order);
       long orderId=order.getOrderId();   //get order id after persisting
       for(SCItem item : listOfItems)    //save details of order
         DetailsOfOrders detail=new DetailsOfOrders(orderId,item.getProductId());
         manager.persist(detail);                                                   //exception occures here
         }what else could it be?

Maybe you are looking for

  • Start over in Dreamweaver CS6

    Does anyone know how to delete everything I've done in CS6 so I can start again from scratch?

  • Calling Web Service of SAP R/3 in SAP PI

    Dear Experts, We have a Web Service in R/3 which is generated from the RFC(Function Module). We have consumed that in PI for some requirements where the application has no direct access to R/3. But when we are calling the Service from PI, the result

  • Epson R2880 - Will not print - paper sizes

    I am having major problems with trying to print to a R2880. I have recently purchased it and have had problems with printing to it from the beginning. Sometimes it works but mostly it doesn't. The Epson driver is 6.2 which is the latest. I am running

  • 1616 won't recognize Sim card

    My first mobile phone, Nokia 1616, arrived this morning. I called my service provider, my Sim is activated, my line is open but the phone says "insert Sim" although it is correctly inserted. I tried a virgin media card from my daughter's phone and go

  • How to display logo in alv grid display

    Hi, i am using 'REUSE_ALV_COMMENTARY_WRITE' to display logo. but i couldn't get in the output. plain explain how use this functoin module. DATA  :  it_listheader   TYPE slis_t_listheader. CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'     EXPORTING