16,019,043 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.
vivek.khatri
12-Apr-13 10:24am
View
but i think this will kill my application too. I want to close all windows explorer windows i.e. My Computer or My Documents or any other folder.
I mean if i open My Computer, it will have the same process ID as the explorer.exe because explorer.exe is the process that provides the GUI for viewing any folder. I want to close all these GUIs, not the explorer.exe process.
Hope you got my concept..
Here is the link to the image, hope that will explain you better...
Image Link : http://sdrv.ms/14hgPLE
vivek.khatri
12-Apr-13 9:31am
View
please see my updated question, i have explained more clearly about my problem there.. Thanx in advance..
vivek.khatri
12-Apr-13 9:31am
View
please see my updated question, i have explained more clearly about my problem there.. Thanx in advance..
vivek.khatri
12-Apr-13 5:32am
View
i have seen some snippets that can enumerate all the currently running windows in taskbar, but they just returns the running windows names. They haven't provided how to kill them. They accomplish this by importing user32.dll file..
here is the link i have found :
http://msdntracker.blogspot.in/2008/03/list-currently-opened-windows-with.html
http://blog.cjwdev.co.uk/2010/06/03/get-visible-windows/
vivek.khatri
12-Apr-13 5:31am
View
Deleted
i have seen some snippets that can enumerate all the currently running windows in taskbar, but they just returns the running windows names. They haven't provided how to kill them. They accomplish this by importing user32.dll file..
here is the link i have found :
http://msdntracker.blogspot.in/2008/03/list-currently-opened-windows-with.html
http://blog.cjwdev.co.uk/2010/06/03/get-visible-windows/
vivek.khatri
29-Mar-13 1:19am
View
let me explain my concept which i want to achieve.
actually i have made a metro style app that will authenticate the user after he has logged into windows. i have managed somehow to put my metro app in startup using task scheduler and a script.
the windows service will continuously check for a value in my database (.xml file) i.e. is the user authenticated or not.
if the user is authenticated, then check for explorer is started or not, if NOT STARTED THEN START IT.
if the user is NOT authenticated, then again check for explorer is started or not, if YES THEN KILL EXPLORER.EXE.
the value in my database (.xml file) will be changed only after the user authentication through my metro app.
i hope now u can help me out.
Can u make me a VB.Net snippet that will derive the user's ID and token from session 1 and then i can call the explorer.exe by providing it the user's session details.
Sorry for my poor english as its not my first language..
vivek.khatri
29-Mar-13 1:13am
View
actually i have made a metro style app that will authenticate the user after he has logged into windows. i have managed somehow to put my metro app in startup using task scheduler and a script.
the windows service will continuously check for a value in my database (.xml file) i.e. is the user authenticated or not.
if the user is authenticated, then check for explorer is started or not, if NOT STARTED THEN START IT.
if the user is NOT authenticated, then again check for explorer is started or not, if YES THEN KILL EXPLORER.EXE.
the value in my database (.xml file) will be changed only after the user authentication through my metro app.
Hope u got it my concept, if any query, just ask me..
vivek.khatri
29-Mar-13 1:05am
View
Actually my windows service will work with my metro application simultaneously. Therefore, the service will be run only in windows 8.
No error occurs while starting the explorer, still it doesn't start.. sorry for my poor english.
vivek.khatri
25-Mar-13 10:32am
View
Thanks for the reply..
yes i know about the background task, but actually i am trying to authenticate the user from my metro app therefore it can't be done by background task. I need some user interaction to authenticate the user.
in fact i wanted my metro app to be launched at the windows login time but as its not possible, i am trying to authenticate the user after windows login.
vivek.khatri
16-Mar-13 2:19am
View
Hello sir, thank you for reply..
I have tried that too, but no success..
I think I'm making mistake in setting "App Settings" section.
If I provide Start Page property value "MainPage.xaml" (the page that will handle the file), when i open the file with .encrypted extension, it starts my application, but after the splash screen, i'm being taken directly to the start screen.
Please specify what to fill up in the "App Settings" section for my scenario.
My project is in VB, the page that will handle the file is the default page (i.e. MainPage.xaml).
Note :- I have left the "Content Type" field empty because i didn't know what to provide there.
vivek.khatri
2-Mar-13 12:30pm
View
I don't want to change my lock screen picture.
I'm developing an app that will authenticate the user while windows start-up (login time). Therefore i want my metro app to be shown instead of the windows logon screen...
vivek.khatri
26-Feb-13 11:00am
View
I'm using Notepad++. But still it shows all the contents in single line..
To format it, i need to format it manually by adding tabs.
Is there any bug in the code above ???
vivek.khatri
31-Dec-12 12:03pm
View
yeah bt i want to make metro style app as its latest. actually its for our BCA project so i had to choose something challenging, so....
it'll be a great help if i find a metro style app developer..
vivek.khatri
31-Dec-12 8:27am
View
hey, are you familiar with metro style app development ???
actually i am developing a WinRT app for desktop security and i'm new in developing .Net framework 4.5, i really need a guide...
vivek.khatri
31-Dec-12 6:15am
View
Thanks for the reply.. :)
vivek.khatri
29-Nov-12 15:40pm
View
thank you so much for clearing my concept.... :)
vivek.khatri
29-Nov-12 15:05pm
View
thank you so much for the fast reply...
if i'm not wrong, this will work only if i am connected to the internet, right ???
if i want to know my local IP address then ??
sorry i'm not much familiar to the networking, so pardon if my question is silly.. :)
Show More