Click here to Skip to main content
15,902,492 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionRe: .NET Framework - Restarting Framework Pin
Jun Du21-Jun-06 5:20
Jun Du21-Jun-06 5:20 
AnswerRe: .NET Framework - Restarting Framework Pin
Jawz-X22-Jun-06 5:18
Jawz-X22-Jun-06 5:18 
GeneralRe: .NET Framework - Restarting Framework Pin
Jun Du22-Jun-06 5:34
Jun Du22-Jun-06 5:34 
QuestionAdd reference Pin
VK-Cadec19-Jun-06 2:33
VK-Cadec19-Jun-06 2:33 
AnswerRe: Add reference Pin
Dave Kreskowiak19-Jun-06 3:45
mveDave Kreskowiak19-Jun-06 3:45 
Questionsecurity problem when writing to windows application log Pin
Rob 1234516-Jun-06 14:35
Rob 1234516-Jun-06 14:35 
AnswerRe: security problem when writing to windows application log Pin
progload17-Jun-06 15:48
progload17-Jun-06 15:48 
GeneralRe: security problem when writing to windows application log Pin
Rob 1234518-Jun-06 16:52
Rob 1234518-Jun-06 16:52 
Thank you - that turned out to be the problem, however ...

When I tried to create the "source" in Vista I got another error:

"The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security."

I got around this by changing the compatibility properties on my exe file to give it Administrator rights.

However, this in turn led to a pesky Vista warning pop-up box each time my program started up.

Next I deleted the source and then tried to create it in my program by writing the reg key entry myself.

Dim Reg As Microsoft.Win32.Registry
Dim RegKey As Microsoft.Win32.RegistryKey

RegKey = Reg.LocalMachine.CreateSubKey("SYSTEM\CurrentControlSet\Services\EventLog\Application")
RegKey.SetValue("MyProgramName", "")
RegKey.Close()

I found that if I did it this way, and on the exe file removed the admin rights and changed the properties - security - users - advanced - users - edit - to full control
then everything worked ok and I didn't get the pesky Vista warnings every time I started the program.

Any advice on the advisability of one approach over the other?

Thanks, Rob
GeneralRe: security problem when writing to windows application log Pin
progload18-Jun-06 20:01
progload18-Jun-06 20:01 
GeneralRe: security problem when writing to windows application log Pin
Rob 1234519-Jun-06 12:46
Rob 1234519-Jun-06 12:46 
GeneralRe: security problem when writing to windows application log Pin
progload19-Jun-06 21:51
progload19-Jun-06 21:51 
QuestionDataview RowFilter efficiency problem Pin
eatwork16-Jun-06 7:45
eatwork16-Jun-06 7:45 
AnswerRe: Dataview RowFilter efficiency problem Pin
Robert Rohde16-Jun-06 9:39
Robert Rohde16-Jun-06 9:39 
GeneralRe: Dataview RowFilter efficiency problem Pin
eatwork16-Jun-06 10:23
eatwork16-Jun-06 10:23 
AnswerRe: Dataview RowFilter efficiency problem Pin
Dave Kreskowiak18-Jun-06 2:50
mveDave Kreskowiak18-Jun-06 2:50 
QuestionPanel_paint method Pin
reshsilk16-Jun-06 4:23
reshsilk16-Jun-06 4:23 
AnswerRe: Panel_paint method [modified] Pin
Ravi Bhavnani16-Jun-06 4:46
professionalRavi Bhavnani16-Jun-06 4:46 
GeneralRe: Panel_paint method Pin
reshsilk16-Jun-06 6:03
reshsilk16-Jun-06 6:03 
GeneralRe: Panel_paint method Pin
Robert Rohde16-Jun-06 9:43
Robert Rohde16-Jun-06 9:43 
GeneralRe: Panel_paint method Pin
Guffa16-Jun-06 5:00
Guffa16-Jun-06 5:00 
QuestionMemory Corrupt (Migration from 1.1 to 2.0) Pin
elcheah15-Jun-06 23:22
elcheah15-Jun-06 23:22 
QuestionMysterious .NET error. [modified] Pin
MY120115-Jun-06 21:51
MY120115-Jun-06 21:51 
AnswerRe: Mysterious .NET error. Pin
leppie15-Jun-06 22:16
leppie15-Jun-06 22:16 
QuestionShared Assemblies Pin
Garg, Deepak15-Jun-06 20:39
professionalGarg, Deepak15-Jun-06 20:39 
AnswerRe: Shared Assemblies Pin
Justin_Joseph16-Jun-06 1:50
Justin_Joseph16-Jun-06 1:50 

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.