run

vb express / visual studio - is it possible to run / debug one form only in a multi form application?

hi, I have a vb application consisting of several winForms and code files. Is it possible to run / debug only one form without having to run the whole application? To be more specific, one of the forms in my application is the settings form where the user sets his/her desired options. These options are read/written to an xml file. Is i...

C Run-Time library part 2

Hi, I was suggested when I have some further questions on my older ones, to create newer Question and refer to old one. So, this is the original question: What is the C runtime library? OK, from your answers, I now get thet statically linked libraries are Microsoft implementation of C standard functions. Now: If I get it right, the sch...

how to change the image of run configuration in eclipse 3.5.2

Hello, I want to change the default image of run configuration in eclipse 3.5.2, but when i open the run configuration window, under the TARGET tab, i'm not getting the 'Additional Emulator Command Line Option'. Help me , if i installed it wrongly or, need to do it in any other way in eclipse 3.5.2. Thanks in advance. ...

Mimic Windows' 'Run' window in .NET

I would like to mimic the Run command in Windows in my program. In other words, I would like to give the user the ability to "run" an arbitrary piece of text exactly as would happen if they typed it into the run box. While System.Diagnostics.Process.Start() gets me close, I can't seem to get certain things like environment variables suc...

Launching external console application from Java

Hi in a Java application I need to run an external console application. With the window's ones everything is OK: try { System.out.println("Running..."); Runtime.getRuntime().exec("notepad.exe"); System.out.println("End."); } catch(Exception e) { System.out.println(e.getMessage()); } launches notepad successfully. But if...

PHP - Ignoring script files from a directory when navigating to them?

Hey there. I'm currently working on a file uploading sript in PHP, but i'm kind of stuck. Users are allowed to upload files such as PHP and JS, but i don't want the scripts to run when a user is trying to download them. Is it possible to block that somehow using htaccess or something? Thanks in advance. ...

How to run a packaged java file

Can anyone help me on how I have to run a java application which is in a package, from cmd? Please give me the necessay line that I have to type Thank You EDIT: (Copied a clarifying comment from one of the answers below) No i mean a normal java aplication that belongs to a package, like package x; class SampleOnly{ } how you comp...

Compiling and executing through commandLine shows NoClassDefFoundError when trying to find Java package

I have a client/server program that attempts to send and receive an object. There are three packages: server, client and shared shared contains only the Message class I put Message.java from shared package into the same folder as calcclient package source files and calcserver package source files. I compile using the line: javac -cla...

C# Run Program from byte array

Hello, I have a program stored in byte array. Is it possible to run it inside C#? Thanks ...

How to automaticly close process that uses more that specified amount of memory on windows

How to automatically close process that uses more that specified amount of memory on Windows? Is it possible to specify some amount of memory (for example 1MB) and to run some executable file with those parameters? If the process tries to allocate more than that amount of memory it should close and return some error value. Is there an ea...

Xcode "The program being debugged is not being run" error- need help!

I saw the other question here with the similar error yet their fixes did not help. I have a jailbroken iphone 3.1.2, and I just purchased apple's $99 dollar thing and I'm trying to make it so I can debug my apps on the phone. The device installs but will not run when clicked build and go. If I click on the icon made on the iphone it wo...

How can I attach a mouse event to a Run object in Silverlight?

I can attach a mouse-click event to a TextBlock object like this: TextBlock tb = new TextBlock(); tb.Text = "click here"; tb.MouseLeftButtonDown += new MouseButtonEventHandler(tb_MouseLeftButtonDown); But I would like to instead attach the mouse-click to individual Run objects inside the TextBlock object so that various parts of the T...

Alternative to policy files when granting permissions?

Is it possible to grant Permissions through something other than a policy file? What I'd like to achieve is a permissions-based system that can be modified at runtime. ...

Running a Python Script on a server (Does it have to be in /cgi-bin/)?

Right now I have a script thats http://www.example.com/cgi-bin/foo?var1=A&var2=B Is there a way that I can have it run outside of the cgi-bin directory? Like could I have http://www.example.com/foo/?var1=A&var2=B Thanks! ...

Execute another app which is not url/sms and etc.

I would like to execute another app from my app like "Angry Birds"/"Seance"/"Guitar Hero". (I know its against the rules of apple :) Is there a way I can do it? Thanks ...

WPF program can't start with a hidden main window?

I have a WPF program that is auto run via an entry in the registry on user login. The program starts with its main window hidden, checks a few things and if the startup conditions are right, makes the main window visible, otherwise the program exits with status code 0. Sometimes when the program runs, windows will present a popup saying ...

Is there a way to start a jar file hidden?

I have a .jar file that I would like to run hidden in the background every time I start my computer. I use javaw -jar x.jar to load it but I can't seem to find a way to start it hidden. Is there a way? Thanks in advance. ...

Run a C# application from python script

I've just about finished coding a decently sized disease transmission model in C#. However, I'm fairly new to .NET and am unsure how to proceed. Currently I just double-click on the .exe file and the model imports config setting from text files, does its thing, and outputs the results into a text file. What I would like to do next i...

run python file

i dont have any experience in python programming but I get to run python file is there any one to help me pls here is the file content >>>>>>>>>>>>>> #!/usr/local/bin/python """ Based on: http://wxpsvg.googlecode.com/svn/trunk/svg/pathdata.py According to that project, this file is licensed under the LGPL """ try: from pyparsin...

Unit-test passes in Debug, but hangs when Run

I have an odd problem. I have a unit test that keeps getting stuck in Run Mode. When I run the same test in Debug, with no breakpoints, the test passes every time. Basically, it is a socket connection test. I first disconnect a socket, and then try to reconnect, and I am trying to check if the reconnection was successful. Somewhere in...