Estella 23 Junior Poster in Training

Give more information here.
How many columns you want in listview? and which data you want it to written in listview?

This is how you accessing listview and write data in it. Modifying it as you need.
Assume you have 4 columns :

    With ListView1.ListItems
        .Add , , Text1.Text
        .Item(.Count).SubItems(1) = Text2.Text
        .Item(.Count).SubItems(2) = Text3.Text
        .Item(.Count).SubItems(3) = Text4.Text
    End With

Just using loop through array and write it with sample code above

Sturdy commented: Thanks for the code +1
Estella 23 Junior Poster in Training

wonderful code

Estella 23 Junior Poster in Training

Hi Masters...
I want to hide folder or drive with vb6, but i don't have idea how to do this.
any one know how to solved this?

Please Help.
Any suggestion will appreciated much.

Estella 23 Junior Poster in Training

declared on module...

Private Const SHGFI_DISPLAYNAME = &H200, SHGFI_EXETYPE = &H2000, SHGFI_SYSICONINDEX = &H4000, SHGFI_LARGEICON = &H0, SHGFI_SMALLICON = &H1, SHGFI_SHELLICONSIZE = &H4, SHGFI_TYPENAME = &H400, ILD_TRANSPARENT = &H1, BASIC_SHGFI_FLAGS = SHGFI_TYPENAME Or SHGFI_SHELLICONSIZE Or SHGFI_SYSICONINDEX Or SHGFI_DISPLAYNAME Or SHGFI_EXETYPE
Private Type SHFILEINFO
    hIcon As Long: iIcon As Long: dwAttributes As Long: szDisplayName As String * MAX_PATH: szTypeName As String * 80
End Type
Private Declare Function SHGetFileInfo Lib "shell32.dll" Alias "SHGetFileInfoA" (ByVal pszPath As String, ByVal dwFileAttributes As Long, psfi As SHFILEINFO, ByVal cbSizeFileInfo As Long, ByVal uFlags As Long) As Long
Private Declare Function ImageList_Draw Lib "Comctl32.dll" (ByVal himl As Long, ByVal i As Long, ByVal hDCDest As Long, ByVal X As Long, ByVal Y As Long, ByVal Flags As Long) As Long
Private shinfo As SHFILEINFO, sshinfo As SHFILEINFO

Public Enum IconRetrieve
    ricnLarge = 32
    ricnSmall = 16
End Enum
Naruse commented: Great Code +1
Sawamura commented: awesome +1
Estella 23 Junior Poster in Training

I want to change font of all controls in a form.
how i can do this?? i can change font but just for each control not all control in a same time...
please help :)

Estella 23 Junior Poster in Training

Yes, you can try this trick (originally invented by authors of certain wide spreaded messenger program) - in 32bit version of The System is allowed backward compatibility to 16bit programs. These programs may read physical memory under 1MB range (!) so you can read all ROM BIOS. The only thing what you need is write short 16bexe/com app which reads 64kB block from B800:0000 and save it to disk (piece of cake isn't it?) and compute CRC file saved.

looks great, can you provide an example please?

Estella 23 Junior Poster in Training

i think use winmm.dll...
sorry but i never do this.

Sawamura commented: thanks for info +1
Estella 23 Junior Poster in Training

This isn't homework. I'm a hobbyist programmer, nothing more (I haven't ever taken any courses or jobs.)

For some reason, they (Microsoft) made it harder to map hard drives in vb.net, it used to be easier in vb6.

rules is still rules. homework means many (your truly homework school or your office homework or what you want to coded ). you said that you are a hobbyist programmer, so its a challenge for you to convert from vb 6 to vb.net . you must try before and show the effort so every people in this forum will help you. you have the vb 6 code to mapping, try to convert that.
This forum is meant for discussing programming languages in addition to exchanging code and algorithms.
Ok. i stopped my post in this thread right now, if you still disagree with me and the rules, its up to you.
Have a nice coding.
All for the best.:)

Jade_me commented: a Beat one +1
Sawamura commented: great argue +1
Jx_Man commented: :) +13
Estella 23 Junior Poster in Training

i'm sorry friend but "We only give homework help to those who show effort"
its not arrogant or proud with my self,every body who participated in this forum learning with the effort.
thx...
all for the best.

Naruse commented: uhhh..so scared :P +4