windows-xp

How to hide a taskbar entry but keep the window form?

為{幸葍}努か 提交于 2019-12-12 11:23:36
问题 I'd like to hide the taskbar entry to maximize effective space since the app has a systray icon, i dont need the taskbar entry. The app doesnt allow you to only have a systray instead of both. How can I hide a taskbar entry but keep the window form? 回答1: In what language is your application written? The API call you want is called SetWindowLong. Example Delphi code would be: procedure TForm1.FormCreate(Sender: TObject); begin ShowWindow(Application.Handle, SW_HIDE); SetWindowLong(Application

Killing processes with PSUTIL

左心房为你撑大大i 提交于 2019-12-12 11:12:19
问题 I'm looking to write some code that will kill off a process based on it's name and who owns it. This works fine on Windows XP but when I come to run the same code on Windows 7 I get Access Denied errors when trying to get the username of the process. Is there an easier way to kill a process that will work on XP and Win7? The check to see if the process is owned by the 'SYSTEM' is actually needed so I can check when the process has user processes are finished, as the SYSTEM process remains,

Unkillable console windows

这一生的挚爱 提交于 2019-12-12 09:52:38
问题 I'm developing an OpenGL based 2d simulation with GLUT under Visual C++ 2008, sometimes when I have an assert() or unhandled exception and break into the debugger, the GLUT display window closes, but the console window remains open.They just cant be killed!!! They do not show up with Task manager, Process Explorer or any other tool, I cannot find the window handle using the Spy++ tool either. Worst thing is they prevent my system (Windows XP) from shutting down, I have to manually poweroff

Binary files and cross platform compatibility

喜夏-厌秋 提交于 2019-12-12 08:06:03
问题 I have written a C++ library that saves my data (a collection of custom structs etc) into a binary file. I currently use (i.e. create and consume ) the files locally, on my Windows (XP) machine. For simplicity, lets think of the library in two parts: a writer (Creates the files) and a reader or consumer (simply reads data from the files). Recently though, I would like to also consume (i.e. read) the data files I have created on my XP machine, on my Linux machine. I must point out at this

Save information from MS crash reporter?

倾然丶 夕夏残阳落幕 提交于 2019-12-12 05:00:38
问题 On Windows XP when a process crashes, we get a dialog box with a link: "To view technical information about the error report, click here." The "click here" link brings up a whole lot of information in a window, but no obvious way to save it to a file. Is there a way? It would be very nice to be able to send that data to several different external vendors we're working with. The only other option I see in the dialog box is to send it to Microsoft, but this crash is likely not Microsoft's fault

How to retrieve data from PC's Hyperterminal

梦想的初衷 提交于 2019-12-12 04:29:06
问题 We will be building a facility by which we can send some information to the PC from external Hardware device ie. Microcontroller .The information will be displayed on the "Hyper Terminal" of the PC .We can interface a microcontroller to the PC and the output could be possibly displayed on the PC's Hyperterminal .Our requirement is , we need to extract the data from "Hyperterminal" show this on a website. So, is there any way by which we can we can get the data from the Hyperterminal and put

read 22 byte from FTDI serial port in c# is too slow

99封情书 提交于 2019-12-12 04:06:57
问题 I have a FTDI serial port and I have to write something in serial port to start reading 22 byte I have a very strange problem. I read this data too slow I don't know what is my problem this is my code:` public partial class Form1 : Form { public Form1() { InitializeComponent(); } int count; private void button1_Click(object sender, EventArgs e) { // serialPort1.Open(); // serialPort1.Write(Convert.ToString(0x02)); //here we converted the same method to convert hex to string to be send using

Why do i get this error: “The website declined to show this webpage”

橙三吉。 提交于 2019-12-12 03:32:02
问题 I have published my asp.net mvc application as a deployment package and once setup on windows 7 it runs fine. However when trying to do the same on windows xp, I get the error below: I am running asp.net v4.0.3 and i have executed "aspnet_regiis.exe -i". I have also enabled "Anonymous access" as can be seen in the screen shot below. So I have no idea why it doesn't have permission to view the webpage as no login is required. Here is my published directory structure. Any help will be

About the return values of the telnet server on windows xp

假如想象 提交于 2019-12-12 03:07:51
问题 I am writing a telnet proxy on xp. Now I can telnet to system's telnet server and print its return values sending back to my procedure. I find a very puzzling phenomenon. When I first telnet to the server,it will ask me to log in. I type in "tamlok" , and I can see that it sending back to me that "116,97,109,108,111,107,10,13" which is the ascii value of "tamlok"(10 and 13 means '\n' and '\r') . However after I log in,I type in "tamlok" again. It sends back to me that "27,91,56,59,51,52,72