Max button and running a chm help file

geoff_c
09-29-2003, 12:45 AM
I have been trying to eliminate the maximize button on a form and when I set the maxbutton=false I get a cannot set read only property error when I run it.

Also I am trying to run a .chm help file when I press help in the menu. I tried the shell statement but it wouldn't work with the .chm file only with a .exe file.

Thanks

HiTmAN
09-29-2003, 12:51 AM
1. The MaxButton property cannot be set at runtime. Try setting it in the IDE.

2. Try the ShellExecute API.

DarkAngel
09-29-2003, 12:57 AM
You can also call hh.exe with the .chm specified as parameter.

00100b
09-29-2003, 05:42 AM
Or you could call the HtmlHelp API for displaying the .chm file.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum