Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 11th, 2003, 05:31 PM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How I can Launch Msword from VC++ DLL

I'd like to launch microsoft word from my visual C++ 6.00 DLL
Kindly tell me what is the favorite and simple way to do it
Regards

 
Old November 18th, 2003, 03:17 PM
Registered User
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rams.rams
Default

Use

::ShellExecute(NULL,
     _T("Open"),
     _T("C:\\MyFiles\\test.doc"),
     NULL,
     NULL,
     SW_SHOWNORMAL);

Hope this helps!
Ramu Pulipati






Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting junk bstr values in C# dll from VC++ dotnetuncle C# 0 July 4th, 2007 10:40 AM
want to use the old Vc++ dll in asp.Net sjs950 ASP.NET 1.0 and 1.1 Basics 0 May 25th, 2006 05:30 AM
How to call a COM DLL from VC++, subhash_w Visual C++ 0 July 15th, 2005 11:33 PM
DLL in VC#.NET sachin-csharp .NET Framework 2.0 1 August 23rd, 2004 11:57 PM
Help me wirte dll in VC for use VB tranhung Visual C++ 0 February 12th, 2004 11:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.