I have a batch file which is in a directory and must be run from there as well because it updates files within this directory.
This works perfectly fine, except when the user runs the batch file as administrator (required on Vista). Then the starting directory is C:\Windows\System32.
Is there any way to still be able to know from which d...
Hi,
I wanna add new tab page for every newly opened forms.
For example ;
frmReport reportform = new frmReport();
report.Show();
/// when i open frmReport form it must be opened in a New TabPage.
like as Windows Internet Explorer 7-8 tabpages. Sorry for my english.
...
Is there a tool available to execute several process in parallel in a Windows batch file? I have found some interesting tools for Linux (parallel and PPSS), however, I would need a tool for Windows platforms.
Bonus: It would be great if the tool also allowed to distribute processes in an easy way among several machines, running the pro...
I recently reinstalled XP and then SP3 and I'm currently getting an error whenever I try and copy something from a network share.
Title: Internet Explorer
Message: This page has an unspecified potential security flaw.
Would you like to continue?
I believe it's related to KB921398 (MS06-045) and I'm currently uninstalling SP3,...
I am using the following command in a shortcut to open my virtual drive in Windows Explorer.
%SystemRoot%\Explorer.exe /e,::{MyExtension CLSID}
The virtual drive uses IShellFolder interface and is a ShellExtension. It has a couple of predefined folders in it.
The problem is that I can open the virtual drive in Windows explorer directly ...
Trying to use WMI to obtain a list of installed programs for Windows XP. Using wmic, I tried:
C:\Documents and Settings\romandas>wmic
wmic:root\cli>/output:c:\ProgramList.txt product get name,version
and I get a listing of many of the installed programs, but after scrubbing this list against what "Add/Remove Programs" displays, I se...
Hi,
i have a check box in a datagridview windows form and have a event handler cell_Click
on cell click i check the datagridview column for a check box it shows true if the cell is selected too(that is the check box is unchecked and only the the datagrid view cell is selected) and the check box is not selected .i tried for the column get...
Can this be done with standard means?
...
Is it possible to use IO Completion Ports for Serial I/O? According to Windows via C/C++ it is alluded to that it is possible, and does give an example of using IOCP with physical files showing work with CreateFile, ReadFile, WriteFile, etc. However can this actually work with serial comms - has anyone got it working?
I can't find any e...
I have a small Django website which I am trying to run on an Apache 2.2 HTTP-Server.
The application is running fine using "python manage.py runserver".
Django Version: 1.0.2 final
Python: 2.5
OS: Windows 2000
I wen't through the steps described in the documentation and after some fiddling, came out with the following in my httpd.con...
My program starts a process and I need to make sure it is killed before I can run the program again. To do this, I'd like to store the start time of the Process in something like a mutex that I could later retrieve and check to see if any process has a matching name and start time.
How could I do this? I don't really want to stick anyth...
If I uncheck the "Enable anonymous access" checkbox in IIS, so as to password protect a site, i.e. by restricting read access to designated Windows accounts, does the resulting password dialogue which is then presented to all anonymous http requests, represent a security risk in that it (seemingly) offers all and sundry an unlimited numb...
Hi,
Is it possible to specify the JVM to use when you call "java jar jar_name.jar" . I have two JVM installed on my machine. I can not change JAVA_HOME as it may break code that is all ready running.
Kind Regards
Stephen
...
The following is the contents of the Windows System Clipboard
:function CurrentLineLength
: len = strlen(getline("."))
: return len
:endfunction
I hit the colon and then control r
I then hit shift 8 to paste the contents of the system clipboard.
I hit return and vim comes back with
E488: Trailing Characters
I see some ^M charac...
I am deploying my app onto a Windows box, that will live in a remote location with no one, who is computer literate, around. The box will be accessible via the internet via the LogMeIn application. So it is fair to say, that no one will physically touch the server for long periods of time.
And the app must be up and running 24/7 and c...
Do you know any open source tools for testing windows application??
...
I've been using QT for a while now and I've been wondering about something regarding the way the GUI is painted in Windows.
Is it really painting all the buttons, edit boxes, combo-boxes, check-boxes, tabs etc' on its own using QPainter or is it somehow using the native widgets?
The fact that it can do custom styling and skinning sugg...
Hi guys, anyone know whether Windows Media Service supports streaming flv on Windows Server 2003? I tried but failed to find any claim documents.
http://www.microsoft.com/windows/windowsmedia/forpros/server/server.aspx
thanks in advance,
George
...
I wonder whether the Windows XP bootloader (ntldr) actually makes use of the Windows kernel (ntoskrnl.exe) import declarations?
ntoskrnl.exe has following imported modules: BOOTVID.dll, HAL.dll and KDCOM.dll. So these three modules are the first ones to be loaded. Imagine that the kernel has another module declared as imported. Will th...
Below is my message filter:
bool MyFilter::PreFilterMessage(Message %m){
switch(m.Msg){
case WM_CLOSE:
case WM_DESTROY:
case WM_NCDESTROY:
case WM_QUIT:
Debug::WriteLine(L"Gone!");
break;
case WM_MOUSEMOVE:
Debug::WriteLine(L"A mouse! Catch! Catch!!! CATCH!!");
break;
}
return false;
}...