Environment W2K / W2K3
i have the following script where i can query settings from the PC and echo them to a screen but how can i sent the results to a txt file instead?
On Error Resum...
I need to send a ctrl-break "signal" to an arbitrary process, without necessarily having access to anything other than the process itself.
I can look up the process, but can't figure out ho...
Here is the code:
hInternet=InternetOpen("MyProgram",INTERNET_OPEN_TYPE_PRECONFIG,NULL,NULL,INTERNET_FLAG_ASYNC);
if (hInternet==NULL) MessageBox (hwnd,"InternetOpen", "Error",MB_...
Does anybody know of a way to programmatically add an app to the Data Execution Prevention exclusion list under XP SP2, Vista and so on?
My VB app uses WingDing 3 (Wingdng3.tif)
Some target machines do not have this file, so I included in my InstallShield script. After installation, the file indeed becomes present on the ta...
Q: How to save an HICON to a .ico file
VC6, Needs to work on Win 95 and up. Can be MFC or Win API.
Ideally work for whatever the hicon contains, but failing that a version which works w...
I am a server. I need to accept many connections. I want to accept a connection, start servicing it and loop back up and repeat.
I have used the following logic but it does not seem to work...
Can you have a batch file run an application and then run again in 30 minutes to see if the applicaiton is running? If it is not running, execute a .vbs script to launch application? This ba...
I have an application released that records WAV audio at CD standard - 44.1 KHz, 16 bit, 2 channel. I am doing it using the mciSendString API from within VB6. It works perfectly 99% of the tim...
I am having some difficultly implementing resource files. I would like to see and example c++ program, which has a txt file stored in the resource file, and during the program execution the f...
Hi,
I need to programatically disable a network card using a VB.NET 2005 service when certain conditions are met. This is to provide a level of security beyond standard means on our systems.
...
As it is..
What are differences of "CopyMemory", "memcpy", "RtlCopyMemory" ?
Which is fastest ?
Which is most stable ?
and so on..
Please , in detail .
Thank you
All executables open up in NOtepad. why?
.exe open up in notepad
Hey there,
I like many others am trying to make some sort of clipboard utility. Now i have succeeded in copying the content to my own buffer and placing it back . Even saving and loading wo...
Hello,
I'm writing a Win32 Application that suppose to communicate
with an external device via Serial port (COM port).
I want to use the Serial port RTS Pin for flow control
(RTS=ON - PC Tra...
I want to catch when the screensaver is about to fire, so that I can prevent it from running, but instead just do my own thing. I do not want to disable the screensaver and start building my o...
I have been able to capture screen data from a single monitor using
a combination of GetDesktopWindow, GetWindowDC, and BitBlt.
This is great for a single monitor case, but I don't know what...
I am experiencing a problem with ActiveX. CoInitialize() is called once at the beginning of the application, and CoUninitialize() is called once at the end. In between, CoCreateInstance() can...
What are the diferences between the WC_TABCONTROL common control window class and the SysTabControl32 window class?
How do I use each or how do I acces SysTabControl32?
Hello
I am aware that some tracing tools are available to use such as for driver testing, Now I was wondering how I can do this I have a Copy of the new DDK and Softice. I haven't got a ch...
I'm doing some changes to a video player application which disables the windows screen saver while playing video. I have some code which prevents the screensaver from activating. But when the ...
Hi all,
I'm very confused right now. I made an application (actually, it's a plugin for an application) that grabs the contact list of MSN Messenger and imports it into an address book. Thi...
Hi,
I am trying to implement a layer of protocol on top of UDP to provide reliable transport. When I run my program under windows environment, I am getting weird problems with packet l...
Hi,
I am accessing the windows registry using the RegQueryValueEx(...), RegCreateKeyEx(...) etc.. API calls. My question is - If I have a HKEY object is there any way to tell what the text...
I'm developing a 16-bit Windows app. I did a prototype in Visual Basic and used the SendKeys() function to send keystrokes to other applications. Now I'm writing the real product using Visua...