windows

how to find out a specific process is still running in PHP

I'm writing a script that builds a queue of other scripts and is supposed to manage their launch. the manager script should know which child process has finished, so it can launch other scripts waiting in the queue. I added a "& echo $!" to get the Process Id of each child process. so I have my child processes Process Ids, and for now a...

Can you disable UNC paths in Windows?

We are trying to lock down a Terminal Server, and want to remove a commercial package's ability to accept UNC file paths, ie. paths in the app can then only be entered using the windows drive letters. Is there any way to do this in Windows? Can we disallow UNC paths for just the app? Can we disallow UNC paths for the entire Terminal S...

ImageList_Add returns -1 on PC controlled with pcAnywhere

One of our applications fails on computers that are controlled via pcAnywhere because the ImageList_Add() WinAPI function fails to add the image/mask after some time. The function returns -1 and the number of icons in the imagelist doesn't change. On all other computers this is no problem. What is interesting is that we can add 99 bitmap...

How to Display Parent-Child Relationship in a single datagrid Windows Forms .Net

I need to know is there a way to dispaly parent-child relation in a single datagrid in Windows Forms .Net C# ...

How to identify an Explorer Bar(Internet Explorer) is hidden or not?

I can make an Explorer bar show/hide using IWebBrowser2::ShowBrowserBar Method. I want to use a single button to toggle between Show/Hide. There is a parameter for ShowBrowserBar to set for Show/Hide. How will I get the status of the explore bar now? ...

Meaning of memory related terms?

While playing with memory profiling in delphi, although it applies to any language I've found some terms about used memory which I don't completely understand. Could someone explain (or refer to a good document or manual) the meaning of the following terms? Working set size Pagefile used Committed memory Uncommited memory Private Usage...

How to build a DLL from the command line in Windows using MSVC

Hi. I've been doing C for about 20 years but I've never built a DLL; I've always prefered to statically link. I use the command line - cl.exe, etc - and gnumake makefiles, to build my Windows applications. I now want to build a DLL and I'm confused. Ultimately, I will end up with both a .lib and a .dll. The .lib contains stub code w...

FTP using Batch file

i want to automate the task of uploading of a file at FTP site "uploads.google.com" how can i achive this ...

Windows Driver Loader?

Debug Messages from the Windows Kernel Drivers? I am using DbgPrint and DebugView currently, but it this the official way to observe the drivers behaviour? Does anybody know if and where kernel log files are hidden in the Windows System (like /var/log and dmesg only windows-ish?) I for my part are currently using Vista, but there prob...

How to access the full stack trace of mallocs in an MFC 8.0 application?

Hello, I'm trying to find a memory leak in a windows MFC 8.0 application (Release build). After failing to show the full stack trace of allocations using WinDbg (or umdh) due to VC8 CRT's malloc problem with FPO, I've tried to apply the solution proposed here (i.e. using LeakDiag with DbgHlp StackWalk enabled) only to realize that Leak...

programatically accessing the file allcoation table in windows

hi i want to know how can i programatically access the file allocation entries (FAT) in my windows operating system. I have read the articles which mention to read entries at a particular address in the harddisk, but how can i read those entries from the harddisk. I can try in C,C++,C# or VB. The tutorials on www.ntfs.com were helpful i...

What software exists for bridging a 64-bit ODBC app to a 32-bit ODBC driver on windows?

The problem I am looking to solve is communicating from a 64-bit app through ODBC with a datasource for which there only exists a 32-bit ODBC-driver. One solution that would suffice for the moment is using an ODBC-to-ODBC bridge. I found an ODBC-to-ODBC bridging-software created by Easysoft. Are there any alternatives? ...

Synching with the Windows Address Book

I'm trying to synchronize a mobile device's internal address book with the Windows Mail Address Book (WAB). What is the recommended way to do this from C#? It seems as if this is somewhat not supported, and with Vista, it will all change (Windows Contacts), but I still need to support XP, so that actually just makes things more complicat...

Why can't I install WebORB?

Hello, I downloaded WeborbSetup3.6.0.3.zip from www.themidnightcoders.com and when I try to install it all I get is The installer was interupted before WebORB for .NET 3.6.0.3 could be installed. You need to restart the installer to try again. Click "Close" to exit. And this is on Windows 7 RC1, but a friend of mine als...

windows forms

hi all, i have an application in which im using tabs.in the first tab im once again using forms. while navigating thru different forms the what shud be the default locations of the forms. i have given windows location = center for all of the forms,but one of the forms showing (appearing) at different location. i have set all the forms s...

Win7 registry problem

I have an application that access registry for finding the path where is installed Expression Web in order to open some .html files with Expression Web. In Windows XP works ok. In Win7 not. What should I do in this case? I'm using C# for accessing registry keys. ...

Temporarily suspend the PC operating system.

How does one programmatically cause the OS to switch off, go away and stop doing anything at all so that a program may have complete control of a PC system? I'm interested in doing this from both an MS Windows and Linux environments. Any languages or APIs considered. I want the OS to stop preempting my program, stop its virtual memory...

Open .NET Plugin in Tab

I am creating a Visual Studio .NET plugin using DXCore for my group to use and have been trying to figure out how to open the plugin in a tab like source control does instead of it opening in a new window. Any Ideas how this can be done??? ...

Prevent Process 'A' from spawning Process 'B' which then shows up on top of what should be the "TopMost" Process 'C'

I have a windows form application which needs to be the TopMost. I've set my form to be the TopMost and my application works as I'd like it to except for in one case. There is a 3rd party application (referred to as player.exe) that displays SWF movie files on a portion of the screen that popup on top of my application. Using Process ...

How to build iphone apps using .Net on windows?

Are there any tools (emulators, IDE) which can help you develop iphone apps using .Net on windows and then publish to iTunes? ...