absolute filename issue - InfoPath Dev
in

InfoPath Dev

absolute filename issue

Last post 07-30-2006 05:35 PM by mrcoug. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-28-2006 01:27 AM

    • mrcoug
    • Not Ranked
    • Joined on 07-12-2006
    • China
    • Posts 4

    absolute filename issue

    Hello,

    I am stumped over an error coming from a new form I'm developing.

    In TOOLS -->FORMS OPTIONS-->OPEN AND SAVE-->Save using custom code;

    I put the following line in the script.

    XDocument.UI.SetSaveAsDialogLocation("\\shg1ebgt\research");

    However it throws a message saying 'you must use an absolute file name'. I thought this was an absolute file name, so I don't know how to progress from here. Any ideas on this?

    Regards,

    Rob Wilder
  • 07-28-2006 02:06 AM In reply to

    Re: absolute filename issue

    Hello

    Welcome to Infopathdev Forums.

    Try given as like this
    XDocument.UI.SetSaveAsDialogLocation("\\\\MyShare\\Forms");

    Hope this helps you.
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 07-30-2006 05:35 PM In reply to

    • mrcoug
    • Not Ranked
    • Joined on 07-12-2006
    • China
    • Posts 4

    Re: absolute filename issue

    Works like a charm! Thankyou drgkreddy....nothign like having a good forum available when learning a new tool!

    Regards,

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.