Click here to Skip to main content
15,894,410 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Regarding Windows Registry Pin
Dave Kreskowiak16-Apr-08 3:30
mveDave Kreskowiak16-Apr-08 3:30 
QuestionRe: Regarding Windows Registry Pin
vijaylumar16-Apr-08 18:54
vijaylumar16-Apr-08 18:54 
hai dave

thank for u for replying me ..
its so help ful to me ...

but i got an error while doing it ....

i have two user


1)administrator 2)myuser

i m developing my project in "adminstrator"
and i written the code like this ...

Dim usrky As RegistryKey
usrky = Registry.LocalMachine
If (usrky.OpenSubKey("Software\VIJAY")) Is Nothing Then
usrky.OpenSubKey("Software", True).CreateSubKey("VIJAY").SetValue("me", "pandu")
usrky.Close()
MsgBox("key created")
End If
MessageBox.Show(usrky.OpenSubKey("Software\VIJAY", 1, AccessControl.RegistryRights.FullControl).GetValue("me").ToString(), "local machine key reg")

its working in adminstrator but ...
it is not working in user "myuser"

it is giving error like
"Register Access is not allowed"

now what to do ....

my project has to be run under both "administrator" and "myuser" also.

wht to do...

plz solve this ...

thanks in advance ...

vijay
devulapally_vijay@yahoo.co.in
GeneralRe: Regarding Windows Registry Pin
Dave Kreskowiak17-Apr-08 1:31
mveDave Kreskowiak17-Apr-08 1:31 
Questionregarding creating Help File for vb.net 2.0 windows application Pin
vijaylumar15-Apr-08 20:08
vijaylumar15-Apr-08 20:08 
AnswerRe: regarding creating Help File for vb.net 2.0 windows application Pin
Arjun Marwaha15-Apr-08 20:42
Arjun Marwaha15-Apr-08 20:42 
GeneralRe: regarding creating Help File for vb.net 2.0 windows application Pin
Smithers-Jones15-Apr-08 23:32
Smithers-Jones15-Apr-08 23:32 
GeneralCRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 19:32
vbDigger'z15-Apr-08 19:32 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
_Damian S_15-Apr-08 19:59
professional_Damian S_15-Apr-08 19:59 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 21:22
vbDigger'z15-Apr-08 21:22 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
_Damian S_16-Apr-08 18:07
professional_Damian S_16-Apr-08 18:07 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z16-Apr-08 21:56
vbDigger'z16-Apr-08 21:56 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
Mycroft Holmes15-Apr-08 22:07
professionalMycroft Holmes15-Apr-08 22:07 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 22:19
vbDigger'z15-Apr-08 22:19 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
ChandraRam15-Apr-08 23:56
ChandraRam15-Apr-08 23:56 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z16-Apr-08 14:21
vbDigger'z16-Apr-08 14:21 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
ChandraRam16-Apr-08 19:52
ChandraRam16-Apr-08 19:52 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" [modified] Pin
vbDigger'z16-Apr-08 21:53
vbDigger'z16-Apr-08 21:53 
GeneralI think so i know whats wrong with my vb project... its not on the code but the versioning of active x component [modified] Pin
vbDigger'z17-Apr-08 18:04
vbDigger'z17-Apr-08 18:04 
Questionextract OLE Object from MS-Access Table using vb6 Pin
ERLN15-Apr-08 18:05
ERLN15-Apr-08 18:05 
GeneralRe: extract OLE Object from MS-Access Table using vb6 Pin
Dave Kreskowiak16-Apr-08 3:23
mveDave Kreskowiak16-Apr-08 3:23 
GeneralException has been thrown by the target of an invocation Pin
tom8315-Apr-08 17:56
tom8315-Apr-08 17:56 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Arjun Marwaha15-Apr-08 20:50
Arjun Marwaha15-Apr-08 20:50 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Mycroft Holmes15-Apr-08 22:11
professionalMycroft Holmes15-Apr-08 22:11 
GeneralRe: Exception has been thrown by the target of an invocation Pin
tom8316-Apr-08 3:01
tom8316-Apr-08 3:01 
QuestionSatellite Assemblies... Pin
kaizenIT15-Apr-08 10:15
kaizenIT15-Apr-08 10:15 

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.