I am quite new to C#, so forgive my ignorance... I have (currently) 2 forms, one that needs to call the other. In other words, by clicking a certain button in Form1, Form2 needs to "pop up", like a dialog box. I know I have to get a reference in both forms, but I'm not entirely sure how to do this. What is a decent tutorial/beginner site...
I have a program that occasionally pops up on the screen and displays a message, using vb.net. Is there a way to have it run and display even if the computer is locked or no one is logged on? Thanks.
...
I developed a C# program that pulls data from a SQL Server database and then generates Word documents which include the data. I've set the program up to run as part of an SSIS job on a Windows Server 2003 box. The program runs as user SQLSVC which doesn't have administrative privileges. When I log in as SQLSVC and run the program it e...
Is there any way to run a python script in Windows XP without a command shell momentarily appearing? I often need to automate word perfect (for work) with python, and even if my script has no output, if I execute it from without WP an empty shell still pops up for a second before disappearing. Is ther any way to prevent this? Some kind o...
What are your recommendations for setting up a development environment in Windows, especially when not using an IDE. I am attempting to familiarize myself with Windows, and I feel a bit lost. What do developers commonly work on, especially when developing in multiple languages (e.g. Java, Python, C) in the same time.
So far, I have be...
Some updates put that little shield indicating that the computer needs to be rebooted. Is that shield a registry key? I thought it was the key:
HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
Source: http://technet.microsoft.com/en-us/sysinternals/bb897556.aspx
But my computer is showing the icon rig...
Hello,
I am creating a Winforms application without any Toolbars. The main window has FormBorderStyle set to Sizable and ControlBox is set to true. Every time I hit Alt and then use up or down arrow (not Alt+Up or Alt+Down) the control box shows up on the top left hand side of my application. This is annoying because there are shortc...
This question asks how to setup your path variable in Windows to include the Java bin directory allowing you to use the javac command from the prompt. The solution posted to this question states you should hard code the absolute path of the latest Java installation.
In this case it happens to be c:\program files\java\jdk1.6.0_16\bin
I...
What is it exactly that "triggers" Windows to mark a process as Not responding in the Task Manager and Resource Monitor?
...
To temporarily redirect stdout to a file, I'm doing:
printf("Before");
freopen_s(&stream, "test.txt", "w", stdout);
printf("During");
freopen_s(&stream, "CONOUT$", "w", stdout);
printf("After");
That works, however doing:
CONSOLE_SCREEN_BUFFER_INFO sbi = {0};
GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &sbi);
No lon...
I'm working on a program that includes speech synthesis. A few weeks ago, I wrote the introductory
using (SpeechSynthesizer s = new SpeechSynthesizer())
{
s.SetOutputToWaveFile("file.wav");
s.Speak(textBox1.Text);
}
program. It worked just fine. I crossed off "research speech synthesis" from my task lis...
I love that Qt is cross-platform but I want to make an application that will call into some Windows specific .dll's. Kinda like Google Chrome does with the glass on Windows Vista/7 (I know Chrome isn't written using the Qt framework just thought it was a good example).
How can I do this in Qt? Is it feasible?
...
I have a function that lets me write the file-path of files to a text file, depending on your input. That sounds confusing, but I don't know of a better way to put it, so here's the function:
Function writeAllPaths([string]$fromFolder,[string]$filter,[string]$printfile) {
Get-ChildItem -Path $fromFolder -Recurse $filter | Select-Obj...
Hi,
Waht does /s means in %SystemRoot%\system32\services.msc /s?
Where can I find the complete reference?
Thanks.
...
Hi,
I've got a setup project for a Windows Service (.net 3.5, visual studio 2008).
The Windows Service needs to be run under the Administrator account, does anyone know how I can get the Setup Project to set the "user to log on as" setting for the windows service as part of the setup process?
At the moment I have to manually right cli...
It seems to me there is some ambiguity during the transition between Daylight time to Standard time for example in the US at 2:00 AM DT on 11/1 Daylight time ended and Standard time began the time now being 1:00 AM ST. This means that a time of 1:30 is meaningless unless it is qualified as ST or DT. So, how can TzSpecificLocalTimeToSys...
Hello
Could anyone share some links on how to get started using QPID?
I have checked out http://qpid.apache.org/ and I have managed to start the Java QPID broker, but I don't know where to go from here.
It would be great if someone had a sample app or two to use the broker and send messages to each other, in Java or C#.
If not, maybe...
Hi All,
I have a problem over here. You see, I wanted to create my own sample application in C# but without Visual Studio creating the files automatically for me. So I figured that I'd simply select "Empty Project" and then create the Program.cs file myself, and then manually add a Winfows Form from the Project menu. That went good.
Bu...
I have this massive nested loop scenario that is calling the DB and making HTTP requests to Basecamp API. At first it was a web app but it took much time to run the app so the user (billing department) would often quit out early or complain because it would take so long with no feedback and no way to cancel it. I wanted to make it more r...
I am using a Windows Mobile 6 based hand held device.
I there a way to detect low or no wireless signal activity?
Since I cannot detect this, my application is getting exceptions and ultimately runs out of threads.
...