I'm trying to get the current logged on web user to use in an Online forms application. I'm running Server 2008 x86 with IIS7.
There is a special field with in the application called User - Domain User that is supposed to return the username. I've enabled window authentication on the default website and on the application itself (Perfect...
Hello everyone,
I've set myself a new task which involves "spying" on COM objects.
Even if you don't do COM, you're probably familiar with API hooking techniques where you can hook onto an imported function and execute your own code before calling the original. API hooking is somewhat complex but it quickly gets messy (too messy for pr...
in gvim on windows if I have text with CRLF eol then the text will display ^M at the end of each line.
How do I 'hide' that special char from display?
the :set nolist command """ does not dismiss it.
I am stumped.
UPDATE
I did :set fileformats=unix,dos as a list but it didn't work at first. I closed the file and reopened it agai...
I have a system-wide keyboard hook DLL that I have created that has been working successfully for years in Windows XP.
However, it appears that in certain later versions of Windows (Vista Home Premium, and Windows 7, to name a couple), the hook either does not work at all, or it simply works only locally within the application that inst...
I am making a C++/Windows/DirectX program that requires the functions
d3d = Direct3DCreate9(D3D_SDK_VERSION);
and
d3d->CreateDevice(...);
when I run the program, these to init functions take particularily long to work (not long, but noticible). Is there any way to shorten the loading time of these?
The basic structure of the prog...
We have a legacy system that is essentially a glorified telnet interface.
We cannot use an alternative telnet client program to connect to the system since there are special features built into the client software they have provided us.
I want to be able to screen scrape from this program, however that's proving very difficult.
I have ...
When creating an application that will be targeted to many versions of Windows what is the best practice to determine where application specific data should be stored. Specifically:
Application Specific Data (e.g. app config data)
User Specific Data/Settings
I know on Windows Vista for instance there are environment variables, like %...
I have the following problem: I want to be able to tell if my application window is the foreground window in Windows. I am using C#, .Net Framework 3.5 on Windows XP.
I actually can think of two ways to do what I am after
Use pinvoke, GetForeGroundWindow and compare the returned hWnd to the hWnd of my form
Check if Form.ActiveForm is ...
I have a web application running under Tomcat.
Logging for various features is implemented using java.util.logging.
When running tomcat via startup.bat the logging files are created and record the logging as expected.
When running as a windows service using the same war file the output from logging is virtually absent. There is some (...
Whenever I try to start MySQl by typing:
E:\mysql-5.1.39-win32\bin>mysql -u root
I'm getting an error:
ERROR 2003(HY000): Can't connect to MySQL server on 'localhost' (10061)
How can I solve above problem? I just downloaded MySQL and unzipped in E drive, I have not done anything. Do I have to make connection first? if yes, how can I ...
I have a Java 1.6 desktop application, started with javaw from a batch file on Windows XP. There is a .lnk link to this batch file, which is placed to windows Startup folder in order to start this application on every system boot.
The application uses SystemTray class to display an icon on the system tray in case it is running. Starting...
How do I see what files/registry keys are being accessed by my application in Windows?
...
There are some nice debugging tools available for windows like
Process Explorer
Process Monitor
Spy++ ( There is some variant of Spy++ like tool also available but I forgot name.. :( )
All above tools are really handy to debug windows application...
Do you any other such tools(Windows or 3rd party) which can be used to make debugging...
I have a Hudson job that launches a .bat script file that itself launches my Jonas application server and a couple of other tasks too.
The script is properly launched from Hudson on my slave, then my application server is started but at the moment my Hudson job ends the application server is killed. This is due to the fact that all the ...
I have a client/server application for which it is beneficial to have the PC clocks on the client and server synchronized. I want my setup program to offer an option to configure the W32Time service automatically.
I have found sufficient documentation to configure the service's registry entries (principally here), and I have confirmed ...
Hi, I'm trying to write a script to log the IP address of the Windows client from which the user initiated Remote Desktop to log in to the Windows Server. How to capture the IP address of the client in the Server?
...
Hello,
On my Linux server I have some files with accented names (test-éàïù.zip).
When I add them to a new ZIP file using 7zip command-line tool, the charset/encoding information is not saved and when opened on a Windows computer, the archive does not correctly display filenames.
I know that 7zip creates Zip V1.0 archives, not 2.0. Maybe...
I have been bitten by the windows/linux line-ending issue with git. It seems, via github, msysgit, and other sources, that the best solution is to have your local repos set to use linux-style line endings, but set core.autocrlf to true. Unfortunately, I didn't do this early enough, so now every time I pull changes the line endings are ...
Hello all,
I recently setup a server using the latest version of XAMPP for Windows. With it came PHP 5.3. I'm now looking for a memcache.dll file that works with PHP 5.3 I've used some of the previous .dll files and recieved an error message:
"PHP Startup: memcache: Unable t initialize module.
Module compiled with module API=20060613...
I need to create a .VBS script to reset the Windows local administrator password on a large group of computers. My problem is that some of our sites have renamed the administrator account for security reasons. Does anyone have a script which changes the password of the administrator account based on the SID of the original Administrato...