CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Open

  1. #1
    Join Date
    Jul 2001
    Location
    Greece
    Posts
    3

    Open

    I need help. In my application there is a textbox where a filename appears. I would like to have a button in my form that when pressed will run a program (say MSWord) that will automatically open the file whose filename is in the textbox. I cannot find a way to do and I was wondering if anyone would be kind enough to help me. It is propably a bugger anyway. Thanks.



  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Open

    Go to Vbnet ( http://www.mvps.org/vbnet/ ) and search for
    ShellExecute

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood,
    Bruno Paris and all the other wonderful people who made and make Codeguru
    a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured