Click here to Skip to main content
15,893,487 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to use LPCTSTR in VB6. Pin
Septimus Hedgehog12-Apr-13 8:30
Septimus Hedgehog12-Apr-13 8:30 
GeneralRe: How to use LPCTSTR in VB6. Pin
Eddy Vluggen12-Apr-13 8:42
professionalEddy Vluggen12-Apr-13 8:42 
AnswerRe: How to use LPCTSTR in VB6. Pin
Richard MacCutchan12-Apr-13 7:04
mveRichard MacCutchan12-Apr-13 7:04 
GeneralRe: How to use LPCTSTR in VB6. Pin
Septimus Hedgehog12-Apr-13 7:55
Septimus Hedgehog12-Apr-13 7:55 
GeneralRe: How to use LPCTSTR in VB6. Pin
Richard MacCutchan12-Apr-13 21:53
mveRichard MacCutchan12-Apr-13 21:53 
AnswerRe: How to use LPCTSTR in VB6. Pin
Dave Kreskowiak12-Apr-13 8:31
mveDave Kreskowiak12-Apr-13 8:31 
GeneralRe: How to use LPCTSTR in VB6. Pin
Septimus Hedgehog12-Apr-13 9:36
Septimus Hedgehog12-Apr-13 9:36 
QuestionRegisrtry Access Pin
SPSandy12-Apr-13 5:19
SPSandy12-Apr-13 5:19 
I am trying to write into registry using the command
VB
RegKey = Registry.CurrentUser.CreateSubKey("Software\\macson")


Now when I run the program only then it correctly writes into the HKEY_CURRENT_USER\\MICROSOFT\\SOFTWARE. But when I include this program as an assembly in the setup it writes into the HKEY_USERS with no entry in HKEY_CURRENT_USER. Now my problem is that the program which is supposed to access the registry data is programmed to read from HKEY_CURRENT_USER using the command

MyRegKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\\macson", True)


Though I have idea that HKEY_CURRENT_USER is a limited copy of HKEY_USERS but since the data is not available in current user my program is failing.

Can anybody help me out on how to solve this issue?
QuestionRe: Regisrtry Access Pin
Eddy Vluggen12-Apr-13 6:33
professionalEddy Vluggen12-Apr-13 6:33 
AnswerRe: Regisrtry Access Pin
SPSandy12-Apr-13 7:08
SPSandy12-Apr-13 7:08 
GeneralRe: Regisrtry Access Pin
Eddy Vluggen12-Apr-13 7:25
professionalEddy Vluggen12-Apr-13 7:25 
GeneralRe: Regisrtry Access Pin
SPSandy12-Apr-13 7:36
SPSandy12-Apr-13 7:36 
GeneralRe: Regisrtry Access Pin
Eddy Vluggen12-Apr-13 8:07
professionalEddy Vluggen12-Apr-13 8:07 
QuestionRabin-Karp-Matcher Pin
d3ad-d3vil12-Apr-13 2:05
d3ad-d3vil12-Apr-13 2:05 
AnswerRe: Rabin-Karp-Matcher Pin
Eddy Vluggen12-Apr-13 6:31
professionalEddy Vluggen12-Apr-13 6:31 
AnswerRe: Rabin-Karp-Matcher Pin
Kenneth Haugland12-Apr-13 8:30
mvaKenneth Haugland12-Apr-13 8:30 
QuestionMessage Removed Pin
11-Apr-13 22:58
David venewald11-Apr-13 22:58 
QuestionHow to catch message WM_COPYDATA in VB? Pin
Member 989133411-Apr-13 22:02
Member 989133411-Apr-13 22:02 
AnswerRe: How to catch message WM_COPYDATA in VB? Pin
Thomas Daniels11-Apr-13 22:10
mentorThomas Daniels11-Apr-13 22:10 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Member 989133411-Apr-13 22:23
Member 989133411-Apr-13 22:23 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Thomas Daniels11-Apr-13 22:30
mentorThomas Daniels11-Apr-13 22:30 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Member 989133411-Apr-13 22:54
Member 989133411-Apr-13 22:54 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Thomas Daniels11-Apr-13 22:59
mentorThomas Daniels11-Apr-13 22:59 
QuestionIs DateTime.Now property precise [solved] Pin
econy11-Apr-13 9:30
econy11-Apr-13 9:30 
AnswerRe: Is DateTime.Now property precise Pin
Kenneth Haugland11-Apr-13 9:35
mvaKenneth Haugland11-Apr-13 9:35 

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.