Helpfile included in exe?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Helpfile included in exe?

Post by Joakim Christiansen »

Is there any way of including a helpfile in the exe and then open/execute it from the exe? Would be cool since I don't need any separate files that way.
And btw my helpfile is a chm file.
I like logic, hence I dislike humans but love computers.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Good question.

The obvious way is of course to copy it to disk and then delete the copy on program exit etc. but then you obviously know this already! 8)
I may look like a mule, but I'm not a complete ass.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Yeah, I guess that's what I have to do, put it in the temporary folder.
I like logic, hence I dislike humans but love computers.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@Joakim:
Why do you want to include the CHM file inside your exe? I dont like it... a CHM file should be a seperate CHM file and not a Help included in an exe. Sometimes people donwloading your app and before they give your app a try, they want to take a closer look to the CHM waht does the tool really is and how to use it before they must execute it.

Another point... Why including an CHM to the executeable and wasting memory?
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

I do actually agree with you va!n :)
I like logic, hence I dislike humans but love computers.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

a chm file stores somes datas (x, y, hight and so on), so it is'nt a good idea :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

I agree, help files should be separate.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@Joakim Christiansen:
I got just a little idea for help inside the exe... if people want an inbuild helpfile you could open an own window with a textgadget or if you want the feeling and look like a CHM file.... why not create an Window with an Webgadget? ;) A CHM file is nothing else as HTML files ^^

However, i only like the real spereate / extern CHM way :)
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

va!n wrote:@Joakim Christiansen:
I got just a little idea for help inside the exe... if people want an inbuild helpfile you could open an own window with a textgadget or if you want the feeling and look like a CHM file.... why not create an Window with an Webgadget? ;) A CHM file is nothing else as HTML files ^^

However, i only like the real spereate / extern CHM way :)
Yes, I use a webgadget in my application to "serve" html help right to the gadget panel. Seems to work fine, at least the help pages get hit frequently.

cheers
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

rsts wrote:Yes, I use a webgadget in my application to "serve" html help right to the gadget panel. Seems to work fine, at least the help pages get hit frequently.
Nice idea!
I like logic, hence I dislike humans but love computers.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I use a webgadget in my application to "serve" html help right to the gadget panel

Do you mean you can show a .CHM help file in a WebGadget? If so, how? :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

PB wrote: Do you mean you can show a .CHM help file in a WebGadget? If so, how? :)
No, I merely use the webgadget as a means to access help pages from the application site.

cheers
Post Reply