Am migrating VB6 to VB.Net and am stuck once again.
We use App.HelpFile in vb6 to set Path and Filename of current help file.
Current help File can change depending on which form is displayed.
How do we assign help files in VB.net?
Sample VB6 Code:
Sub SetHelp(NewHelp As Integer)
'Set Active Help File for current Application
Select Case NewHelp
Case HelpBudget
App.HelpFile = TRIMSEXE & "\Budget.CHM"
Case HelpInvent
App.HelpFile = TRIMSEXE & "\Invent.CHM"
Case HelpPerson
App.HelpFile = TRIMSEXE & "\Person.CHM"
End Select
End Sub
We use App.HelpFile in vb6 to set Path and Filename of current help file.
Current help File can change depending on which form is displayed.
How do we assign help files in VB.net?
Sample VB6 Code:
Sub SetHelp(NewHelp As Integer)
'Set Active Help File for current Application
Select Case NewHelp
Case HelpBudget
App.HelpFile = TRIMSEXE & "\Budget.CHM"
Case HelpInvent
App.HelpFile = TRIMSEXE & "\Invent.CHM"
Case HelpPerson
App.HelpFile = TRIMSEXE & "\Person.CHM"
End Select
End Sub