Click here to Skip to main content
       

Visual Basic

 
QuestionThrowing run time error while saving the record. PinmemberMember 786176324-Dec-12 2:11 
AnswerRe: Throwing run time error while saving the record. PinmemberEddy Vluggen25-Dec-12 3:03 
Questiongetting right string value from textbox with arabic text in vb6 PinmemberMember 970722123-Dec-12 0:44 
AnswerRe: getting right string value from textbox with arabic text in vb6 PinmemberEddy Vluggen23-Dec-12 14:17 
GeneralRe: getting right string value from textbox with arabic text in vb6 PinmemberMember 970722123-Dec-12 20:34 
GeneralRe: getting right string value from textbox with arabic text in vb6 PinmvpDave Kreskowiak24-Dec-12 5:06 
AnswerRe: getting right string value from textbox with arabic text in vb6 PinmemberEddy Vluggen25-Dec-12 8:26 
AnswerHelp, Win32_DefragAnalysis in VB6 code Pinmembernghia09t322-Dec-12 3:26 
i want to use class Win32_DefragAnalysis(WMI) to scan status of other volume, but it is not active, exactly, the For-each is not work,   please help me,
 
<pre lang="vb">Private Sub defrag_analysis()
On Error Resume Next
      Dim item
      Dim nameSQL
      Dim wmiOBJECT
      Dim itemCOLLECTION
      Set wmiOBJECT = GetObject("Winmgmts:\\.\root\cimv2")
      nameSQL = "select * from Win32_DefragAnalysis" ' Where VolumeSize > 0 "
      Set itemCOLLECTION = wmiOBJECT.ExecQuery(nameSQL)
      For Each item In itemCOLLECTION
            'not print properties of item
            MsgBox "VolumeSize : " & item.VolumeSize
            MsgBox "Name : " & item.VolumeName
            MsgBox "FreeSpace :" & item.FreeSpace
            MsgBox "AverageFileSize : " & item.AverageFileSize
      Next
     
      MsgBox "jump here"
End Sub
</pre>
GeneralRe: Help, Win32_DefragAnalysis in VB6 code PinmemberEddy Vluggen23-Dec-12 14:15 
QuestionListview vb6.0 PinmemberAinnop22-Dec-12 3:08 
AnswerRe: Listview vb6.0 PinmemberProgramFOX22-Dec-12 3:19 
Questionpuzzle game Pinmemberjasdeep788221-Dec-12 4:11 
AnswerRe: puzzle game PinmemberDavid Mujica21-Dec-12 4:33 
AnswerRe: puzzle game PinmvpRichard MacCutchan21-Dec-12 6:30 
QuestionTimer for Internet connection Pinmemberbolepks20-Dec-12 8:51 
AnswerRe: Timer for Internet connection PinmvpDave Kreskowiak20-Dec-12 9:46 
GeneralRe: Timer for Internet connection Pinmemberbolepks20-Dec-12 9:56 
GeneralRe: Timer for Internet connection PinmvpDave Kreskowiak21-Dec-12 4:11 
Questioninstr function not accepting arguments VB.net Pinmemberxman12519-Dec-12 2:10 
AnswerRe: instr function not accepting arguments VB.net PinmvpDave Kreskowiak19-Dec-12 3:13 
AnswerRe: instr function not accepting arguments VB.net PinmemberZaf Khan19-Dec-12 5:37 
GeneralRe: instr function not accepting arguments VB.net Pinmemberxman12519-Dec-12 20:44 
GeneralRe: instr function not accepting arguments VB.net Pinmemberxman12519-Dec-12 20:50 
GeneralRe: instr function not accepting arguments VB.net PinmemberZaf Khan19-Dec-12 21:05 
AnswerRe: instr function not accepting arguments VB.net PinmemberEddy Vluggen20-Dec-12 1:56 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 31 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid