Simple Button Click Opens up Folder On Disc..How do I ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • resin8
    Forum Member
    • Dec 2004
    • 3

    Simple Button Click Opens up Folder On Disc..How do I ?

    All I am trying to do is make a button open a folder on the cd called "Apps DEC 2004"...

    This is what I currently have for my File.Open Action:

    File.Open (explore, "%SrcDir%\Apps DEC 2004") ;

    When I click on the button after creating my disc I get this error:

    On Click, Line 1: Argument 1 must be of type string.

    What Am I doing wrong in my File.Open action ?????

    Any help would be greatly appreciated....

    Thank you, Nate.
  • Worm
    Indigo Rose Customer
    • Jul 2002
    • 3971

    #2
    Try this:

    Code:
    File.ExploreFolder(_SourceFolcer.."\\Apps Dec 2004", SW_SHOWNORMAL)

    Comment

    • markstaylor
      Indigo Rose Customer
      • Oct 2003
      • 296

      #3
      Try the following

      File.ExploreFolder(Path,WindowMode);

      File.ExploreFolder(_SourceDrive .."\\Apps DEC 2004",SW_SHOWNORMAL);
      assuming the folder is at the root of the CD.
      _SourceDrive returns "C:, D:" etc.

      Hope this helps
      SELECT * FROM Users WHERE IQ > 0;
      o rows Returned

      Comment

      • resin8
        Forum Member
        • Dec 2004
        • 3

        #4
        Thanks For the help... I am trying your info now.....I'll post back and let you know if all went ok

        Comment

        • resin8
          Forum Member
          • Dec 2004
          • 3

          #5
          Thanks for both of your help ...Both methods described above worked great!!!!!!!!! Thanks again...

          Nate.

          Comment

          Working...
          X