28 Solved Topics
Remove Filter
|
|
Hi Guys. I'm trying to suspend a process by it name, but I found the sample that demontrate this using ProcessId. The problem is that I don't know the process ID of the process I want to suspend/resume. [Here is a sample I used.](https://social.msdn.microsoft.com/Forums/en-US/cdde6cef-3971-40a6-b4dd-02db963868ce/suspend-an-application?forum=vbgeneral) |
|
Hi Dw. I have a project that uses Process to marge some files, now because the merging can take quite sometime I've used BackgroundWork. The main problem I'm facing is to know when the Process is done because I want to delete the files that it was merging with so … |
|
how can i make the system (execution process )wait for some periode of time |
|
I'm trying to process a list contained within a separate text file. I am able to read the file, and generate an output containing the contents of the file, but the output generated is the unprocessed version, identical to the input. I do not encounter this problem when the list … |
|
I'm probably doing this wrong, because there has to be a way to do this. Here is my current code: import javax.sound.sampled.*; public class soundHandler{ soundHandler() { } public void newSound(String sound) { new soundThread(sound).start(); } } class soundThread extends Thread { String soundName; Clip clip = null; soundThread(String i_soundName) … |
|
I've been working on this code for 2 days now and i finally think i got the while loop running correctly but now i cant seem to print the child process id's. The code starts with the parent process forking 3 child processes. Then the parent must wait till a … |
|
Hello everyone, im currently stuck because i'm not sure how to start on this part of my program. What i'll need help is controlling another application, my program is suppose to run another application, and be able to hide it, show it, verify that is running, it also needs to … |
|
What is the difference between Standard and Non-standard Wiener process? |
|
Hello Every one Please Help me on My problem i want to close a application proccess in taskmanager using vb6 Example: we open a notpad.exe and we want to close it using visual basic 6.0 to this way we have a Command botton Private Sub Command1_Click() ' Here my command … |
|
Greetings. In my Console Application, I have a process that connects to a Access Database File. After closing the connection I copy the file to another folder, and delete the original. Lately this is failing a lot. For some reason the File is still being used, even if the connection … |
|
I've searched around and didn't find anything useful! :( What i want is to have my C# app doing a command to a running process. This running process is a console application and i just need to enter the command "restart".. my try was: [CODE] Process[] processes= Process.GetProcessesByName("OpenSim.32BitLaunch"); foreach (Process … |
|
hi, i am making a program that kills a process [CODE]system("taskkill /im explorer.exe");[/CODE] and i need to restart the process using CreateProcess. [CODE]CreateProcess(NULL,("C:\\WINDOWS\\explorer.exe"), NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &siStartupInfo, &piProcessInfo);[/CODE] but i keep getting these errors: 27 `siStartupInfo' undeclared (first use this function) and 27 `piProcessInfo' undeclared (first use … |
|
Hello I am a total amatuer programmer. I mainly just build little apps that are mainly useful to me. So please be gentle. I am currently working on a program that will paste text into a second program. The text will paste into several different fields automatically. The problem I … |
|
Hi, At the moment I am trying to open a log file with notepad.exe while the original process continues. As I am developing for Windows, fork() is not available for me. I googled alot and found a good reference to opening processes ([url]http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html[/url]), however they all put the original process … |
|
Environment: MS Visual Studio 2008. (Please transfer this thread to where it belongs.) Project type: Windows Forms Control Library. Goal: Get the pixel color from a given process' main window. Already achieved: I got the desired process's pointer by using [code]cli::array<Process ^>^ Proc = System::Diagnostics::Process::GetProcessesByName("Notepad");[/code] I believe I got the … |
|
hello to all In my code I have to check currently running processes from task manager and perform some actions on them but the problem I am facing in doing so is that I am not able to get a processes location from where it is running (i.e. path of … |
|
hello all , i'm new to C# and i have a problem, i created a program that categorize my files into folders and subfolders. and i want to run a script test.bat that will run a python script to the files with extension .gb in the subfolders and this script … |
|
Can anyone please give me a guideline on how to code the following? I have an MFC application which should call on a timer basis a python script from command line and read the ouput of that command line. I thought of using CreateProcess, but i have no clue of … |
|
hi .. im trying to terminate a process so in python i used os.system("taskkill /IM notepad.exe/T" and os.popen("taskkill /IM notepad.exe /f") neither have worked since the process does close but start up again !! on SOME computers it did work, the process was terminated but on others it did not … |
|
Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as … |
|
Hello everyone, I'm working on a random text generator -without using Markov chains- and currently it works without too many problems. Firstly, here is my code flow: 1-Enter a sentence as input -this is called trigger string, is assigned to a variable- 2-Get longest word in trigger string 3-Search all … |
|
Hi, I'm trying to write a shell script that do ftp and download file periodically, this script should be called by a daemon running in the background. the shell script "script.sh" is as follows: [icode] yafc [url]ftp://test:test@192.168.1.225:21[/url] < commands [/icode] and the "commands" files is [icode] d Root/md5* / quit … |
|
Hi everybody. I'm developing an application that sends keystrokes to another background application. The problem is that i have so send a "Alt+F", but i can't get it to work. I'm using PostMessage: [CODE] [DllImport("User32.Dll", EntryPoint = "PostMessageA")] private static extern bool PostMessage(IntPtr hWnd, uint msg, int wParam, int lParam); … |
|
i recently found out i had the virus called RECYCLER, and that it had infected my usb and hard drive. So the first thing i did was end the process called ctfmon.exe, as i read it was part of the virus. I also ran a program called combofix with a … |
|
Hey guys. I have a question. In my program, I'm calling a Process (Internet Explorer) on button click, but I want to customize the size of the IE window being opened to something like 800 x 600 pixels. Do you know how do it? Below is my base code. [CODE]Process … |
|
k, what i'm trying to do is create a windows service to run in the background to monitor [URL="http://www.vmware.com/products/player/"]vmplayer.exe[/URL] to see if it is running or not. then if it is running, then turn on the various hardware, software, and services it needs/uses to run, and if it is not … |
|
Hi, I want to take a command with its options as input and execute it with one of the exec() functions. My approach is to take input first and put it in an array by dividing with string tokenizer. Then I call execvp() which takes the array including the command … |
|
Hi, I am running 3 threads that each start an ffmpeg process to extract 3 snapshots form a video file. I need to be able to call this method multiple times, with different video files. It writes the three snapshots to the system. However If I try to delete these … |
The End.