Last post May 06, 2009 01:29 PM by Visual Web Developer
May 06, 2009 01:36 AM|Visual Web Developer|LINK
I am trying this approach to create a SubKey but when I visit the page, an error page is occuring and I beleive it has to do with the
[assembly: line. The compiler shows a red underline for ";" in the end of that line wich meens an error.
May 06, 2009 05:50 AM|ahsanm.m|LINK
You get some idea on it from these links:
May 06, 2009 01:29 PM|Visual Web Developer|LINK
I have red all these articles. The only difference I could find was to change "ViewandModify" to "All" like the code below. When I put this code the webform will only show an errorpage when I enter it. It seems that the [assembly] line is the problem here.
I have created a C++ application with the Exact Equivalent Code and here I can write to the registry, so I still cant figure it out what causes the errorpage.
At the same time I have to tell what my intentions are with creating this subkey. Perheps it is or isn´t a good idéa. Why I do this is because the user will be able to download a software from the website and at the same time this Subkey will be created.
In order for the software to work, the software will check if that Subkey exists.
What I wonder here is if I could be 100 % sure that it will be possible to create a subkey on ALL users computer. I am thinking of Permissions and Security to create a subkey in everyones Registry. If that could be a problem, peheps there is a better way
or more correct way ?