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

Visual Basic

 
AnswerRe: how to check correct answer in quiz Pin
bapu28899-Apr-08 8:55
bapu28899-Apr-08 8:55 
QuestionHow to use link labels ? Pin
Meme_856-Apr-08 5:33
Meme_856-Apr-08 5:33 
GeneralRe: How to use link labels ? Pin
Christian Graus6-Apr-08 11:15
protectorChristian Graus6-Apr-08 11:15 
Questionhelp..save time Pin
Member 44429165-Apr-08 22:57
Member 44429165-Apr-08 22:57 
GeneralRe: help..save time Pin
Thomas Stockwell6-Apr-08 3:48
professionalThomas Stockwell6-Apr-08 3:48 
Questioncombo selected index change event Pin
vijaylumar5-Apr-08 20:08
vijaylumar5-Apr-08 20:08 
GeneralRe: combo selected index change event Pin
Chinners6-Apr-08 23:23
Chinners6-Apr-08 23:23 
QuestionStop/Start a service Pin
hassanasp5-Apr-08 16:04
hassanasp5-Apr-08 16:04 
that code diplay all current program installed on my computer,
i need to control this programs ,when i select program from listbox1 and click button service stop(and anthor button to start)?anyone help me plseae code

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim key As Microsoft.Win32.RegistryKey
Dim mainkey As Microsoft.Win32.RegistryKey
Dim iLp As Integer

mainkey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall")

Dim sKeys() As String = mainkey.GetSubKeyNames

For iLp = 0 To sKeys.Length - 1

key = mainkey.OpenSubKey(sKeys(iLp), False)

ListBox1.Items.Add(key.GetValue("DisplayName") & " - " & key.GetValue("Version"))

Next iLp


End Sub

Ahmed hassan

modified on Sunday, April 6, 2008 4:55 PM

GeneralRe: Stop/Start a service Pin
Christian Graus6-Apr-08 16:43
protectorChristian Graus6-Apr-08 16:43 
GeneralExcel Value to textbox [modified] Pin
Member 44350515-Apr-08 3:14
Member 44350515-Apr-08 3:14 
Questionsystem date format Pin
pathak785-Apr-08 2:25
pathak785-Apr-08 2:25 
GeneralRe: system date format Pin
Rajesh Anuhya5-Apr-08 2:34
professionalRajesh Anuhya5-Apr-08 2:34 
GeneralRe: system date format Pin
pathak785-Apr-08 2:42
pathak785-Apr-08 2:42 
GeneralRe: system date format Pin
darkelv5-Apr-08 6:29
darkelv5-Apr-08 6:29 
GeneralRe: system date format Pin
Mycroft Holmes5-Apr-08 17:35
professionalMycroft Holmes5-Apr-08 17:35 
GeneralUsing csv files Pin
Haim Nachum5-Apr-08 2:07
Haim Nachum5-Apr-08 2:07 
GeneralRe: Using csv files Pin
Rajesh Anuhya5-Apr-08 2:19
professionalRajesh Anuhya5-Apr-08 2:19 
GeneralRe: Using csv files Pin
Haim Nachum5-Apr-08 6:18
Haim Nachum5-Apr-08 6:18 
GeneralRe: Using csv files Pin
Dave Kreskowiak5-Apr-08 13:56
mveDave Kreskowiak5-Apr-08 13:56 
GeneralRe: Using csv files Pin
Luc Pattyn5-Apr-08 14:25
sitebuilderLuc Pattyn5-Apr-08 14:25 
GeneralSending ascii extended characters via serial port [modified] Pin
keninfo5-Apr-08 0:06
keninfo5-Apr-08 0:06 
AnswerRe: Sending ascii extended characters via serial port Pin
Rajesh Anuhya5-Apr-08 1:01
professionalRajesh Anuhya5-Apr-08 1:01 
GeneralRe: Sending ascii extended characters via serial port Pin
keninfo5-Apr-08 1:12
keninfo5-Apr-08 1:12 
GeneralRe: Sending ascii extended characters via serial port Pin
Rajesh Anuhya5-Apr-08 1:15
professionalRajesh Anuhya5-Apr-08 1:15 
GeneralRe: Sending ascii extended characters via serial port Pin
keninfo5-Apr-08 1:20
keninfo5-Apr-08 1:20 

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.