Hi, My program is a Visual Studio add-in. i want to extract the project information of any .**proj file I know that VSProject2 ant Project types exist in the .net framework. But, i only know the way to get the projetc information of the current working solution. I would like to be able to open any .??proj from file path and enumerate is file items. Thanks in advance Sébastien Nadeau
nadzzz
Posts
-
Extract visual studio project information from a .??proj file -
How to prevent power off from the power buttonHi everybody! Sorry for my bad english. I would like to programmatically prevent from powering of the computer with the power off button. but I dont care about holding the power off button 5 second to hard shut the computer. Just the smooth shutdown. in microsoft word, when you edit a document and do not save it. If you press the power down button ( digital type ), a Dialog will pop and ask you to save the document. If you press cancel, the System will not shut down and the application will stay active. I would like to do the same with my application. Thanks in advance for your help! Sébastien Nadeau Security Software Developper
-
Can't bring to top a specific "Microsoft Word" windowMicrosoft as the property that many application is launch by the same process. Only one process "WINWORD.exe" but many instance of word in the Task Manager application list.
-
Can't bring to top a specific "Microsoft Word" windowHi everyoone, I made a function that bring any window of any application to top. But I have a issue with the Microsoft Word application. When I have many Word application running and I want one of them (specific) on the top of the Z-order, it's allways the same instance of word that come on top. I looked their window handle and there all different. Example : (doc1) (doc2) (doc3) If I want doc3, it's doc1 that will prompted on top. A Work around is that if a press the alt key after the issue operation, the right instance of word come on top of the Z-Order. Some of functions that I tryed to do that operation:
::SetActiveWindow( oSelectedApp.GetWindow() ); ::SetForegroundWindow( oSelectedApp.GetWindow() ); ::ShowWindow( oSelectedApp.GetWindow(), SW_SHOW ); ::SetWindowPos( oSelectedApp.GetWindow(), HWND_TOP, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_SHOWWINDOW );
I seen this problem only for Microsoft Word application. Sébastien Nadeau Software Developper -
DisableTaskMgr for USER GROUP not with gpeditI want to disable the task manager for a user group or the entire machine. it don't work if I disable it with HKLM... Cannot do it in the regedit under HKCU because it only disable the task manager for the current user not a user group. Cant someone help me please :)
-
Using Windows users logon usernames and passwords in applicationsThis question is not for creating edit controls. This question is to know about Windows credientials. Windows users. May be the answer reside in Microsoft security tokens. thanks for replying either.
-
Using Windows users logon usernames and passwords in applicationsIn a application, If the user is not an administrator, the user will have to enter a administrator username and password to have acccess to some additionnal informations. (not using the runas and not using the .net framework) How could I do this Thanks in advance for your help.
-
Windows security (how to retreive the name of a security group using vc6)currently i have the SID of all group. I would like to iterate the list of sid and enumerate all group names. how could i do this? you can tell me another way thanks in advance. Sebastien
-
need sub7 open source to learn about windows managmentdo someone you know where to get sub seven open source
-
Xp windows user managment c++Hi all, I seek to find a way to manage account logins and status in windows XP. I mostly need to retreive the Administrator flag of the current user. i also need to change the windows user to another when neaded. the user will need to enter the username and password to change his user status. I found a lod of code samples in c# c++.net and j# but i must code it in c++. if someone can only give me a path to look to, I would very appreciate thanks in advance.
-
Can we set a global hook in a COM object?in the SetWindowsHookEx function, I set the _pModule->get_m_hInst() as the HINSTANCE parameter. The relust of this code is a local hook on the procedure. "Global hook procedures should be placed in a separate DLL". is com is a separate DLL hKeyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc, _pModule->get_m_hInst(), 0); a related article is talking about the subject in a standart DLL (not COM). http://www.codeproject.com/win32/AntonioWinLock.asp
-
Random Numbersuse the modulo (%) //0 to 49 int nNumber = (rand() % 50); //1 to 50 int nNumber between1and50 = 1 + (rand() % 50);
-
Can we set a global hook in a COM object?in the SetWindowsHookEx function, I set the _pModule->get_m_hInst() as the HINSTANCE parameter. The relust of this code is a local hook on the procedure. "Global hook procedures should be placed in a separate DLL". is com is a separate DLL
hKeyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc, _pModule->get_m_hInst(), 0);
a related article is talking about the subject in a standart DLL (not COM). http://www.codeproject.com/win32/AntonioWinLock.asp