|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
I need to impersonate the user to logged in to the system .The process of impersonation should be like this
1) The user will input the username to be impersonate and passwd
2) There will be a dummy user in the system .
3) I need to read all the privilages for the inputted user
4) Then the dummy user will be logged in to the system with all the
privilages of the inputted user
The purpose of this is whether i inputted administrator or guest user ,the logged user will be dummy with the admin/guest privilges
Can any body tell me how can i achieve this
The whole thing should be worked in winNT series and winXP series (including vista )
Its a servie application
vineesh
|
|
|
|
|
And for what reason, might I ask, would you want to impersonate a user?
Forgive me if your intentions are good, but this sounds like a question better asked at http://www.offensivecomputing.net/[^]
|
|
|
|
|
http://www.codeproject.com/KB/grid/PrintDataGridView.aspx[^]
this is link where a code is present in VB and c#, can anybody provide me this type of code in VC++2005.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
modified on Saturday, July 5, 2008 6:52 AM
|
|
|
|
|
|
I m not talking about Grid ctrl i just want to know about the printing method which is used in this example.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
|
Hi all,
I have made a Dialog based application, what i want is my dialog box size should not increase or decrease. For this i have removed minimize box and maximize box, but still it can be resized using arrow... how can i fix its size???
thanks in advance...
|
|
|
|
|
In properties, there's a member 'border' - it can take various values resizing, dialog frame, none, thin. check it.
the fruits of your success will be in direct ratio to the honesty and sincerity of your own efforts in keeping your own records, doing your own thinking and, reaching your own conclusions.
..surviving in autumn..in love with spring..
|
|
|
|
|
Hi,
I Want To Reading History of internet explorer in ppc By any language
like(C++,C# or Vb.net)
Thanks
|
|
|
|
|
IE history = HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs
|
|
|
|
|
Hi all,
I would like to write program, hardware info - like cpu-Z(it's realy great tool!).
I tried WMI, but I wasn't able to get memory type (DDR,DDR2), frequency and other things.
What should I focus in?
Could you help me?
Thanks.
|
|
|
|
|
WMI is useful, but accesses a HUGE number of classes, often with names that don't seem to accurately describe the information that is available. If you have, WMI CIM Studio[^], that utility is the best place to start looking for the information. This is available as the WMI Adminstrative Tools download for Windows XP[^]
For instance, when you start WMI CIM Studio, you want to view instances of the Win32_PhysicalMemory class[^] on your computer. Read down the page of the documentation until you locate the property, MemoryType.
This information is often reported by the device driver (in this case), and may not be available, depending on how the driver is implemented.
Once you know the information is available it is a simple matter to code the WMI query, but locating it initially, especially if you don't even know where to look can be very time comsuming.
Read through the documentation that comes with your Visual Studio version for the Win32_classes, this can be helpful.
This MSDN Code Example demonstrates How To Get WMI Information From Your Local Computer[^]
modified on Saturday, July 5, 2008 3:08 PM
|
|
|
|
|
Thank you for reply,
I know Win32_PhysicalMemory class, there is the MemoryType property. But on the Windows XP prof. with sp2 I wasn't able to get proper MemoryType-DDR2, it returns unknown memory type. I tried it on 100 machines. I also had a problem with memory speed(it depends on hardware I think).
Cpu-Z returns corect result(memory type and speed).
Does it exist another solution?
Thanks.
|
|
|
|
|
Ah,...I was wondering how many queries you'd already tried. That's the problem with WMI, it often doesn't produce the results you need. But, it's the logical place to start.
I went over to the CPUID Developer System Information SDK site[^], and I got the impression that they did alot of research into the various hardware capabilities. The promotional material at the site states: "At the core of the CPUID kits is a powerful hardware detection engine based on a kernel-mode software driver".
Also, "CPU-Z benefits from a great support of the hardware industry, resulting in the best source of information and a quick reactivity in the support of latest technologies.'
...This is WAY BEYOND WMI,...
modified on Sunday, July 6, 2008 5:03 PM
|
|
|
|
|
Thank you again,
that is realy pity, because I thought that it exists simpler solution.
Kind regards.
|
|
|
|
|
I agree. I had the same problem with my laptop sound card. Neither WMI nor the registry contained any useful information at all, except the trade name and manufacturer of the device.
I happened to run into this article: What Every Programmer Should Know About Memory[^], it might give you some ideas (although it just concerns memory hardware).
|
|
|
|
|
Hello,
I have a Dialog application derived from CDialog. I've added a Webbrowser control[^] to the dialog.
I want to handle scripting errors that appear when certain URLs are opened.
I read this article about the subject "How to handle script errors as a WebBrowser control host[^]"
I don't know how to implement Iolecommandtarget interface and how to add "Exec" function. I read this article[^]
Should I do the steps mentioned in the article with the CDialog-derived class? What should I do after that to include Exec method?
I am missing the connection between the second article and the first one.
Regards,
Sam
|
|
|
|
|
Hi, I want to build simple GUI Applications/Utilities with C++ on Windows. Please let me know which free softwares can I use. I don't want C++.NET ( I know C#) just plain C++. C# is good but requires .NET runtime, which increases runtime memory usage, and I guess so would be the case with C++.NET. So I want to build in C++; fast and less memory usage.
Thanks
Sukhjnder...
Looking for help on my OpenSource Media Player LetsYo
|
|
|
|
|
Sukhjinder_K wrote: Hi, I want to build simple GUI Applications/Utilities with C++ on Windows. Please let me know which free softwares can I use.
Just get the Visual C++ 2008 express edition . Its free(limited features) and one of the best tool for windows platform development. Get it from here - http://www.microsoft.com/express/download/[^]
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
I need a small, free development software to build Windows GUI. I dont want to download trial versions of huge softwares requiring huge amounts of disk space just to build small Apps with buttons.
I have been suggested Digital Mars C++[^]
Please suggest more options.
Thanks...
Looking for help on my OpenSource Media Player LetsYo
|
|
|
|
|
Sukhjinder_K wrote: I dont want to download trial versions of huge softwares
Actually Visual C++ Express Edition is not a trial version. BTW why didn't you google [^] before asking a Visual Studio centric forum?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Please excuse my lack of knowledge (and stupidity). MS Visual Studio is one huge bundle. I need something under 50 MB. I checked Turbo C++ explorer which also is above 300 MB. There must be tools available which are
Free
have IDE
Small Package
Allow building Windows GUI Apps
Thanks....
Looking for help on my OpenSource Media Player LetsYo
|
|
|
|
|
Have you looked into Eclipse and its C++ plugin?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|