just right ckick on tools bar present on left side
u will have a popup select component and again a box will appear now select option
"""" microsft window common control vb.6""""""""'
u will got listview in the tools
nd now drag it on form............
select view as=== ivwreport from properties window..............
and code it as................
Private Sub Form_Load()
Set cn = New ADODB.Connection
'cn.Open "provider=MSDAORA.1; user id = scott; password=tiger;data source=aim;"
cn.Open "provider=MSDAORA.1; user id = scott; password=tiger;"
Set rec = New ADODB.Recordset
rec.ActiveConnection = cn
rec.LockType = adLockOptimistic
rec.CursorLocation = adUseClient
rec.Source = "name of form"
rec.Open
rec.MoveFirst
While rec.EOF = False
cou = cou + 1
rec.MoveNext
Wend
rec.MoveFirst
ReDim ListItem(cou)
i = 1
While rec.EOF = False
Set ListItem(i) = ListView1.ListItems.Add()
ListItem(i).Text = rec.Fields(0)
ListView1.ListItems(i).ListSubItems.Add , , Trim(rec.Fields(1))
ListView1.ListItems(i).ListSubItems.Add , , Trim(rec.Fields(2))
rec.MoveNext
i = i + 1
Wend
Adodc1.Visible = False
End Sub
Private Sub listview1_DblClick()
rec.MoveFirst
i = 1
While rec.EOF = False
If rec.Fields(0) <> ListView1.ListItems(i) Then
rec.MoveNext
Else
Text1.Text = rec.Fields(0)
Text2.Text = rec.Fields(1)
DTPicker1.Value = rec.Fields(2)
rec.MoveNext
End If
i = i + 1
Wend
End Sub
use vb6
VB6 is a more recent and more advanced version of visual basic.
You can use the Sleep function in VB6 to introduce a delay within your loop. This function pauses the execution for a specified number of milliseconds. Just insert Sleep(milliseconds) in your loop to slow it down.
A .vb6 file is visual basic 6 source code, sometimes with it are .frm files that you would need. A .dmg is a Macintosh binary. you would have to find a program to compile the vb6 code to a Macintosh binary.
vbNewLine
Please refer the following link, there you can find useful information about differences between VB6 and VB .NET
Studio consists of C#, VisualJ, etc. Visual Basic is the predefined function of the VB6 environment. if you want to code in VB strictly, download VB6, but if you want to use C#, etc. than use VS6. But by now, I recommend upgrading to VS2008
In VB.NET, a ListViewItem represents a single item in a ListView control, which is used to display a list of items in a customizable format. Each ListViewItem can contain text, images, and subitems, allowing for a detailed representation of data. This item can be added to the ListView to create a structured view of related information, such as files in a directory or records in a database. The ListView control can display these items in different views, such as details, large icons, or small icons.
Hi There,Club Penguin Trainers Are Safe! Aslong as you dont use the ones which have not been made in VB6.
In Visual Studio, use the migration wizard. It should be 90% successful. The rest will need manual refactoring.
thanks
you simply cant, unless you know how to upload exe's to the internet.