system

Disable system device VB.Net

Is there any way to disable a system device from VB.NET. Such as a device that needs to be enabled/disabled quickly and or uninstalled. ...

IPC Vs domain sock Vs named pipes

Whats the different between IPC and Unix domain sockets and named pipes? I got vague definitions from various books but couldn't get clarity on which one should be used where. ...

How to solve a system of inequalities?

I've reduced my problem (table layout algorithm) to the following problem: Imagine I have N variables X1, X2, ..., XN. I also have some (undetermined) number of inequalities, like: X1 >= 2 x2 + X3 >= 13 etc. Each inequalities is a sum of one or more variables, and it is always compared to a constant by using the >= operator. I cannot ...

Small company of 150 employees needs inexpensive Issue Tracking system.

We are a small company of 150 employees and I am searching for a hosted, inexpensive Issue Tracking system for all employees, both in the office and who work remote. Does anyone know a reliable product/host to use? We work off a SQL database and would like to be able to open, submit, track, resolve, share, complete and then close issues...

Writing to a file using echo

void EDataset::PrintErr(const NDataString& ErrMsg){ system("echo " + $ErrMsg + " >> err.txt"); .... code .... } It prints blank line as the value of ErrMsg. How come? ...

How do I scan a remote file system efficiently?

I do have a time limit and would like to know what is the efficient way to scan file system remotely (talking about 50 millions of files in the extreme case)? The command dir takes ages (approx time 20 hours!!!). ...

Ruby open4r multiple systems calls with prompts

I'm trying to write a little lib which generates a keypair using open4, is this the best way of dealing with system calls with multiple prompts? require 'rubygems' require 'open4' Open4::popen4("sh") do |pid, stdin, stdout, stderr| stdin.puts "openssl genrsa -des3 -out tmp_priv.pem 2048" stdin.puts "1234" stdin.puts "1234" std...

Who is responsible for cleanup?

Hi I wish to know which one is responsible for cleanup of the stack suppose you have a function fun lets say like this :- var = fun(int x, int y, float z, char x); when fun will get called it will go into the stack along with the parameters then when the function returns who is responsible for cleanup of the stack is it the function...

CMS system won't allow SWF banner to load external swf??

Hi, I just started a job working in-house e-commerce, and their current CMS system won't allow my flash banner to load an external swf. It works on its own but just not placed or uploaded in their cms system. What does the tech team have to do to code that in? Is it an easy process? tks any help is much appreciated ...

Does Windows have its own 'call other .exe' function (C++)

I know in C++ there is a function system("example.exe"); that runs another program, put it requires the include stdlib.h. Because I am already including 'windows.h', is there an equivilant to the system() function in Windows? ...

C Programming. Calculate Elapsed Time in Milliseconds (UNIX)

I want to calculate the time in milliseconds taken by the execution of some part of my program. I've been looking online, but there's not much info on this topic. Any of you know how to do this? ...

UNIX System time and User time. C-Programming

Hi I'm trying to get the system time and the user time that are consumed by a program. I'm having some trouble though as my times are always zero in milliseconds. I think I'm doing something wrong. Can you guide me in the right direction ? Both of my methods return 0 typedef struct{ struct timeval ru_utime; /* user time used */ ...

how to remove system environment variable by using batch file

I need to remove system variables from client workstation and my clients are 500+ so I want to provide batch file to user to run himself to delete the system variables. ...

MS DOS function like ipconfig to get system performance specs?

I am aware of MSINFO32, but I'm wondering if there is a MS DOS command similar to ipconfig in order to get system specifications? I would like for the system specifications to be displayed in the MS DOS prompt. I would like to see at least: CPU RAM BUS speed Thanks for any insights. Edit: I am unable to install any other software, s...

System C Command and Memory Limit?

Okay, so i am currently attempting to debug a problem on a win2003 server. Basically we have an ancient program that calls C's system() function. Now i basically tracked it down to the fact that when the system() runs the application. The application only has access to around ~500 or so megabytes of memory. Yet if i run the application m...

Run application as system account in Windows Server 2008

How do I run an application as local\system account in Windows Server 2008 ? For earlier OS version, I used to type "at 1:23 /interactive cmd.exe" for example. I also tried to create a scheduled task, which starts the application, but didn't manage to bring it in interactive mode. Thanks. ...

Sending the output of a command-line perl script to the browser via mod_perl

I have a plain perl script that can be run from the command-line via perl -w test.pl. I then have a mod_perl2 script that can be accessed from a web browser. I want to have the latter call the former and send the output to the browser, flushing as it goes. The mp2 script doesn't have a shebang line, because it's mod_perl, so it doesn't ...

Does stringWithContentsOfURL use the system proxy settings?

I am using the following code to fetch the contents of a web page but it needs to follow all the network rules etc as defined in the user's system prefs NSURL *url = [NSURL URLWithString:@"http://thetalkingcloud.com/static/ping_desktop_app.php?v=1.0"]; NSError *theNetworkError; NSString *content = [NSString stringWithContentsOfURL:ur...

Cocoa/Objective-c 'system();' acting weird

I'm trying to run an applescript inside my Cocoa app using the system(); function - the string I'm passing to the function works in terminal and the applescript itself is fine, I think it has something to do with NSString - can anyone help? //add to login items NSLog(@"add to login"); NSString *pathOfApp = [[NSBundle mainBundle] b...

I need a good programming discussion board.. (Systems Design) : Edited

I'm needing to run some ideas by others dealing with systems design. I doubt stackoverflow.com is the place to have the conversation(s). Is there a good and active discussion board for systems design out there? EDIT : Ok, here we go, If you had to design a file processing component/system, that could take in a wide variety of file ...