There is a method "DirectorySecurity.SetAccessRuleProtection(isProtected as Boolean, preserveInheritance as Boolean)" which allow to break or set the inheritance. So I only have to replace in the code snippet above the line
to remove alle the access rights inherited from the folder above and set new access rights for the folder and its children.
Where temp is a string containing som text and sometimes a tag. If the string contains a link to an image the webbrowser will totally freak out. It will flicker, constantly updating and you can't scroll or anything.
Any suggestions how to fix this?
I have got a solution file that contains multiple managed code projects, and some projects have dependecies/references(Project References),when i compile/build a particular project through MSBuild it compiles/builds the project and dependencies of that project too, is there a way/flag of MSBuild so that it shouldn't compile/build the depedencies
i have developed a desktop based application using C#.NET, which require access to some USB based devices.
I have to use this application on target PCs in which the USB port is disabled by the system administrator.
From the application, i wants to enable & disable the USB drives programatically, so that no other application can use the USB ports, as per configured by the system administrator.
ie, enable the USB port before the application require access to the USB port it & disable it after the use.
I need to achieve the same when the application is running in a login, who doesn't have administrative rights.
Is it possible to achieve the same using .NET framework?
Do any one knows how to implement the same. If so, please inform me.
We have a big problem in the Our Windows Server 2003 x64 Edition.
After We have installed 1.1 FrameWork in the Server,Our Website is not working.We need to run the our ASP.NET web project on 1.1 platform.
But now the Project is not working on the server
Can any body help us to fix the problem.
I think we need a little more info here. It sounds like your web site has never worked on this server yet. What error are you getting? Most likely the issue is in the properties of the web site. Usually it is something simple like on the documents tab you didn't set up the correct start page for your site. Something like that.
I am having a problem with list view.
Im adding Items to the list view at runtime from a database & accordingly changing the height of the listview.
but when listview height is greater than form height ,the listview is not scrolling accordingly.
Like Combobox items scroll independent of forms bounds,my listview should appear & behave like combobox.
i hav to go for an interview
can anyone Please help me,
Please tell me following question's answer.
1) What is the difference between windows services & web services
2) What is visual programming
3) Difference between release mode compilation & debug mode compilation.
4) What is VSS, wht r its benefit.
5) Wht r autoreset event & manual reset events.
6) where is the constructor of windows form that we add in vb project located.
"The Difficult i can do it now...
The Impossible will take a little longer."
I'm sorry, but if you can't answer these questions confidently and without help you really should consider whether the job is right for you and you are right for the job. When I'm hiring staff, I'm looking to see that THEY know the answers, not that somebody on CodeProject does.
Deja View - the feeling that you've seen this post before.
Also, if you don't know the answers, you should have enough familiarity with programming languages and theory that you should be able discern the meaning. Usually in interviews the technical questions only gauge your ability to answer questions, the real test is in the open discussion that probes at the heart of the knowledge and your ability to apply solutions to problems. When I was interviewing several months ago, I would get maybe five mins of questions like these, but the bulk of the interview was about theoretical constructs of writting an application and architecture.
You know the questions before the interview ? But, google doesn't work where you live ?
I am sorry, but if you don't know it, you don't know it. Simple as that. Knowing a few random facts is not going to earn you a job. If you have what it takes, that will be clear in an interview.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )