Click here to Skip to main content
15,891,033 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: displaying generated html in a Frameset [modified] Pin
Jun Du8-Sep-06 9:09
Jun Du8-Sep-06 9:09 
QuestionReport TextBox Spills Content Onto Text Below It Pin
dptalt8-Sep-06 5:18
dptalt8-Sep-06 5:18 
AnswerRe: Report TextBox Spills Content Onto Text Below It Pin
Suelinda_W22-Sep-06 10:02
Suelinda_W22-Sep-06 10:02 
QuestionMultiple ActiveX objects and events Pin
cstrader2328-Sep-06 3:40
cstrader2328-Sep-06 3:40 
AnswerRe: Multiple ActiveX objects and events Pin
Dave Kreskowiak10-Sep-06 5:33
mveDave Kreskowiak10-Sep-06 5:33 
Questionhow i populate the row of datagridview in edit mode Pin
tutum8-Sep-06 2:50
tutum8-Sep-06 2:50 
AnswerRe: how i populate the row of datagridview in edit mode Pin
tutum9-Sep-06 0:01
tutum9-Sep-06 0:01 
QuestionRegistry Reading Pin
SandhyaSri8-Sep-06 2:30
SandhyaSri8-Sep-06 2:30 
Hi

This is my code:
Dim lngHKey As Long
Dim strSelectedValue As String
If (RegOpenKey(HKEY_LOCAL_MACHINE, "My Software\Trial Project\Data", lngHKey) = 0) Then

MsgBox "open successful"
If (RegQueryValueEx(lngHKey, "Trial Values", 0, REG_MULTI_SZ, strSelectedValue, Len(strSelectedValue)) = 0) Then
MsgBox "query successful"
Else
MsgBox "Query Failure"
End If
Else
MsgBox "Open Failure"

This is my code.I am getting the message "Open Failure" .The key is properly created.But failure in opening the key.What is the problem?
Thanks in advance.

Sandhya

AnswerRe: Registry Reading Pin
Dave Kreskowiak9-Sep-06 6:35
mveDave Kreskowiak9-Sep-06 6:35 
Questiontelephonic data extraction from PBX using system defined funtion Pin
Pradip Kishore8-Sep-06 2:16
Pradip Kishore8-Sep-06 2:16 
QuestionHow to Fix the error of the runtime message "713" Pin
very_short_life8-Sep-06 2:13
very_short_life8-Sep-06 2:13 
QuestionCustom Renaming File Pin
Iftikhar Ali8-Sep-06 0:05
Iftikhar Ali8-Sep-06 0:05 
AnswerRe: Custom Renaming File Pin
CWIZO8-Sep-06 2:09
CWIZO8-Sep-06 2:09 
QuestionRe: Custom Renaming File Pin
Iftikhar Ali8-Sep-06 11:00
Iftikhar Ali8-Sep-06 11:00 
AnswerRe: Custom Renaming File Pin
CWIZO8-Sep-06 23:14
CWIZO8-Sep-06 23:14 
GeneralRe: Custom Renaming File Pin
Iftikhar Ali10-Sep-06 22:44
Iftikhar Ali10-Sep-06 22:44 
GeneralRe: Custom Renaming File Pin
CWIZO10-Sep-06 22:48
CWIZO10-Sep-06 22:48 
QuestionRe: Custom Renaming File Pin
Iftikhar Ali11-Sep-06 10:56
Iftikhar Ali11-Sep-06 10:56 
AnswerRe: Custom Renaming File Pin
EvoFreak11-Sep-06 14:43
EvoFreak11-Sep-06 14:43 
QuestionLost Focus on Mdi Parent Button? Pin
ghost1817-Sep-06 19:49
ghost1817-Sep-06 19:49 
AnswerRe: how to enlarge width data report ?? Pin
very_short_life9-Sep-06 4:28
very_short_life9-Sep-06 4:28 
QuestionVB6 - Inserting a data worksheet in a workbook. Pin
A Price7-Sep-06 17:00
A Price7-Sep-06 17:00 
QuestionHow to make glass effect image in .NET/WinXP Pin
re infecta7-Sep-06 10:44
re infecta7-Sep-06 10:44 
AnswerRe: How to make glass effect image in .NET/WinXP Pin
salysle7-Sep-06 13:21
salysle7-Sep-06 13:21 
GeneralRe: How to make glass effect image in .NET/WinXP Pin
re infecta7-Sep-06 20:55
re infecta7-Sep-06 20:55 

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.