GIDForums  

Go Back   GIDForums > Computer Programming Forums > Python Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 31-Jan-2008, 00:33
sarabhjeet sarabhjeet is offline
New Member
 
Join Date: Jan 2008
Posts: 10
sarabhjeet is on a distinguished road
Post

How to integrate help file (CHM format)?


Actually I have made one application and now I need to integrate the help file which is in CHM format with it, I have made one sub menu in the tool bar like this:
Help->Documentation

Whenever I click on documentation then that chm file should open. How to do this task, please help me.
  #2  
Old 31-Jan-2008, 18:50
crystalattice's Avatar
crystalattice crystalattice is offline
Flame War Instigator
 
Join Date: Apr 2004
Location: San Diego
Posts: 1,550
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice

Re: whenever i click on Help in a applicatio another program should be open in CHM format


Try the PyCHM library: http://gnochm.sourceforge.net/pychm.html

It hasn't been updated in a while but it should be good enough to do what you need.
__________________
Common Sense v2.0-Striving to make the world a little bit smarter.
  #3  
Old 31-Jan-2008, 23:14
sarabhjeet sarabhjeet is offline
New Member
 
Join Date: Jan 2008
Posts: 10
sarabhjeet is on a distinguished road

Re: whenever i click on Help in a applicatio another program should be open in CHM format


But sir, link in this link http://gnochm.sourceforge.net/pychm.html
is not opening. I know one way to do this task that is
Python Code:
os.system("give the path of the file to open") 
but this code transfer the execution from existing application to newly opened application after opening new application controls gets off from old application and I can't even do single thing till I don't close the newly opened application. I need to run both these applications separate and concurrently.
  #4  
Old 06-Feb-2008, 02:46
sarabhjeet sarabhjeet is offline
New Member
 
Join Date: Jan 2008
Posts: 10
sarabhjeet is on a distinguished road

Re: whenever i click on Help in a applicatio another program should be open in CHM format


Thanks to all, now it's done. Here I am typing its code:

Python Code:
win32process.CreateProcess("c:\windows\hh.exe","hh d:\help.chm",None,None,0,0,None,None,pstart)

through this function you can open any program separately. But now other problem has came...
 
 

Recent GIDBlogPython ebook by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open files outside my program? DeadOverlord C++ Forum 5 30-Oct-2007 20:27
Two-Tier data dissemination code installation problem nidhibansal1984 Computer Software Forum - Linux 6 16-Sep-2007 10:13
BOOKEEPING program, HELP!! yabud C Programming Language 10 17-Nov-2006 03:48
Sydog's DVD to Divx Conversion Guide asanthadenz Computer Software Forum - Windows 1 14-Mar-2003 14:08

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:26.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.