132,726 Archived Topics
Remove Filter ![]() | |
I want to know how to make a Bot, regardless game bot or not, I want to know how to move the cursor and how to pinpoint it's destination, how to differentiate between right click and left click. I want to know all about Bot making. Any 1 could help … Software Development c++ | |
Hi, I have C# .net application which reads data from the serial port and launches a new thread to process the data when all data has been read (end of data is determined by timing constraints). I create a new object where the thread will run, copy the data that … Software Development asp.net c# motherboards-cpu-ram multithreading | |
Hello everyone, i'm new in c++ and i found a problem when created a code. I want to create a code which read from file .txt and then count the number of each value of the attribute, as the text file below: the attribute is'bembi' and the value is '1,2,3'. … Software Development c++ | |
Hi , I am very very new to VB and don't know how to proceed with coding this. I have a file in excel in the format below [U]Name[/U]....................[U]UID[/U]...................[U]Password[/U] Marie Lily...............myoune.................9eW2n+st Rita Jain..................rjain....................yE#eCA2a Peter Craig.............pcraig.....................Qutru4r? and I need to convert this data/excel sheet into the format below: dn: cn=myoune,cn=Users,ou=MyDomain,dc=com objectClass: … Software Development vb.net visual-studio | |
Hey guys, new here. Decided to start learning Python and this community looks like a perfect place to learn with the help of others. A bit of a forum-related problem at the moment though, when the browser is loading "ad.amgdgt.com" it takes about 4 minutes to load each time I … | |
Hi When I run this program instead of getting the values I initialized with the constructor, I get -858993460. I guess it's wrapping around in some way. Anybody have an idea? Thanks for your help #include <iostream> using namespace std; class Employee { public: Employee(int Age, int Years, int Salary); … Software Development c++ | |
Hi people, the title says it all: The user manual of my program is an HTML document, and I want the OS's default browser to open it directly once the user clics on help. The function that the help menu entry invokes is this: [CODE=python]os.popen("/usr/local/firefox/firefox ./html/index.html")[/CODE] Now this only works … Software Development python | |
I'm supposed to ask the user to enter a number of marks, and to decide what each mark is. Then my program is supposed to find the min and max in the array, so far this is what my code looks like: [CODE]#include <stdio.h> void findMinAndMax(int arrayMarks[], int numOfMarks) { … Software Development c | |
Hello, I have multiple problems in an application plotting online data. Below are my problems - 1. MSCharts flickers if my updation time is fast (around 1 sec), I have played around with Repaint, LockWindowUpdate and Visible methods, but no positive results. Is there a better method to stop flicker? … Software Development api visual-basic | |
Hello, I've been looking for this here but haven't been able to find an answer that fits my case: I have a tkinter GUI consisting in a button and a Text (a textbox). You write the whole text in the textbox, then press the button and it uses the get() … | |
I have a function in a Lua script, that will take a file and and will work on it. Part of the work it does is to empty the file completely before working with it. The easiest way I know of doing this is to open the file with [icode]io.open[/icode], … Software Development file-system | |
Hi, I'm using Borland C++Builder V5.0. I simply want to pass a variable between two C++ TThreads. I searched a lot on the Internet but can't find anything like that. Simply copying by calling another threads function or property is no option. The compiler thinks it's okay but when executing … Software Development c++ | |
I want to optimize the following small integer program in speed. My g++ compiler version is 4.3.4 on 32 bit linux. Please suggest or comment the following ideas. Some ideas are: 1. use compile flag such as -O3 2. rewrite the bigger function with function object [CODE]#include <algorithm> #include <cstdlib> … | |
Hi How can I protect/lock a drive from deleting files and format it ? Is there a way to hook a drive? Software Development visual-basic | |
HIII!!! i need to know how to make a random movement for a character?? [CODE]#include <iostream> #include <conio.h> #include <windows.h> using namespace std; char board[20][20]; void setBoard () { for (int j=0; j<20; j++) { board[0][j] = 219; board[19][j] = 219; } for (int i=0; i<20; i++) { board[i][0] = … Software Development c++ | |
Hi I am trying to connect and get a WebResponse of a CONNECTED user. For that, I should first connect to the webSite, but I can figure out how. I already read like 20 pages about cookies and stuff and still cant understand this stuff. The site im trying to … Software Development | |
I'm having an annoying issue with this code. I get a segmentation fault because of the loop wrapped in comments. Any ideas? This is the goal of this program: First I wrote a simple c++ program and compiled a binary file for it. I then use readelf to dump the … | |
Hi everyone, can somebody guide me to produce very small delays for controlling a servo motor using PWM. I need to generate 3 different pulse widths of 1.2ms , 1.5ms and 1.8ms. I am using Keil compiler, and 8051 microcontroller. I am a good C coder, but dont understand much … Software Development c | |
dear experts, please, how to use SQL query in excel 2007 and store the result of that query in the cell. let say I have a sheet with different information abut sales and I want to get the sum of the sales as per city let say where city is … Software Development visual-basic | |
Hello, I'm having a requirement to develop a GUI based JFrame which should have capabilities to add Multiple JPanel on an event occurrence[Ex. button click] and the JFrame should be scrollable. I tried a lot, but I failed. I also tried to add multiple Jpanel in JScrollpane that also failed. … | |
Hi Guys, What i am trying to do is , if suppose i have a word'horse' in a rich text box, i want to aplly image by cutting characters.To explai it little more, i want to be able to cut the word 'horse' in two parts 'hor' and 'se' and … Software Development image | |
Hi, Im having trouble dealing with text files in C. I want to be able to move through the text file which Ive used fseek(). But how do I read one character or read a line of characters from the position I want and change these to float? Thanks in … Software Development c | |
I want database management in C To ADD,LIST,DELETE,INSERT using structures and files..........not in linked list.............. can anyone help me out....because this is the first time to do long and some what complex program for me Software Development c linked-list | |
I have a school assignment where I have to write class files to correspond with my instructor's already written class, which includes the main() method. He has the main class importing the child class of a ParentClass, each of which is in a different package. In the main method, he … | |
Hello. This is my program: [code]#include <iostream> #include <cstdlib> #include <fstream> using namespace std; int main() { ifstream a; ifstream b; ofstream c; a.open("a.txt"); b.open("b.txt"); c.open("c.txt"); int x; a >> x; b >> x; c << x; a.close(); b.close(); c.close(); system("pause"); return EXIT_SUCCESS; } [/code] In file "a" I have … Software Development c++ | |
If i had an Array as seen below, is it possible to use the rand function to randomly select an element within that particular array; if so how can this be done. The Value of the element will be outputted. Any help much appreciated...:) [CODE]int Array[14]={10,10,10,10,11,6,9,2,3,15,11,15,16,15};[/CODE] Software Development c++ | |
Hi all, I have a JOptionPane with a YES button and a NO button. All I want to do is be able to press the left or right button on the keyboard to change the focus on the buttons. By using the mouse it works. Is there some kind of … Software Development java | |
Does anyone have any suggestions on what is the best way to translate a C# application in VS .net? Currently I am translating a GUI in multiple languages and editing the Form.languagecode.resx file but when I make edits to the GUI, even a litte thing like moving a button, all … Software Development gui | |
can any one tell me whats the problem in evaluation of postfix [CODE] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> #include<ctype.h> #include<math.h> #define MAX 20 char stack[MAX]; int top=-1; char pop(); void push(char val); int prcd(char symbol) { switch(symbol) { case '+': case '-': return 2; case '*': case '/': return 4; case … Software Development c++ | |
![]() | Hello, I have problem using StrToDateTime function from Borland in my project. I made a custom component, it's called Month view (calendar). One of the basic steps of the component's initialization is to set the default month and year. To do this, I use the "1/1/2010" string passed to StrToDateTime … Software Development c++ |
Hi, I am using Sparselib++ in this C++ program. [code]#include <iostream> #include <cstdlib> #include "comprow_double.h" using namespace std; int main() { cout << "Sparse example" << endl; // prints Sparse example double val[12]={1,2,3,4,5,6,7,8,9,10,11,12}; int colind[12]={0,1,4,0,1,2,1,2,4,3,0,4}; int rowptr[6]={0,3,6,9,10,12}; CompRow_Mat_double R (5,5,12,val,rowptr,colind); return 0; }[/code] Since I use Eclipse, I have added … Software Development c++ | |
Need help to code a program which: - validate user input, accept values that a user has entered (ex, a, b, c, d, e) - any other values other than these are to be treated invalid with a message and block it from processing. - Prompt the user to enter … Software Development python | |
How do I generate an 'Out of Memory' exception for testing purposes in c++? I tried real big arrays but the compiler came up with this: "total size of array must not exceed 0x7fffffff bytes" So i tried the maximum limit allowed by the compiler and still no exception generated... Software Development c++ | |
Hey! I have a problem with parent and child windows. How do I set the main program to parent window and the other windows to child? I also wanna be able to change a line of text in the main (parent) window from a textbox in a child window. How … Software Development | |
how can i open/close an exe file using c#? thank you. Software Development c# | |
![]() | I'm trying to import a module that checks an .ini config file for correct syntax (via regex patterns). If the syntax is wrong, I want the main code to crash (and hopefully log the error, too). I need some guidance on how I should do this. My current approach doesn't … |
My delete function set works perfectly for all nodes but the leaves. The program doesn't crash until I try traversal again, not when actually deleting a node. Here is my code: [CODE=c]void BinaryTree::DeleteNode(int deleteItem) { TNode *current; TNode *trailCurrent; bool found = false; if (root == NULL) cout << "THE … Software Development c++ | |
Hi, I believe this is my first posting to DaniWeb, so thanks very much in advance for your time! I have been doing some searching and I am not sure of a definitive answer to the following problem. I am attempting to make a class that can store a set … Software Development c++ | |
I need to prevent my window from going minimized to tray when I click the Minimize-Button. I write in native C++ with additional use of DX10, DXGI, Direct2D and DirectWrite. I proceed the WM_WINDOWPOSCHANGING. But how did I know if its triggered from a Minimize-Button ( WM_SIZE is already too … Software Development c++ | |
I have a method that takes in a rectangle shape as a parameter, uses it as a selection box, and finds shapes in an array called shapeObjects that are within the bounds of the selection box. The indexes of those shapes are then added into a new array which is … | |
I want to take out words that reoccur in array1 and put them in array3. (so in array 3 there would be only distinct values) the problem is.. i dont understand how the count2 value can reach so high. (over 300) but should be 20 maximum. [code=c] for(i=0; i<count;i++){ if(count2==0){ … Software Development c | |
In my code, I am trying to open a directory of Solaris OS from Windows OS using FindFirstFile(). In Windows XP, the code is working fine but in Window 7 same code is not working. FindFirstFile() returns INVALID HANDLE in Windows 7 and GetLastError() return error code 50, which means … Software Development c++ | |
Hi, I am currently working on curling game for my High School assignment and i have lots of files of code, so i doubt anyone will want to look through them. Im having an issue in which, i have a JPanel and when i call the paintComponent (Graphics g) of … Software Development java java-swing | |
Hi guys; Am stuck on the following piece of code which is meant to delete obsolete files in a directory in an sms server. It runs well from a windows platform on which it was coded in, but can not run from a linux platforrm correctly. On the linux lastmodified … Software Development java | |
I am using a Multi column JTextPane. Everything is working fine but I also want to add some space after each column in JtextPane to improve the readability of the text in the Jtextpane. In my current project, it is unable to differenciate between text of two columns. I am … Software Development java | |
Hi Folks: The following is the complete coding for an application which I wrote to move data from sql 2000 to MS Access 2003. The coding looks fine to me but I am still getting an error. Could someone tell me what I am doing wrong. Thanks in advance Bob … Software Development dataset microsoft-access open-source sql vb.net | |
Hi (I meant to say list box in the title heading, not combo box. Can't edit the title) I am trying to create a unit converter program. At the moment I'm trying to populate my combo box with results that have been calculated. I have two sets of results to … Software Development vb.net | |
Hello. I have a question how can I detect and close all opened folders (explorer) when my application starts? in advance thx Software Development | |
OK, what's wrong with this? [CODE=C++] int main(int argc, char* argv[1]) { //declare argc and argv to check command-line arguments string arg = argv[1]; //convert char to string if (argc == 2) { //test if arg was entered if (arg == "test") { //test if arg is 'test' printf("you entered … Software Development c++ | |
![]() | Hey guys im having a bit of trouble with bubble sorting an array from a file... Basically what needs to be done is i need to read a text file into a struct array and then copy it into a new file after sorting it by a string field can … ![]() |
The End.