I have a service (written in Visual Basic), running under Windows NT/2K/XP/2003. I need to get the name of the currently logged in user, but most Windows APIs I have found return the username...
I'm upgrading from Visual Studio 6 to Visual Studio 2005, but I find that the profiler is not included in the Professional edition any more - instead you have to go to the insanely expensive T...
I have an application that passes command line parameters to an exe or a batch file. I want to create a batch file that takes this command line input and does an operation (copy and paste a fi...
Hello,
I need 2 batch files written that will allow the following:
1. Clear Proxy settings in Internet Explorer -->Tools --> Internet Options -->Connections --> Lan Settings
2. Import Pro...
I just logged into my domain controller and got an error message stating that there appears to be an IP address conflict. I have not added any new hardware to the network in the past several w...
How can i get the ProcessID of a running windows service? In my particular case, its one single executable. C++
Two part question:
(1) [175 pts]
In order to automate some tasks I have that require opening several Windows programs, I dumped them into a DOS batch file to open the programs.
This wor...
hi,
when i set a User envir variable in vbscript which can be used in the same CMD
all is ok if i run another script (or in another cmd)
but how can use this env variable in my login...
I need to create a batch file that will ping (in windows xp) a list or predifined set of IP addresses and then export the results to a text file, or a log file of any sort. I am not a progra...
I have written a service which I want to debug. I am using WinDbg to attach to the service process. When I do this, I always get the error, "*** ERROR: Symbol file could not be found. Defau...
I know this question has already been asked and never answered, but I'm trying again in case someone who is new in EE knows the answer, do anyone knows how to extract images from thumbs.db fil...
Hi,
I am facing a problem simulating a keypress by a sendmessage
I wish to simulate pressing ALT+C to a particcular window
Actually the window has a hyperlink which has a shortcut as ...
hi i download a sed version for dos because i am trying to remove line breaks in a text file and couldn't get it to work using only standard dos commands.
my file looks like this:
[line br...
Hi,
I'm trying to get a script that will "stop" one or two particular services at a scheduled time, and then start them up again at a later time. This is so that I can use a third party bac...
Can someone tell me which files are used to hold registry information for XP/2000/ and 2003?
I believe its in the system32/config directory but I need any and all files names.
Is there an easy way to get the process ID from a process handle (and the thread ID from a thread handle)?
(In the moment I use the toolhelp functions (win95) respectively enumProcesses (winNT...
I'm using windows XP what does this mean and how do I fix it?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Downloads\Win32-GuiTest-1.50.1-ad>nmake
...
I want to set up a DLL project in Visual C++ and need to support CString. How do I do that?
The following code results in the expected error, that CString is unknown:
-----------
#inc...
Note: I'm posting this question in this category in hopes that I will get an answer. It is also posted in VB.net... but the question doesn't quite fit a category in my mind. I will close which...
I would like to run dos commands in the background without the dos window opening up. How can I run a series of commands in a bat file, without any ms-dos screen popping open (even if it opens...
Anyone know how to open an LIC file?
DLLs Cicero UI Wndframe and WMS idle persist at shutdown and likely are hung during PC operation.
How do I correct that issue?
Server 2003 r2 SP2
ASRock MOBO: P4Dual-915GL
BIOS: AMI P1.2...
I am using the below code to connect to a server listening port 80,how can i put a connection timeout for this?
i think the default timeout of winsock is 30 seconds is it?how can i reduse it?...
I'd like to perform a cacls command for each file in a directory recursively.
- cacls *.* /T /E /G Everyone:R
fails with the following message: "Tha data is invalid"
- for %%f in ...
Greetings,
Thank you for assisting me with this show stopper. Apparently I'm attempting to run an app with a 32-bit dll on a 64-bit .net 2.0 system (hosted server, I can't fall back to Win2...