Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21843

[RESOLVED] Some MSDN links not working

$
0
0
This same info was posted on my earlier thread about MSDN links...BUT, I marked it as Resolved, and didn't know how to unmark it. So, hopefully, I won't get in trouble with this 'double posting'.....:(

I was able to link MOST common controls to the page in the MSDN help files. I got all but two (ImageControl and TabStrip) in Common Controls 5.0 and 6.0. And, I could not get ANY Common Controls in 2.5, 2.6 or 3.6.
For 5 and 6, I used CMCTL198.CHM
For 2.5 and 2.6 I used CMCTL298.CHM
and for 3.6 I used CMCTL398.CHM
Here is the code (note---I used label captions to shorten my test code, but left the test code in (commented out) to show the links for each control.
Further below is an image of the MSDN help screen that appears when the links don't work.
Code:

Option Explicit
Dim myHelpPath As String
Private Sub Form_Load()
sst1.Tab = 0  'sets first tab to default.
myHelpPath = "C:\Windows\hh.exe mk:@MSITStore:C:\Program Files\Microsoft Visual Studio\MSDN98\98VSa\1033\"
End Sub
Private Sub Label1_Click(Index As Integer)
Select Case Index
'****************common controls 2.5 and 2.6
Case 1, 2, 4, 5, 6, 7, 8
Shell myHelpPath + "CMCTL298.chm::/html/vbobj" + Label1(Index).Caption + ".htm", vbNormalFocus
'****************common control 3.6
Case 9
Shell myHelpPath + "CMCTL398.chm::/html/vbobj" + Trim(Label1(Index).Caption) + ".htm", vbNormalFocus
'****************common controls 5.0 and 6.0
Case Else
Shell myHelpPath + "CMCTL198.chm::/html/vbobj" + Trim(Label1(Index).Caption) + ".htm", vbNormalFocus
End Select
'Select Case Index
'****************common controls 2.5 and 2.6  'THESE DO NOT WORK:
'Case 1, 4
'Shell myHelpPath + "CMCTL298.chm::/html/vbobjUpDown.htm", vbNormalFocus
'Case 2, 5
'Shell myHelpPath + "CMCTL298.chm::/html/vbobjAnimation.htm", vbNormalFocus
'Case 6    'common control 2.6 only
'Shell myHelpPath + "CMCTL298.chm::/html/vbobjMonthView.htm", vbNormalFocus
'Case 7    'common control 2.6 only
'Shell myHelpPath + "CMCTL298.chm::/html/vbobjFlatScrollBar.htm", vbNormalFocus
'Case 8    'common control 2.6 only
'Shell myHelpPath + "CMCTL298.chm::/html/vbobjDateTimePicker.htm", vbNormalFocus

'****************common control 3.6
'Case 9
'Shell myHelpPath + "CMCTL398.chm::/html/vbobjCoolBar.htm", vbNormalFocus  'THIS DOES NOT WORK
'****************common controls 5.0 and 6.0
'Case 17, 25
'  Shell myHelpPath + "CMCTL198.chm::/html/vbobjImageList.htm", vbNormalFocus
'Case 19, 21
'    Shell myHelpPath + "CMCTL198.chm::/html/vbobjTabStrip.htm", vbNormalFocus   'THIS DOES NOT WORK
'Case 14, 22
'    Shell myHelpPath + "CMCTL198.chm::/html/vbobjProgressBar.htm", vbNormalFocus
'Case 15, 23
'    Shell myHelpPath + "CMCTL198.chm::/html/vbobjTreeView.htm", vbNormalFocus
'Case 16, 24
'    Shell myHelpPath + "CMCTL198.chm::/html/vbobjListView.htm", vbNormalFocus
'Case 18, 26
'    Shell myHelpPath + "CMCTL198.chm::/html/vbobjSlider.htm", vbNormalFocus
'Case 12, 27
'    Shell myHelpPath + "CMCTL198.chm::/html/vbobjToolBar.htm", vbNormalFocus
'Case 13, 28
'    Shell myHelpPath + "CMCTL198.chm::/html/vbobjStatusBar.htm", vbNormalFocus
'Case 29  'common control 6.0 only
Shell myHelpPath + "CMCTL198.chm::/html/vbobjImageCombo.htm", vbNormalFocus  'THIS DOES NOT WORK
'End Select
End Sub

The image below occured when linking to the ImageCombo and TabStrip (similar images when using controls 2.5, 2.6, and 3.6
Attachment 93557
Attached Images
 

Viewing all articles
Browse latest Browse all 21843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>