Advertisement
Advertisement
| 06.04.2008 at 07:12PM PDT, ID: 23458974 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: |
'Sample code from main form
Private Sub WebBrowser1_Navigating(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
If e.Url.AbsolutePath = "blank" Then Exit Sub
Dim frmDef As New frmDefinitions
frmDef.GlossaryWord = e.Url.AbsolutePath
frmDef.ShowDialog()
e.Cancel = True
End Sub
'Sample code from Definitions form
Public GlossaryWord As String
Private Sub frmDefinitions_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'TODO: This line of code loads data into the 'AntitrypsinDeficiencyDataSet.tblGlossary' table. You can move, or remove it, as needed.
Me.TblGlossaryTableAdapter.Fill(Me.AntitrypsinDeficiencyDataSet.tblGlossary)
Dim dvGlossary As New DataView
Dim findWord As Int16
dvGlossary.Table = Me.AntitrypsinDeficiencyDataSet.tblGlossary
dvGlossary.Sort = "hyperlink"
MsgBox("Hyperlink = " & GlossaryWord)
findWord = dvGlossary.Find(GlossaryWord)
If findWord = -1 Then
MsgBox("Dataset damaged - definition could not be located.")
Exit Sub
End If
lblWord.Text = dvGlossary.Item(findWord).Item("Term")
lblDefinition.Text = dvGlossary.Item(findWord).Item("Definition")
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedToolWindow
End Sub
|