"OpenDialog" to a PocketPC

Last post 05-13-2008 8:17 by neil. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 05-13-2008 5:50

    • Chris
    • Top 25 Contributor
    • Joined on 02-22-2008
    • Posts 12

    "OpenDialog" to a PocketPC

    Hello,

    im writing a GUI (I'm using C#), which is running on a desktop pc or notebook. The GUI should select a data, which lies on a PocketPC, and get the path of the data.

     Is it possibe to somthing like the "OpenDialog", which you can use on a desktop pc?

    Thank you, Cirs.

  • 05-13-2008 5:57 In reply to

    • neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,092

    Re: "OpenDialog" to a PocketPC

    Yes, that is possible. Take a look at the Desktop Communication library for handling the comms between desktop and device. 

  • 05-13-2008 7:03 In reply to

    • Chris
    • Top 25 Contributor
    • Joined on 02-22-2008
    • Posts 12

    Re: "OpenDialog" to a PocketPC

    Thank you, Neil.

    Can you tell, which method or object I have to use? I hasn't found the right one.

  • 05-13-2008 7:39 In reply to

    • neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,092

    Re: "OpenDialog" to a PocketPC

    There isn't just one method that you should call. You need to use the RAPI class to a) connect to the device; b) retrieve a directory listing for your data file type; c) transfer the data file to/from the device. 

  • 05-13-2008 8:10 In reply to

    • Chris
    • Top 25 Contributor
    • Joined on 02-22-2008
    • Posts 12

    Re: "OpenDialog" to a PocketPC

    Hello Neil,

    I didn't understand, how i should retrieve the a dircetory listing, that it looks like a OpenDialog. I forget to tell you, that I only want to write the path of an application into a string.

    Thank you

  • 05-13-2008 8:17 In reply to

    • neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,092

    Re: "OpenDialog" to a PocketPC

    You need to create your OpenFile dialog that will display the directory & file list from the device. There is no pre-built control that you can use.

Page 1 of 1 (6 items)