Options

Processing Only Report: Propertys of RequestOptionsForm

elToritoelTorito Member Posts: 191
Hi,

i have an Processing Only Report with a Request Form, where i have a TextBox for give in a Filename, this TextBox have Name <Control1> and ID 1.


Exists any way so that when i press AssistEdit that Opens WinExplorer for Search any Text File ? Or Is only possible make this wenn Textbox are in a Dataport Object?


Thanks.
(Oo)=*=(oO)

Comments

  • Options
    WaldoWaldo Member Posts: 3,412
    This only works on Dataports, I guess.

    May be the "Common Dialog Management" codeunit is something you can use?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    mstraubmstraub Member Posts: 25
    You can use an OCX "Microsoft Common Dialog Control" (comdlg32.ocx).
    Maybe you have to register it under the "Custom Controls"
  • Options
    elToritoelTorito Member Posts: 191
    mstraub wrote:
    You can use an OCX "Microsoft Common Dialog Control" (comdlg32.ocx).
    Maybe you have to register it under the "Custom Controls"

    Hmm whenn i Go EXTRAS the Point Custom Controls ist Disabled, this would say me that we don't have Licenced it ?
    (Oo)=*=(oO)
  • Options
    dav_IDdav_ID Member Posts: 4
    Hi,

    you may also try to use function "OpenFile" from Codeunit No. 412 (Common Dialog Management).
  • Options
    WaldoWaldo Member Posts: 3,412
    :-k

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    dav_IDdav_ID Member Posts: 4
    #-o

    Sorry, this is what happens if you just fly over things instead of really reading it...

    Nevertheless - this should work
  • Options
    WaldoWaldo Member Posts: 3,412
    I was just kidding ...

    I love the emoticons \:D/

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    elToritoelTorito Member Posts: 191
    hmm. :-k

    Now i have try with call the OpenFile Function, then when i press AssistEdit, appears follow error:


    This Message is for C/AL Programmes... 8-[
    Could Not Create an Instance of the Ole Control or Automation Server identified by GUID={F9043C85-F6F2-101A-A3C9-08002B2F49FB}.
    Check that the OLE control or Automation Server is Correctly installed and registered.


    I Think that we doesn't have Automation Server #-o

    Well , i must leave it so is it, without AssistEdit, it's silly... :whistle:
    (Oo)=*=(oO)
  • Options
    kinekine Member Posts: 12,562
    download or find Comdlg32.OCX and register it in you PC (regsvr32.exe Comdlg32.OCX)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    elToritoelTorito Member Posts: 191
    kine wrote:
    download or find Comdlg32.OCX and register it in you PC (regsvr32.exe Comdlg32.OCX)

    Hi all,

    and thanks for you answers, now i get download comdlg.ocx, and register it to my system, then i can works with the CommonDialogManagement \:D/

    Thanks for you help! =D>
    (Oo)=*=(oO)
Sign In or Register to comment.