|
-
Oct 29th, 2009, 12:28 PM
#1
How to show code.
The first puppy fails.   
[vbcode]
Private Sub Command1_Click()
For index = 0 To Option1.Count - 1
If Option1(index).Value = True Then
Form2.Show
End If
Next
End Sub
[/vbcode]
vbcode Code:
Private Sub Command1_Click()
For index = 0 To Option1.Count - 1
If Option1(index).Value = True Then
Form2.Show
End If
Next
End Sub
Code:
Private Sub Command1_Click()
For index = 0 To Option1.Count - 1
If Option1(index).Value = True Then
Form2.Show
End If
Next
End Sub
PHP Code:
Private Sub Command1_Click()
For index = 0 To Option1.Count - 1
If Option1(index).Value = True Then
Form2.Show
End If
Next
End Sub
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Oct 29th, 2009, 12:30 PM
#2
Re: How to show code.
The correct tag is [highlight=vb]your code goes in here[/highlight]
vb Code:
Private Sub Command1_Click()
For index = 0 To Option1.Count - 1
If Option1(index).Value = True Then
Form2.Show
End If
Next
End Sub
-
Oct 29th, 2009, 12:31 PM
#3
Re: How to show code.
It changed from vbcode a long time ago.. it now supports multiple languages, eg:
[HIGHLIGHT=vb] [/HIGHLIGHT]
[HIGHLIGHT=vb.net] [/HIGHLIGHT]
[HIGHLIGHT=sql] [/HIGHLIGHT]
...
-
Oct 29th, 2009, 12:36 PM
#4
Re: How to show code.
 Originally Posted by Hack
The correct tag is [highlight=vb]your code goes in here[/highlight]
vb Code:
Private Sub Command1_Click()
For index = 0 To Option1.Count - 1
If Option1(index).Value = True Then
Form2.Show
End If
Next
End Sub
Gotcha!
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Oct 29th, 2009, 12:36 PM
#5
Re: How to show code.
 Originally Posted by si_the_geek
It changed from vbcode a long time ago.. it now supports multiple languages, eg:
[HIGHLIGHT=vb] [/HIGHLIGHT]
[HIGHLIGHT=vb.net] [/HIGHLIGHT]
[HIGHLIGHT=sql] [/HIGHLIGHT]
...
Cheers!
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Nov 5th, 2009, 02:15 AM
#6
-
Nov 5th, 2009, 08:49 AM
#7
Re: How to show code.
 Originally Posted by dee-u
csharp Code:
how to write code without opening a book?

Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Nov 29th, 2009, 03:56 PM
#8
Member
-
Dec 13th, 2009, 06:04 PM
#9
New Member
Re: How to show code.
Vb Code:
Private Sub Done(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserDocumentCompletedEventArgs) TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle ComboBox1.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Url.ToString End Sub
vb.net Code:
Private Sub Done(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserDocumentCompletedEventArgs) TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle ComboBox1.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Url.ToString End Sub
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|