473,469 Members | 1,566 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Codes for Opening PDF files

Hello: I have developed a dialog based application (like PC
Calculator), and the helps are written in PDF files.. I would like to
add codes in

void bindble::OnHelpButton()
{
}

so that a user can open PDF help files by clicking on <Help> button...
Any help on this will be highly appreciated...

Sincerely,

K. Krishnamoorthy
Jul 22 '05 #1
2 8457
K. Krishnamoorthy wrote:
Hello: I have developed a dialog based application (like PC
Calculator), and the helps are written in PDF files.. I would like to
add codes in

void bindble::OnHelpButton()
{
}

so that a user can open PDF help files by clicking on <Help> button...
Any help on this will be highly appreciated...


Under MS Windows...

system ("start myDoc.pdf");

But rest assured your customers would prefer integrated context sensitive
help, and not a PDF file that they will realize they could have opened
themselves.

But the solutions for all these problems work in most languages, so use
http://groups.google.com to find the newsgroups best suited to answer them.

--
Phlip
http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces
Jul 22 '05 #2
K. Krishnamoorthy wrote:
Hello: I have developed a dialog based application (like PC
Calculator), and the helps are written in PDF files.. I would like to
add codes in

void bindble::OnHelpButton()
{
}

so that a user can open PDF help files by clicking on <Help> button...
Any help on this will be highly appreciated...

Sincerely,

K. Krishnamoorthy


This is off-topic
in c++ try
system("<path to acroread or whatever> <file.pdf>");

On windows check shellexecute or createprocess api
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: PM | last post by:
Has anyone found a way to open a file exclusively where it will fail if the file is already open, i have tried the following _FileStream = new FileStream(@"C:\Data.txt", FileMode.Open,...
1
by: Alfons | last post by:
Hello, I have build a program that can do file transferring between a Windows XP computer and a DOS computer via a serial port. The Windows program I have build in C++ with Visual Studio 6.0....
2
by: Joe_Black | last post by:
Hi all, I have an app that I want to have activation codes for, it has plugin dll files each of which have an activation code as well. I need to generate a unique code that is specific to the...
5
by: vj | last post by:
Hi all, I am using C++Builder-5. I want to run multiple cpp files at the same time. If I use the C++Builder for running a cpp file (i.e., I just double click the cpp file, it then opens in the...
1
by: leescriven | last post by:
Hi, Thi is my first post on this forum, and I'm hoping that there is a guru out there who can help me with an annoying problem I am having. I have written a Stored Procedure that relies heavily...
34
by: Alexnb | last post by:
Gerhard Häring wrote: No, it didn't work, but it gave me some interesting feedback when I ran it in the shell. Heres what it told me: Traceback (most recent call last): File...
3
by: jake | last post by:
I am new to xml. I have a routine that parses xml files using a regular XmlReader class. Unfortunately, the XmlReader chokes (throws an exception) on character codes such as "&Eacute;". I...
1
navanova
by: navanova | last post by:
Greetings, I have a problem of opening ms word and excel files on my computer. The files are there for a long time. I use to open and modify them. Suddenly, when i try to open the word files, a...
1
by: desturrr | last post by:
Hello all, I have small sized mp3 files that i can play via Java using JLayerPlayer that takes the address of mp3 files , JLayerPlayer objects can be played creating threads and starting. The...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.