Click here to Skip to main content
16,019,043 members

Comments by vivek.khatri (Top 22 by date)

vivek.khatri 4-Jan-14 4:04am View    
Yes sir I got what you are saying but still it isn't working...

sample screenshot : http://sdrv.ms/1cP1Fzl
vivek.khatri 4-Jan-14 1:19am View    
Yes, my method is already defined as public and static.. Still can't find any "PageMethods" in javascript function intellisense..

here is the link to the screenshot of my snippets..

Javascript Intellisense : http://sdrv.ms/1crYEUu

Code Behind : http://sdrv.ms/1crYGvF

please help me out ASAP.... :P
vivek.khatri 3-Jan-14 13:19pm View    
Hello Sanjay, I have a problem. I have defined my method with [WebMethod] attribute, added a ScriptManager with EnablePageMethods="True" but still, I can't find "PageMethods" in javascript intellisense..

I am using VS 2010 Ultimate with SP1, .Net Framework 4.0 with C# as server side language..

Please help me out, even if I write "PageMethods" in javascript function, it can't list my method in intellisense...
vivek.khatri 13-Apr-13 0:34am View    
Actually i wanted to replace the windows authentication process with my metro app but as it is not possible, i am authenticating the user again.

This is my college project and we are making a metro style app based on pc security, that contains different methods for providing more security.

For example USB Security, whenever the windows starts up, my metro app will prompt the user for right USB device (i.e. previously configured), if it finds the right USB device then only the user can proceed further, till then he should be unable access the files and folders.

Moreover, there are several tricks available on internet on how to bypass windows passwords, for example, if i am not wrong, we can change the windows password from other OS, like Ubuntu, e.g. http://www.howtogeek.com/howto/14369/change-or-reset-windows-password-from-a-ubuntu-live-cd/
vivek.khatri 12-Apr-13 23:13pm View    
Hello sir, thanks for the reply. Actually I want to prevent the user from accessing the files and folders until they are authenticated from a Metro Style App (also developed by me).

I can't kill the "explorer.exe" process because that process is required to run my Metro Style App, that's why i thought of checking continuously for Child Windows of "explorer.exe" (As all the folders are browsed under this process), and kill them if any exist.

Hope u understood my problem, if not, here is an image link http://sdrv.ms/14hgPLE to explain you more clearly.

I tried using EnumChildWindows() from the user32.dll but could not apply successfully, because I'm not too familiar with using this kind of functions.

If there is another way, share with us. Any suggestion will be appreciated.

Sorry for my poor English as its not my first language.