Click here to Skip to main content
15,918,123 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHi ! Pin
abhishk2001@yahoo.com9-Dec-05 8:03
abhishk2001@yahoo.com9-Dec-05 8:03 
AnswerRe: Hi ! Pin
Brent Lamborn9-Dec-05 10:53
Brent Lamborn9-Dec-05 10:53 
Questionadd chars to text at KEYPRESS Pin
Greeky9-Dec-05 2:45
Greeky9-Dec-05 2:45 
AnswerRe: add chars to text at KEYPRESS Pin
Roy Heil9-Dec-05 7:33
professionalRoy Heil9-Dec-05 7:33 
GeneralRe: add chars to text at KEYPRESS Pin
Roy Heil9-Dec-05 7:54
professionalRoy Heil9-Dec-05 7:54 
AnswerRe: add chars to text at KEYPRESS Pin
George B Gilbert9-Dec-05 9:30
George B Gilbert9-Dec-05 9:30 
Questionsetup wizard and registry handling Pin
Asim N.8-Dec-05 23:17
Asim N.8-Dec-05 23:17 
AnswerRe: setup wizard and registry handling Pin
George B Gilbert9-Dec-05 9:39
George B Gilbert9-Dec-05 9:39 
Imports Microsoft.Win32
Public Function ReadRegKeyValue(ByVal KeyName As String, _
ByVal ValueName As String) As String
' Read the value of an existing registry key
' Pass: KeyName Name or path of the registry key for which the
' value is being read
' Return: String The sub key value (zero length string if the
' sub key does not exist)

' Create an instance of the RegistryKey class from the Microsoft.Win32 namespace
Dim RegObject As RegistryKey
Dim RegKeyValue As String

' Retrieve the sub key value
Try
RegObject = Registry.LocalMachine.OpenSubKey(KeyName, False)
RegKeyValue = CType(RegObject.GetValue(ValueName, ""), String)
RegObject.Close()
Catch
RegKeyValue = ""
End Try
Return RegKeyValue
End Function

Do or not do. There is no try.
AnswerRe: setup wizard and registry handling Pin
Curtis Schlak.9-Dec-05 10:28
Curtis Schlak.9-Dec-05 10:28 
GeneralRe: setup wizard and registry handling Pin
Asim N.9-Dec-05 15:45
Asim N.9-Dec-05 15:45 
GeneralRe: setup wizard and registry handling Pin
Curtis Schlak.11-Dec-05 9:33
Curtis Schlak.11-Dec-05 9:33 
QuestionHow can I mount an image in VB.NET Pin
Weddi8-Dec-05 22:48
Weddi8-Dec-05 22:48 
AnswerRe: How can I mount an image in VB.NET Pin
Dave Kreskowiak9-Dec-05 5:47
mveDave Kreskowiak9-Dec-05 5:47 
Questionclearing a combobox Pin
microuser_20008-Dec-05 21:55
microuser_20008-Dec-05 21:55 
AnswerRe: clearing a combobox Pin
Asim N.8-Dec-05 23:19
Asim N.8-Dec-05 23:19 
GeneralRe: clearing a combobox Pin
microuser_20009-Dec-05 0:50
microuser_20009-Dec-05 0:50 
GeneralRe: clearing a combobox Pin
Asim N.9-Dec-05 2:39
Asim N.9-Dec-05 2:39 
QuestionCheck the instance of an object Pin
biglewy8-Dec-05 21:19
biglewy8-Dec-05 21:19 
AnswerRe: Check the instance of an object Pin
Asim N.8-Dec-05 23:22
Asim N.8-Dec-05 23:22 
QuestionDataBase Checking Table Exist or Not Pin
Sasmi8-Dec-05 19:51
Sasmi8-Dec-05 19:51 
AnswerRe: DataBase Checking Table Exist or Not Pin
abhinish8-Dec-05 23:38
abhinish8-Dec-05 23:38 
QuestionUsing Store Procedure that using dblink in VB.NET Pin
lucdt8-Dec-05 19:33
lucdt8-Dec-05 19:33 
QuestionHelp with a program within Network Programming in .net Pin
Delo8-Dec-05 16:04
Delo8-Dec-05 16:04 
QuestionCustom ComboBox Control Issue Pin
eatwork8-Dec-05 11:44
eatwork8-Dec-05 11:44 
AnswerRe: Custom ComboBox Control Issue Pin
Roy Heil8-Dec-05 13:38
professionalRoy Heil8-Dec-05 13:38 

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.