Click here to Skip to main content
16,006,341 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to make oledb connection through code Pin
Dave Kreskowiak22-Mar-05 0:48
mveDave Kreskowiak22-Mar-05 0:48 
GeneralRe: how to make oledb connection through code Pin
sumit2122-Mar-05 1:27
sumit2122-Mar-05 1:27 
GeneralRe: how to make oledb connection through code Pin
Dave Kreskowiak22-Mar-05 1:58
mveDave Kreskowiak22-Mar-05 1:58 
Generalretrieving e-mails from outlook Pin
MagicGirL8321-Mar-05 19:43
MagicGirL8321-Mar-05 19:43 
GeneralExplorer Bars Pin
micromause21-Mar-05 19:36
micromause21-Mar-05 19:36 
GeneralRe: Explorer Bars Pin
sumit2121-Mar-05 22:08
sumit2121-Mar-05 22:08 
GeneralRe: Explorer Bars Pin
Dave Kreskowiak22-Mar-05 0:41
mveDave Kreskowiak22-Mar-05 0:41 
GeneralRegistryKey GetType() help Pin
badcredit21-Mar-05 17:25
badcredit21-Mar-05 17:25 
I'm trying to read the Windows Registry and have been successful up to the point where I have to get a value other than type string. I know the key or at least I think the key is to use GetType(). I've looked at the GetType() under help but can not see an example on how to use it to determine if a Registry Value Name is what type. Here is a snippet of what I have been using to get the regvaluename of type string:

Dim RegKey As RegistryKey
Dim SubKey As String
Dim RegValueName As String
Dim RegValueData As String

RegKey = Registry.LocalMachine.OpenSubKey(SubKey, False)
RegValueData = RegKey.GetValue(RegValueName)

Now I understand that the problem is with "RegValueData" and its type but how do I change the code around so that this will work with data other than type "string"

Thanx in advance for any help/guidance into the right direction.


-Mark-
GeneralRe: RegistryKey GetType() help Pin
Christian Graus21-Mar-05 17:37
protectorChristian Graus21-Mar-05 17:37 
GeneralRe: RegistryKey GetType() help Pin
Dave Kreskowiak22-Mar-05 0:29
mveDave Kreskowiak22-Mar-05 0:29 
GeneralDeleting an entry in datagrid Pin
Chaos Machine21-Mar-05 16:48
Chaos Machine21-Mar-05 16:48 
GeneralRe: Deleting an entry in datagrid Pin
sumit2121-Mar-05 21:03
sumit2121-Mar-05 21:03 
GeneralSMART with VB.NET Pin
Chaos Machine21-Mar-05 15:46
Chaos Machine21-Mar-05 15:46 
GeneralCountry Drop Down Pin
Jaydeanster21-Mar-05 14:52
Jaydeanster21-Mar-05 14:52 
GeneralRe: Country Drop Down Pin
Christian Graus21-Mar-05 15:01
protectorChristian Graus21-Mar-05 15:01 
QuestionHow to hide applications from task list on win NT/XP Pin
lamah21-Mar-05 11:01
lamah21-Mar-05 11:01 
AnswerRe: How to hide applications from task list on win NT/XP Pin
Dave Kreskowiak21-Mar-05 12:41
mveDave Kreskowiak21-Mar-05 12:41 
AnswerRe: How to hide applications from task list on win NT/XP Pin
sumit2121-Mar-05 22:12
sumit2121-Mar-05 22:12 
GeneralRe: How to hide applications from task list on win NT/XP Pin
Dave Kreskowiak22-Mar-05 0:12
mveDave Kreskowiak22-Mar-05 0:12 
QuestionHow to add tooltip text to a Button Pin
Suman Singh21-Mar-05 10:21
professionalSuman Singh21-Mar-05 10:21 
AnswerRe: How to add tooltip text to a Button Pin
Mitch F.21-Mar-05 11:53
Mitch F.21-Mar-05 11:53 
QuestionHow to close form1 from form3 Pin
Suman Singh21-Mar-05 10:19
professionalSuman Singh21-Mar-05 10:19 
AnswerRe: How to close form1 from form3 Pin
Dave Kreskowiak21-Mar-05 12:22
mveDave Kreskowiak21-Mar-05 12:22 
GeneralRe: How to close form1 from form3 Pin
Suman Singh21-Mar-05 12:35
professionalSuman Singh21-Mar-05 12:35 
GeneralRe: How to close form1 from form3 Pin
Dave Kreskowiak21-Mar-05 13:37
mveDave Kreskowiak21-Mar-05 13:37 

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.