Click here to Skip to main content
15,897,291 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Key board shortcuts are not displayed on the form until user press Alt Key Pin
John_Adams21-Jan-08 20:37
John_Adams21-Jan-08 20:37 
GeneralRe: Key board shortcuts are not displayed on the form until user press Alt Key Pin
Sipder22-Jan-08 20:51
Sipder22-Jan-08 20:51 
GeneralRe: Key board shortcuts are not displayed on the form until user press Alt Key Pin
Dave Kreskowiak22-Jan-08 5:00
mveDave Kreskowiak22-Jan-08 5:00 
GeneralSearch a word in a .txt file and add some content [modified] Pin
HenrydeSousa21-Jan-08 14:41
HenrydeSousa21-Jan-08 14:41 
GeneralRe: Search a word in a .txt file and add some content Pin
Steven J Jowett22-Jan-08 5:19
Steven J Jowett22-Jan-08 5:19 
GeneralRe: Search a word in a .txt file and add some content Pin
HenrydeSousa24-Jan-08 6:00
HenrydeSousa24-Jan-08 6:00 
QuestionRe: VB6 - getting contents of registry entry [modified] Pin
mla15421-Jan-08 11:58
mla15421-Jan-08 11:58 
QuestionRe: VB6 - getting contents of registry entry [modified] Pin
mla15422-Jan-08 4:43
mla15422-Jan-08 4:43 
I changed Form_Load as shown below:
Private Sub Form_Load()
   HKEY_LOCAL_MACHINE = &H80000002
   KEY_READ = &H20019
   RegOpenKeyEx HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Windows\CurrentVersion", _
        0&, KEY_READ, hKey
   RegQueryValueEx hKey, "CommonFilesDir", 0, 0, sValue, iTemp
End Sub
Now, I'm getting a non-zero value for hKey, but still I'm getting nothing for sValue.  Anyone have any ideas?

Regards,
Mike

modified on Tuesday, January 22, 2008 10:49:23 AM

GeneralDisplaying data in a gridview programatically Pin
solarthur0121-Jan-08 11:26
solarthur0121-Jan-08 11:26 
GeneralRe: Displaying data in a gridview programatically Pin
Usharva21-Jan-08 19:34
Usharva21-Jan-08 19:34 
Generalnumber of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 9:23
AAGTHosting21-Jan-08 9:23 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
Steven J Jowett21-Jan-08 10:38
Steven J Jowett21-Jan-08 10:38 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 12:52
AAGTHosting21-Jan-08 12:52 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
Steven J Jowett21-Jan-08 22:16
Steven J Jowett21-Jan-08 22:16 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 12:57
AAGTHosting21-Jan-08 12:57 
GeneralSet ListView Item to Selected Pin
VFaul21-Jan-08 7:45
VFaul21-Jan-08 7:45 
GeneralRe: Set ListView Item to Selected Pin
VFaul21-Jan-08 8:41
VFaul21-Jan-08 8:41 
GeneralRestricting multiple instance of application Pin
manisghouri21-Jan-08 2:11
manisghouri21-Jan-08 2:11 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 2:26
Steven J Jowett21-Jan-08 2:26 
GeneralRe: Restricting multiple instance of application Pin
manisghouri21-Jan-08 3:11
manisghouri21-Jan-08 3:11 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 4:15
Steven J Jowett21-Jan-08 4:15 
GeneralRe: Restricting multiple instance of application Pin
manisghouri21-Jan-08 10:17
manisghouri21-Jan-08 10:17 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 10:36
Steven J Jowett21-Jan-08 10:36 
GeneralRe: Restricting multiple instance of application Pin
nlarson1121-Jan-08 11:32
nlarson1121-Jan-08 11:32 
QuestionHow to add "" in VB.NET message box Pin
Jats_4ru21-Jan-08 2:06
Jats_4ru21-Jan-08 2:06 

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.