Click here to Skip to main content
15,897,187 members
Home / Discussions / Visual Basic
   

Visual Basic

 
JokeRe: General Question about programming steps Pin
joyfullboy2997320-Jan-11 0:53
joyfullboy2997320-Jan-11 0:53 
QuestionOrphan Question [modified] - Has a Home now! Pin
Soulus8318-Jan-11 19:52
Soulus8318-Jan-11 19:52 
AnswerRe: Orphan Question Pin
Andy_L_J18-Jan-11 20:01
Andy_L_J18-Jan-11 20:01 
QuestionPre-requisites for email program Pin
Uma Kameswari18-Jan-11 19:42
Uma Kameswari18-Jan-11 19:42 
AnswerRe: Pre-requisites for email program Pin
Dave Kreskowiak19-Jan-11 2:20
mveDave Kreskowiak19-Jan-11 2:20 
GeneralRe: Pre-requisites for email program Pin
Uma Kameswari24-Jan-11 18:28
Uma Kameswari24-Jan-11 18:28 
AnswerRe: Pre-requisites for email program Pin
_Erik_19-Jan-11 5:29
_Erik_19-Jan-11 5:29 
QuestionCHM html help called from VB6 application works but can't be searched [modified] Pin
reto.knaak14-Jan-11 4:02
reto.knaak14-Jan-11 4:02 
Hello to everybody!

I managed to write a VB6 application an context sensitive help.
I am able to call and open the correct page inside the CHM file.
I am using the code found at http://support.microsoft.com/kb/315988[^].
When I open directly the CHM file from explorer, it will work, and in the search tab I can enter text and get results.

Now to the problem: when opening the same CHM from the application (F1), the search tab is there, but no text can be entered.
I have also a page inside the CHM with some java script and an form with input type="text". This works fine opening the CHM directly, but when called from the VB6 application, I can press form button it will execute the onclick event, but I can't enter a value in the textbox (in other words: java script itself is not blocked).

MJsDiag reports no problem. I tried also http://www.ec-software.com/products_hhreg.html[^]

So I think the problem is not the CHM but somewhere else.

Any Ideas? Unsure | :~

Edit: sometimes, starting from the VB6 application, if I open the CHM, close it and open it again the search start working.
I did not found how exactly reproduce this systematically...

I am calling the CHM from a DLL, I have a helper class where in the Class_Initialize() I initialize the help system like this:
App.HelpFile = App.Path & "\help_file.chm"
Call HTMLHelp(objForm.hWnd, App.HelpFile, HH_INITIALIZE, ByVal "starting_page.htm")


It seems that if I start the application and just use the mouse and hit F1 it's not working, but if I type before something and then hit F1 it works????Confused | :confused:

Can, Could this be?Confused | :confused:

Edit2:
Added this code to the form load routine: now search in help works....
Me.Visible = True
txtBox.SetFocus


Strange world, can someone give me an explanation of this behavior? Sniff | :^)

modified on Friday, January 14, 2011 11:48 AM

QuestionCommunication between VBscript and command prompt window Pin
Tim_abcd14-Jan-11 1:35
Tim_abcd14-Jan-11 1:35 
AnswerRe: Communication between VBscript and command prompt window Pin
Dave Kreskowiak14-Jan-11 3:57
mveDave Kreskowiak14-Jan-11 3:57 
GeneralRe: Communication between VBscript and command prompt window Pin
Tim_abcd15-Jan-11 20:38
Tim_abcd15-Jan-11 20:38 
QuestionNumber of files in a folder Pin
Central_IT13-Jan-11 1:48
Central_IT13-Jan-11 1:48 
AnswerRe: Number of files in a folder PinPopular
Luc Pattyn13-Jan-11 1:58
sitebuilderLuc Pattyn13-Jan-11 1:58 
QuestionHow to detect the launched appliction? Pin
azusakt12-Jan-11 15:40
azusakt12-Jan-11 15:40 
AnswerRe: How to detect the launched appliction? PinPopular
Luc Pattyn12-Jan-11 16:21
sitebuilderLuc Pattyn12-Jan-11 16:21 
GeneralRe: How to detect the launched appliction? Pin
azusakt18-Jan-11 17:34
azusakt18-Jan-11 17:34 
AnswerRe: How to detect the launched appliction? Pin
JR21212-Jan-11 22:38
JR21212-Jan-11 22:38 
QuestionVb.Net - ListView - display items Pin
Central_IT12-Jan-11 1:52
Central_IT12-Jan-11 1:52 
AnswerRe: Vb.Net - ListView - display items Pin
Richard MacCutchan12-Jan-11 2:27
mveRichard MacCutchan12-Jan-11 2:27 
AnswerRe: Vb.Net - ListView - display items Pin
Ants Hurdley18-Jan-11 7:11
Ants Hurdley18-Jan-11 7:11 
Questionms access 2007 record selection highlighting problem Pin
sekannak11-Jan-11 19:42
sekannak11-Jan-11 19:42 
AnswerRe: ms access 2007 record selection highlighting problem Pin
ChandraRam12-Jan-11 21:33
ChandraRam12-Jan-11 21:33 
QuestionVBA: Searching for a range in a worksheet. Pin
cyrossis11-Jan-11 4:13
cyrossis11-Jan-11 4:13 
AnswerRe: VBA: Searching for a range in a worksheet. Pin
Simon_Whale11-Jan-11 4:34
Simon_Whale11-Jan-11 4:34 
AnswerRe: VBA: Searching for a range in a worksheet. Pin
Dr.Walt Fair, PE11-Jan-11 9:18
professionalDr.Walt Fair, PE11-Jan-11 9:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.