Click here to Skip to main content
15,886,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionThrowing run time error while saving the record. Pin
Member 786176324-Dec-12 2:11
Member 786176324-Dec-12 2:11 
AnswerRe: Throwing run time error while saving the record. Pin
Eddy Vluggen25-Dec-12 3:03
professionalEddy Vluggen25-Dec-12 3:03 
Questiongetting right string value from textbox with arabic text in vb6 Pin
Member 970722123-Dec-12 0:44
Member 970722123-Dec-12 0:44 
AnswerRe: getting right string value from textbox with arabic text in vb6 Pin
Eddy Vluggen23-Dec-12 14:17
professionalEddy Vluggen23-Dec-12 14:17 
GeneralRe: getting right string value from textbox with arabic text in vb6 Pin
Member 970722123-Dec-12 20:34
Member 970722123-Dec-12 20:34 
GeneralRe: getting right string value from textbox with arabic text in vb6 Pin
Dave Kreskowiak24-Dec-12 5:06
mveDave Kreskowiak24-Dec-12 5:06 
AnswerRe: getting right string value from textbox with arabic text in vb6 Pin
Eddy Vluggen25-Dec-12 8:26
professionalEddy Vluggen25-Dec-12 8:26 
AnswerHelp, Win32_DefragAnalysis in VB6 code Pin
nghia09t322-Dec-12 3:26
nghia09t322-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 Pin
Eddy Vluggen23-Dec-12 14:15
professionalEddy Vluggen23-Dec-12 14:15 
QuestionListview vb6.0 Pin
Ainnop22-Dec-12 3:08
Ainnop22-Dec-12 3:08 
AnswerRe: Listview vb6.0 Pin
Thomas Daniels22-Dec-12 3:19
mentorThomas Daniels22-Dec-12 3:19 
Questionpuzzle game Pin
jasdeep788221-Dec-12 4:11
jasdeep788221-Dec-12 4:11 
AnswerRe: puzzle game Pin
David Mujica21-Dec-12 4:33
David Mujica21-Dec-12 4:33 
AnswerRe: puzzle game Pin
Richard MacCutchan21-Dec-12 6:30
mveRichard MacCutchan21-Dec-12 6:30 
QuestionTimer for Internet connection Pin
bolepks20-Dec-12 8:51
bolepks20-Dec-12 8:51 
AnswerRe: Timer for Internet connection Pin
Dave Kreskowiak20-Dec-12 9:46
mveDave Kreskowiak20-Dec-12 9:46 
GeneralRe: Timer for Internet connection Pin
bolepks20-Dec-12 9:56
bolepks20-Dec-12 9:56 
GeneralRe: Timer for Internet connection Pin
Dave Kreskowiak21-Dec-12 4:11
mveDave Kreskowiak21-Dec-12 4:11 
Questioninstr function not accepting arguments VB.net Pin
xman12519-Dec-12 2:10
xman12519-Dec-12 2:10 
AnswerRe: instr function not accepting arguments VB.net Pin
Dave Kreskowiak19-Dec-12 3:13
mveDave Kreskowiak19-Dec-12 3:13 
AnswerRe: instr function not accepting arguments VB.net Pin
Zaf Khan19-Dec-12 5:37
Zaf Khan19-Dec-12 5:37 
GeneralRe: instr function not accepting arguments VB.net Pin
xman12519-Dec-12 20:44
xman12519-Dec-12 20:44 
GeneralRe: instr function not accepting arguments VB.net Pin
xman12519-Dec-12 20:50
xman12519-Dec-12 20:50 
GeneralRe: instr function not accepting arguments VB.net Pin
Zaf Khan19-Dec-12 21:05
Zaf Khan19-Dec-12 21:05 
AnswerRe: instr function not accepting arguments VB.net Pin
Eddy Vluggen20-Dec-12 1:56
professionalEddy Vluggen20-Dec-12 1:56 

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.