Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Entity Framework : Save new object and new childs Pin
Dave Kreskowiak27-Oct-16 11:04
mveDave Kreskowiak27-Oct-16 11:04 
GeneralRe: Entity Framework : Save new object and new childs Pin
desanti27-Oct-16 14:53
desanti27-Oct-16 14:53 
GeneralRe: Entity Framework : Save new object and new childs Pin
Dave Kreskowiak28-Oct-16 9:44
mveDave Kreskowiak28-Oct-16 9:44 
GeneralRe: Entity Framework : Save new object and new childs Pin
desanti28-Oct-16 10:14
desanti28-Oct-16 10:14 
GeneralRe: Entity Framework : Save new object and new childs Pin
Dave Kreskowiak28-Oct-16 11:00
mveDave Kreskowiak28-Oct-16 11:00 
GeneralRe: Entity Framework : Save new object and new childs Pin
desanti28-Oct-16 11:47
desanti28-Oct-16 11:47 
GeneralRe: Entity Framework : Save new object and new childs Pin
Dave Kreskowiak28-Oct-16 12:14
mveDave Kreskowiak28-Oct-16 12:14 
QuestionHow to Get a Folder(shell32) icon into a listview in visual basic 6 - Cannot get this right Pin
4SAI26-Oct-16 6:46
4SAI26-Oct-16 6:46 
VB
Do While sFolderName <> ""
   For i = 0 To dirList.ListCount - 1
   
    w = 1
    
hIcon = ExtractAssociatedIcon(App.hInstance, "C:\Windows", 3)


       If sFolderName <> "" And sFolderName <> "" Then
           If (GetAttr(sPath & sFolderName) And vbDirectory) = vbDirectory Then
                
                ListView2.ListItems.add , , sFolderName, Picture2.Picture
                
                Picture2.AutoRedraw = True
                Picture2.Cls
                DrawIcon Me.Picture2, 0, 0, hIcon
    End If
                

'tried the below same result
If IsNull(hIcon) Then
      picBuff.Picture = Picture2.Picture
      'picDefault.Picture
     Else
      'Set picBuff.Picture = Picture2.Picture
      'Set picBuff.Picture = Nothing
      'DoEvents
      
      'picBuff.Picture = Picture2.Picture
      
      'DrawIcon picBuff.hdc, 0, 0, hIcon
      'DoEvents
      
      
      
    End If
sFolderName = Dir
    
End If
        
  Next
     

  ListView2.Icons = imgFiles
  ListView2.SmallIcons = imgFiles
  
  
  
   Loop

QuestionUnderstanding Interface From Previous Developer Pin
hilli_micha26-Oct-16 6:44
hilli_micha26-Oct-16 6:44 
AnswerRe: Understanding Interface From Previous Developer Pin
Richard Deeming26-Oct-16 9:22
mveRichard Deeming26-Oct-16 9:22 
AnswerRe: Understanding Interface From Previous Developer Pin
Ralf Meier30-Oct-16 4:47
mveRalf Meier30-Oct-16 4:47 
GeneralRe: Understanding Interface From Previous Developer Pin
hilli_micha31-Oct-16 1:54
hilli_micha31-Oct-16 1:54 
QuestionCheck if record exists Pin
Member 1281653926-Oct-16 2:55
Member 1281653926-Oct-16 2:55 
AnswerRe: Check if record exists Pin
Richard MacCutchan26-Oct-16 3:20
mveRichard MacCutchan26-Oct-16 3:20 
GeneralRe: Check if record exists Pin
Member 1281653926-Oct-16 3:22
Member 1281653926-Oct-16 3:22 
GeneralRe: Check if record exists Pin
Richard MacCutchan26-Oct-16 3:29
mveRichard MacCutchan26-Oct-16 3:29 
QuestionTreview prevent drag/drop according to destination node Pin
desanti24-Oct-16 9:38
desanti24-Oct-16 9:38 
AnswerRe: Treview prevent drag/drop according to destination node Pin
Michael_Davies24-Oct-16 10:02
Michael_Davies24-Oct-16 10:02 
Questionimage prosseing Pin
Member 1281214124-Oct-16 4:43
Member 1281214124-Oct-16 4:43 
AnswerRe: image prosseing Pin
Dave Kreskowiak24-Oct-16 5:34
mveDave Kreskowiak24-Oct-16 5:34 
QuestionI have no programming knowledge but Pin
Member 1280995223-Oct-16 0:15
Member 1280995223-Oct-16 0:15 
AnswerRe: I have no programming knowledge but Pin
Richard MacCutchan23-Oct-16 5:34
mveRichard MacCutchan23-Oct-16 5:34 
GeneralRe: I have no programming knowledge but Pin
Member 1280995223-Oct-16 9:30
Member 1280995223-Oct-16 9:30 
QuestionUsing a usb barcode reader Pin
desanti20-Oct-16 8:13
desanti20-Oct-16 8:13 
AnswerRe: Using a usb barcode reader Pin
Richard MacCutchan20-Oct-16 20:51
mveRichard MacCutchan20-Oct-16 20:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.