Is it possible to show a windows form when implementing a custom activity?
For instance, how do I show a custom form, when a user double-clicks on my activity in the designer?
Or perhaps a custom form could be displayed when a user clicks the ... in the properties selection.
...
I've recently upgraded to Eclipse 3.4 (Ganymede), but I'm experiencing some intermittent issues with my workspace saving and loading on shutdown/startup. The problems seems to be intermittent but occurs more frequently than not. When I start Eclipse, the workspace does not load with the previously opened files and settings (no files ar...
Duplicate:
Is there a way to indicate the last n parameters in a batch file?
how to get batch file parameters from Nth position on?
Clarification: I knew of the looping approach - this worked even before Command Extensions; I was hoping for something fun and undocumented like %~*1 or whatever - just like those documented at http://w...
I'm trying to write a Windows Filtering Platform Callout Driver for a parental control program. Unfortunately, I've never written a driver before, and the MSDN documentation on it isn't too helpful unless you already know the basics (I'm guessing).
Does anyone know of any good resources on the subject? Books, online samples, documenta...
I'm trying to write some simple code that will return the directory for the recycle bin on a local drive. Seems like it would be simple -- should be a thousand answers on Google. Haven't found one yet :(
I HAVE found that FAT and NTFS drives have different base names (RECYCLED and RECYCLER). I've found that 'the' recycle bin is a vir...
I am using OpenNLP and my English NameFinder on Linux (CentOS 5.3,Java 1.6.0_13) keeps giving me this error:
An unexpected error has been detected by Java Runtime Environment:
SIGSEGV (0xb) at pc=0x0657e436, pid=3484, tid=2291964816
Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
Problematic frame:
V [libjvm.so+0x...
I would like to create a custom activity that loops through the Rows in a DataTable.
...
When I run a program using the read part of fstream, I get this return value:
-1073741819
the actual function is part of a corrupt for loop, which I will try to explain:
for(int i = 0; i < vrs_top_i * 3; i += 3)
{
int X1x = FileRead(file2, i + 1);
int X1y = FileRead(file2, i + 2);
char X1sym = FileRead(file2, i + 3);
viral_data.a...
What's the best free scriptable SFTP client for windows?
I've looked at WinSCP and Filezilla. Winscp seems quite buggy (click here), and filezilla doesn't seem very scriptable.
Any suggestions?
Basically what i want to do is: from a scheduled task, log onto a remote server, pull any files across, and then delete them from the remote s...
I want all the controls (edit,list control, etc) in my application to be having the same font which is not the system default. How do i do this? Is there any Win32 API that sets the application default font?
...
In windows, I want to generate random number with seed: time + memory usage.
I want to get the memory usage from physical memory sytem cache the one that appears in taskmgr.
So, How to get physical memory system cache in c (windows and not .net )?
The random seed may end up something like this:
srand((unsigned int)(time(0)+ memSystemC...
I have server with two quad core processors, installed windows 2003 standard edition.
I want to test an application on a machine with single quad core processor and I want to use this machine so how can I disable one of two processors?
I prefer a software solution but if the only solution is a hardware no problem.
...
Well if i want to store data for a application machine wide i just use
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)
And if i want to store data per user i use
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
But what if i want to save data per application instance? i could use...
Hi,
I have a treeview control which is being used to browse various folder on the users system drive. It can also be set up to connect network folders using UNC paths e.g "\server\files". At the moment I'm getting a list of Directories by using My.Computer.FileSystem.GetDirectories however this obviously fails when the folder is passw...
How do I detect which processes are playing audio on my Windows machine? In other words, how do I enumerate processes which are using my sound card?
...
I have a batch file that I'd like to run on startup of an EC2 Windows AMI. The program I'd like to run from that batch file takes the instance-id of the EC2 machine as a parameter. What is the simplest way to get that Instance ID passed as an argument to that program?
From Amazon's Documentation on the subject, I see that you're suppo...
I am using the WinInet API to get to internet files using HTTP. Everything works unless the user goes through a proxy server.
I'm using InternetOpen with INTERNET_OPEN_TYPE_PRECONFIG which is supposed to get and use the proxy info from the registry (according to the docs). Do I need to use INTERNET_OPEN_TYPE_PRECONFIG and specify the pr...
I was wondering if there was any function along the lines of IsBufferEmpty() to use on a synchronous handle rather than using ReadFile() and waiting for it to return false. I need something to eliminate the delay that ReadFile() takes to try to read data.
...
Is it some sort of pre-built GUI scaffolding?
Why would I Want it instead of a WinForms UI, which is quick to set up?
What does it give me that I would have to spend time writing?
Do I get floating windows and docking, like in Visual Studio 2008?
Is there a money-cost to using it?
What does the deployment look like - is my app a standal...
I'm using CreateProcess to exec Notepad.exe, but the process parent of notepad is my own AP. When I closed my own AP, the process parent of notepad became to explorer. How would I do to put explorer as process parent for this new opened process?
...