{"id":730,"date":"2010-11-16T20:38:56","date_gmt":"2010-11-16T18:38:56","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=730"},"modified":"2010-11-16T20:38:56","modified_gmt":"2010-11-16T18:38:56","slug":"vb-visualbasic-6-0-computer-processlist-example","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/vb-visualbasic-6-0-computer-processlist-example.html","title":{"rendered":"Vb VisualBasic 6.0 Computer ProcessList Example"},"content":{"rendered":"<div id=\"_mcePaste\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Visual Basic 6.0\" src=\"http:\/\/img576.imageshack.us\/img576\/4926\/visualbasiclogo.gif\" alt=\"\" width=\"434\" height=\"205\" \/><\/div>\n<blockquote><p>Private Sub Command1_Click()<\/p>\n<p>&#8216; add to listbox1 and button1<\/p>\n<p>Dim colProcessList<\/p>\n<p>Dim objprocess<\/p>\n<p>Set colProcessList = GetObject(&#8220;Winmgmts:&#8221;).ExecQuery(&#8220;Select * from Win32_Process &#8220;)<\/p>\n<p>For Each objprocess In colProcessList<\/p>\n<p>List1.AddItem &#8220;Process Name=&#8221; &amp; objprocess.Name<\/p>\n<p>List1.AddItem &#8220;Caption=&#8221; &amp; objprocess.Caption<\/p>\n<p>Next<\/p>\n<p>Set colProcessList = Nothing<\/p>\n<p>Set objprocess = Nothing<\/p>\n<p>End Sub<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Vb VisualBasic 6.0 Computer ProcessList Example<\/p>\n<p>Private Sub Command1_Click()<br \/>\n&#8216; add to listbox1 and button1<br \/>\nDim colProcessList<br \/>\nDim objprocess<br \/>\nSet colProcessList = GetObject(&#8220;Winmgmts:&#8221;).ExecQuery(&#8220;Select * from Win32_Process &#8220;)<br \/>\nFor Each objprocess In colProcessList<br \/>\nList1.AddItem &#8220;Process Name=&#8221; &#038; objprocess.Name<br \/>\nList1.AddItem &#8220;Caption=&#8221; &#038; objprocess.Caption<br \/>\nNext<br \/>\nSet colProcessList = Nothing<br \/>\nSet objprocess = Nothing<br \/>\nEnd Sub<br \/>\nPrivate Sub Command1_Click()&#8217; add to listbox1 and button1Dim colProcessListDim objprocess Set colProcessList = GetObject(&#8220;Winmgmts:&#8221;).ExecQuery(&#8220;Select * from Win32_Process &#8220;)<br \/>\nFor Each objprocess In colProcessList    List1.AddItem &#8220;Process Name=&#8221; &#038; objprocess.Name    List1.AddItem &#8220;Caption=&#8221; &#038; objprocess.CaptionNext Set colProcessList = NothingSet objprocess = NothingEnd Sub<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[66],"tags":[1391,1721,2187,2211],"class_list":["post-730","post","type-post","status-publish","format-standard","hentry","category-visual-basic-6-0","tag-list","tag-process","tag-vb","tag-visualbasic-6-0","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":1393,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":0,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/730\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}