Has anyone tried installing powershell on a Windows 2000 server? I realize its not supposed to be installed on windows 2000 server and therefore not supported; however the vbscript that runs on it takes 3.5 days to complete which powershell could probably finish in lesser time. Nevertheless, I noticed it just requires .NET 2.0 to run. ...
The option exists in the UI, but not in the help displayed in the command line.
...
First of all I was wondering if I should use Qt and Windows together. If so should I use VC++ 6.0 IDE or another one?
...
Is there a way through code, or through the creation of a setup project (via VS), to create a desktop shortcut with a keyboard shortcut pre-defined?
...
I have some multi threaded code that makes one thread per core except I'm having troubles working out how to get the core count under windows.
For linux i have:
//from http://www.cplusplus.com/forum/unices/6544/
FILE * fp;
char res[128] = {0};
fp = popen("/bin/cat /proc/cpuinfo |grep -c '^processor'","r");
fread(res, 1, sizeof(res)-1, ...
This is not a newbie question:
My desktop computer that is running Windows Vista tends to freeze on occasions. Freezes last around 5-20 seconds after then, the systems goes back to normal like nothing happened. This happens fairly often (I can safely expect this to happen within 30 minutes). During the freeze, I can move the mouse curso...
I created a small VS solution that includes WF with WCF ReceiveActivity project (using basicHttpBinding) and a number of plain C# services. They all work perfectly when tested from VS 2008 using WCFTestClient.
I deployed them into a single Windows Service. All but WF service work fine. I spent 6 hours browsing, but didn’t find a solu...
I'm having some trouble installing and configuring qt on my vista laptop.
I'm trying to setup a development environment on my laptop where I compile from the command line, because that's how the environment is setup on my university's linux machines, so I don't want to tie myself to some IDE .. (plus, real programmers use the command li...
Liu Chang asked a very similar question to this one here, http://stackoverflow.com/questions/264395/linux-equivalent-of-the-mac-os-x-open-command.
Is there a windows equivalent for the Mac OS X "open" command. I'm trying to run a profiler that will open it's results, but it's looking for the "open" command. Basically, the command need...
Windows HeapFree, msvcrt free: do they cause the memory being freed to be paged-in? I am trying to estimate if not freeing memory at exit would speed up application shutdown significantly.
NOTE: This is a very specific technical question. It's not about whether applications should or should not call free at exit.
...
Hi,
i'm quite new with windows forms and i have a small issue.
i have a form that contains a userControl.
the form also contains a button with enabled = false, and upon some user selection in the userControl sets the button to enabled = true.
basically, i want to know what's the best way to change something in the form upon a change in ...
Hi,
Can anyone tell me how to quickly copy Files from a mapped network drive?
The windows Copy Paste works very slow and hampers the performance of the system.
I have used XCOPY source destination /i /s /z /q
This was quick enough and copied a few files and later threw an error "The specified network name not available"
I remember ...
Hi,
I was using the following script to delete the browsing history in IE 7.0
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
But now I need a script to clear browsing history in IE 6.0
I get an error that "missing entry ClearMyTracksByProcess" I have passed different parameters like 2 ,5 etc and wasn't successful.
...
I have a Qt/C++ project and an old VB6 project.
The user base might not have permissions to HKEY_LOCAL_MACHINE due to lack of administrator rights but I need to update a registry entry.
How can I get a list of the groups to which a user belongs?
...
I'm looking into running a j2se(1.5) application on the WEPOS(Windows Embedded for Point of Service) platform. I noticed that Sun offeres a java runtime for Windows XP embedded (Java SE for Embedded 5.0). I'm wondering if
Can I use the standard Sun Hotspot on the WEPOS platforms?
Will Java SE for Embedded 5.0 also run on WEPOS? (If ...
Anybody tried here using Getting Real(37Signals) approach to develop windows application? (C#/.NET). Or simply put, developing project using agile.
We develop windows application which sucks development time. We never get concrete UI definition from Client. We never had any decent design due to this problem or something else.
How do yo...
I'm using DCOM to provide various application services on a Windows network, using Kerberos to handle authentication. The system normally works fine, but I'm running into issues accessing the service from a separate (trusted) domain. Particularly, the service is unable to make callbacks to the client application, receiving the error "A s...
If you do not know what Pipe Viewer is (I did not know about it until 5 minutes ago), then this blog does a good job giving a brief introduction to it with some examples. I write a lot of Perl Scripts as an ETL developer and a lot of times, the files that I work with take really long time to operate with (unzipping, moving, etc). Therefo...
I tend to use POSIX Threads, when programming in C, under Linux.
Without MFC
Question:
How would I then create threads in VC++?
Find more information on threads under win32?
Edit:
Brief illustrations
I LOVE stackoverflow - best resource for students!
Regards
...
I'm trying to write what I hope is a simple application tracker. That is, whenever a new application starts, or a running application becomes current, I want to note the event and start timing it's time "on top".
I have code that lists all the current applications that are running, and some code that tells me the top window (always my ...