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...
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 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...
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...
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 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...
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...
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...
How can i get the ProcessID of a running windows service? In my particular case, its one single executable. C++
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...
Anyone know how to open an LIC file?
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 ...
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
...
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...
This is the file that the problem occurs in.. prefastnew.dsm:
Sub PrefastNew()
'DESCRIPTION: Reads the compilation options from the active project and compiles the active file with Prefas...
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.
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...
Hi guys,
I'm programming a client-server-system in C++. My server program has 2 thread for communicating with the client: a reader and writer. The reader waits (recv) until data arrives. Is...
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 believe there is some way to find out the serial number of your computer programatically. Is there some api call available for this ?
Hi im not sure if this is the right forum to post this question in but here goes.
I would like to add a registry key in the registry on Windows 2000 Computers and if possible i would like t...
I have an application, which upon startup, registers a required DLL for integration with another product.
The main problem is that a standard windows user does NOT have the correct permissi...