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

    Opening a file from code

    I want to open a Autocad dwg file from code in my program. I have a string variable containing the full path and file name.
    I want to open the Autocad dwg file in an instance of Autocad that is already running, I don't want to open Autocad.
    The program is written in VB 6.0. Is this possible?

    Thank you

  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: Opening a file from code

    Use the ShellExecute API function. It should be possible.

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.