43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for GAME

Is there a easier way to do multiple send keys instead of just having to C/P? [code]SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}");[/code]

Software Development
Member Avatar for mbulow
0
110
Member Avatar for BobbieJean

Hi all, I had posted my code and updated it a few times in another thread and didn't get any response and since I have gotten some things figured out and had posted my long code a few times in the other thread, I thought I would put my last …

Software Development gui java java-swing
Member Avatar for BobbieJean
0
1K
Member Avatar for CipherPol9

hi i am developing a software for tecnichal assistance. i am using a acces database which consists in two tables assitance and cliente and i use inner join to connect t«the two tables. now i connot save data on the table i made the inner join. What code i have …

Software Development vb.net
Member Avatar for pritesh2010
0
88
Member Avatar for pore

Hello, I'm working at a 8 puzzle ([url]http://www.permadi.com/java/puzzle8/[/url]) i want to compare two arrays. after that I want to get a true or a false and then I want to implement a algorithm. my question is: why can I not use 2 different variables and display the interger values of …

Software Development algorithm java puzzle
Member Avatar for pore
0
118
Member Avatar for pankajagar2002

Hello frnds. i have little bit confusion on this topic, i try to find over the internet but not able to do this, could you please help me, i want to know that whether Calender.getInstance() method is threadsafe or not. Thanks in advance

Software Development java
Member Avatar for ~s.o.s~
0
1K
Member Avatar for tinchektinc

Hi everyone. First I would like to apologize if I didn't post this correctly, so please don't take it hard on me if I did. Here is my problem: I have to print out a system filled form, including text styles. For example (I have already solved the styling issue) …

Software Development c c# c++
Member Avatar for tinchektinc
0
3K
Member Avatar for pato wlmc

Well, a few weeks ago, i messed up my PC ( The windows part, Linux remains perfect ), not big deal, just formated, and seeing the bright side, i updated to Windows 7 ( i was on Windos vista). Everything is perfect.... or was until now. I used to "compile" …

Software Development c++ windows-vista
Member Avatar for pato wlmc
0
139
Member Avatar for VBNick

Is there a way to put a computer to sleep somehow other than clicking start, then sleep? I am using a shortcut to this right now: C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0 but it doesnt do the same thing as clicking "Sleep" in the start menu. I need a piece of C++ code, …

Software Development c++
Member Avatar for VBNick
0
1K
Member Avatar for sweetypie123

Hi i have a listview control on form1. I want to send the selected value to form2. I tried couple of ways but nothing seems to work correctly. Please help.

Software Development listview vb.net
Member Avatar for sweetypie123
0
98
Member Avatar for ana_eht

can someone pls tell me what is the damn error here?!! [CODE] package t6q6; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner (System.in); System.out.println("Please enter your account number."); int account = input.nextInt(); System.out.println("Please enter P or R for Premium or Regular …

Software Development java
Member Avatar for ana_eht
0
130
Member Avatar for bbrradd

Ok i need to read in 2 files. The first file contains employee data, and second file contains employee ID# and the hours the employee worked. I need to matchup the ID numbers and add the hours, which i have done. my problem is if there is a invalid ID#, …

Software Development c++
Member Avatar for bbrradd
0
110
Member Avatar for pearle

I'm supposed to rewrite a binary search function so that it uses a generic type for array elements instead of just int. The only changes I made to the function are inserting the line "template<typename T>" and changing the line "int binarySearch(const int list[], int key, int arraySize)" to "int …

Software Development c++
Member Avatar for pearle
0
574
Member Avatar for Wizablue

Hmm, I was trying to load strings from a file(formated) to an 2D Array... but.... [CODE] FILE * fp; char TempBuffer[100][100]; char array_game[100][100]; fp=fopen(filename,"r"); for(i=0; i<100; i++) // Create 2D array to Hold the array of the file { for(j=0; j<100; j++) { fgets(TempBuffer,101,fp); strcpy(&array_game[i][j],TempBuffer); } } [/CODE] I get …

Software Development c
Member Avatar for Wizablue
0
490
Member Avatar for rciprogrammer

Hi Looking for a way to pass back multiple data types from a method. I want to be able to pass back an array that the method fill out, and also the length of that array (I need that because the calling code will pass the byte array to the …

Software Development data-structure java
Member Avatar for rciprogrammer
0
128
Member Avatar for replax

Hey guys, after compiling my program I get the following error [code]Windows has triggered a breakpoint in *.exe. This may be due to a corruption of the heap, which indicates a bug in *.exe or any of the DLLs it has loaded. This may also be due to the user …

Software Development c++
0
114
Member Avatar for jaku78

Hi. At the moment I'm trying to get this very simple calculator to just set the label of the text in the GUI to just be the label value at the moment. I plan to make it do the math but I'm having trouble getting to that point. When I …

Software Development gui java
Member Avatar for jaku78
0
138
Member Avatar for bchin

Hi, I have been searching high and low on google, and I cannot seem to figure out how to convert unicode to integers. Take the unicode codepoint, u'3001', for example. I know in utf-8, this is suppose to be ideographic comma. The hexadecimal representation is 0xE38081. I know if I …

Software Development python
Member Avatar for bchin
0
3K
Member Avatar for morteza_ipo

Hi everybody! I want to get list of files and folders with permission from ftp! This is my code: [CODE] from ftplib import FTP ftp=FTP('ftp.domain.com','username','pass') a=ftp.dir('') [/CODE] after runnig : (Output) drwxrwxrwx 1 user group 0 Mar 01 14:29 Backup drwxrwxrwx 1 user group 0 Mar 01 14:29 logs drwxrwxrwx …

Software Development python
Member Avatar for nezachem
0
152
Member Avatar for cherryduck

Hey, this is a continuation of my image editing program, I am trying to perform intensity thresholding with an intelligent threshold. My code thus far: [CODE] private void thresholdMenuItemActionPerformed(java.awt.event.ActionEvent evt) { BufferedImage inputImage = getImage(); setUndoImage(inputImage); BufferedImage thresholdImage = new BufferedImage(inputImage.getWidth(), inputImage.getHeight(), inputImage.getType()); int threshold = 0; int tnew = …

Software Development java
Member Avatar for cherryduck
0
185
Member Avatar for PierlucSS

I'm starting a process in a thread that is used to built up a treeview with a recursive method. I'm getting the following error "Action being performed on this control is being called from the wrong thread. marshal to the correct thread using Control.Invoke or Control.BeginInvoke to perform this action." …

Software Development
Member Avatar for PierlucSS
0
1K
Member Avatar for joker.med

Hello everyone, After I created a JTable with: JTable MaTable =new JTable(); MaTable.setModel(new DefaultTableModel(new Object [N][1], new String [1])); I wanted to add new columns to it, so I did this: TableColumn Colonne = new TableColumn(); MaTable.addColumn(Colonne); The operation did worked, even the new columns displayed correctly, but, when I …

Software Development java
Member Avatar for joker.med
0
87
Member Avatar for koitfm

I have to read from input file (which contains strings and integers) only integers, rearrange them to descending order and write to output file. How should I do this?

Software Development c
Member Avatar for jephthah
0
4K
Member Avatar for obeem

Hi guys, I am trying to make the Tic Tac Toe Class game but I am encountering an error with the initialization of my array for the game board. Instead of initializing everything to blank spaces, random characters end up in there and I don't know what is causing this …

Software Development c++
Member Avatar for obeem
0
120
Member Avatar for DrkNite

we use a terminal emulator called facetwin to run our main unix based applications we want to attach a small document scanner and magnetic strip reader to the system this runs on currently we have a magnetic reader that emulates a keyboard so it sends keystrokes back to the unix …

Software Development unix vb.net
Member Avatar for jimhutchins
0
137
Member Avatar for cokaznsyco72

I need to get character input from the user and convert it into a float type. However, I can't use arrays, strings or the functions printf() and scanf(). I have to do everything with putchar() and getchar(). How would I do this?

Software Development c
Member Avatar for DoctorBinary
0
154
Member Avatar for Jimingle10

Intro - I am an electrical major. Having said that, my school has a pilot program this year that I was randomly selected for, that includes introduction to C# in the program. I am not very familiar with programming at all but I must admit, I have made decent progress …

Software Development
Member Avatar for newenglandguy
0
854
Member Avatar for jacob07

Hello, i have proplem with the following excercise: There's a txt file which contains tab seperated words like: [CODE] Name N1 N2 Type FFapple 11 15 fruit ZZbanana 33 45 fruit ZZcarrot 22 25 vegetable FFapricot 10 30 fruit ZZmelon 22 50 fruit FFbroccoli 16 40 vegetable[/CODE] i want to …

Software Development apple python
Member Avatar for jcao219
0
220
Member Avatar for miturian

So, in the course of trying to write my own matrix-class (as an exercise, if nothing else), I ran across the following problem, exemplified in a dummy class: [CODE]class dummy { public: int a; int b; dummy(int a, int b): a(a), b(b) {}; dummy& operator=(dummy &rhs) { a=rhs.a; b=rhs.b; return …

Software Development c++
Member Avatar for miturian
0
112
Member Avatar for ultimatebuster

The directory layout looks like this [CODE] base -- + parcer -- + parcer.py log -- + log.py [/CODE] I want to import log.py from parcer.py. How would I do that?

Software Development python
Member Avatar for TrustyTony
0
98
Member Avatar for BobbieJean

Hi, I've gotten this program to work but I want to format it differently. I feel like I've tried everything to make the changes that I want but they just don't work. I think I may have the right idea on most of what I want to change but keep …

Software Development gui java java-swing
Member Avatar for BobbieJean
0
1K
Member Avatar for thuyson

i have a file excel and i imported it into sql 2005 with it's name is QLHP ,now i want to delete QLHP database in sql 2005 using c#. Please help me! Thanks so much!

Software Development
Member Avatar for thuyson
0
96
Member Avatar for kapiercy07

I am in a basic programming class and am having difficulty figuring out how to account for a non-numeric value being placed in for a binary number that will be converted to decimal form. If there is to be say a P typed into the binary input number, I want …

Software Development c c# c++ user-interface
Member Avatar for kapiercy07
0
134
Member Avatar for jeffcruz

[CODE] #include <iostream> #include <cstring> #include <string> #include <cstdlib> #include <iomanip> #include <stdlib.h> #include <conio.h> #include <stdio.h> using namespace std; class Fraction { private: double numerator; double denominator; public: Fraction (); // Fraction (double numerator, double denominator); //Fraction (Fraction &); //double operatorMultiply (fraction a, fraction b); //double operatorSum (); //double …

Software Development c c# c++
Member Avatar for jeffcruz
0
68
Member Avatar for e30rapidic

write a program that reads in a list of names and stores them in [I]vector<person>. [/I]Then ask the name of the best friend for each person in the list. For each best friend, locate the Person object matching the best friend and call a [I]setBestFriend(Person* newBestFriend) [/I]memeber function to update …

Software Development c++
Member Avatar for abhimanipal
0
730
Member Avatar for sophie.c

Hi there, I write a code using socket to realize multiple message exchanges between a client and a server (i.e., a protocol running between A and B). But when I use recv() on a client to receive a message from a server, it turned out that the returned receive size …

Software Development c++ client-server
Member Avatar for sophie.c
0
5K
Member Avatar for TechSupportGeek

Hello world of DaniWeb, I've asked a similar question to this one before but now I'm trying to find an answer to a different problem. You see, I have made a text editing application and, as you might have guessed yourself, I needed to add save features. Well, what I …

Software Development vb.net
Member Avatar for TechSupportGeek
0
176
Member Avatar for Anigmalee

I'm a Electrical engineer working in an automation company, recently i'm require to do a PC base HMI. So i decide to use VB to do it(I'm a newbie in VB, just learn/use VB6 in Uni). So far, Im able to read/write to the PLC through serial port. There problem …

Software Development vb.net
Member Avatar for Alexpap
0
156
Member Avatar for cyon

Can someone help me resolve the following error or point me in the right direction? An incomplete value is returned if ' is in the list value. Thanks for any help. [CODE] def FindName(self,name,list1): """ searches for a patten in the list, returns the complete list entry. Is case sensitive. …

Software Development python
Member Avatar for d5e5
0
161
Member Avatar for DaveTran

Here is my class with integer and string variables [CODE] class foo { int age; string name; } [/CODE] How do I create an IComparer that takes in foo as a class without the need for casting from an object? [CODE] class SortAgeAscendingHelper : IComparer { int IComparer.Compare(object a, object …

Software Development
Member Avatar for apegram
0
984
Member Avatar for SasseMan

Hi! I'm having some problems with gridbaglayout trying to get functionality that maybe isn't even there. The problem is the following I have 3 Jpanels with differend contents. I want panel 1 to be displayed to the left of the screen filling the y-axis, panel 2 in the middle filling …

Software Development java
Member Avatar for SasseMan
0
7K
Member Avatar for mharriss

I have downloaded a CPAN package 'Clickatell.pm' for use with a CGI script. I have uploaded it to the cgi-bin folder, set the permissions, but I can't get the script to use it. #!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); print "Content-type: text/html\n\n"; use lib '/websites/123reg/LinuxPackage06/ma/sa/re/masarestaurant.co.uk/public_html/cgi-bin'; package Clickatell; my $catell = Clickatell->new( API_ID …

Software Development perl
Member Avatar for mharriss
0
99
Member Avatar for amadain

Hi Folks I have the following code in one of my classes along with checks when the code does not eval: [code]filterParam="self.recipientMSISDN==tmpBPSS.split('_')[3].split('#')[0] and self.recipientIMSI==tmpBPSS.split('_')[3].split('#')[1]" if eval(filterParam): print "Evalled" else: print "Not Evalled\nfilterParam\n'%s'\ntmpBPSS\n'%s'\nself.recipientMSISDN\n'%s'\nself.recipientIMSI\n'%s'" % (filterParam, tmpBPSS, self.recipientMSISDN, self.recipientIMSI)[/code] I am not getting anything to 'eval'. Here are the results: [code] Not …

Software Development python
Member Avatar for TrustyTony
0
81
Member Avatar for Ca67

Hi I have been working on an assignment and have run into some problems. The assignment is an awk script that splits the shell script into BEGIN and END. In particular, the problem is in the END section with the sorting of a numeric array. I have tried the following …

Software Development shell-scripting
Member Avatar for LordNykon1121
0
118
Member Avatar for Cap'nKirk

Hi, I am trying to add extra function to a small app that I have made and part of incorporating this is to use radio buttons. Basically a user has to choose between 1 of 2 radio buttons and then press a normal button. I am having trouble trying to …

Software Development
Member Avatar for Alexpap
0
3K
Member Avatar for t_yalthis

I added these three components from tools menu/choose toolbox items; however they are not working when I changed the drive or directory.. here is the code of these three components in case they change private void driveListBox1_SelectedIndexChanged(object sender, EventArgs e) { try { dirListBox1.Path = driveListBox1.Drive; } catch (Exception ex) …

Software Development vb.net
Member Avatar for rhizome
0
870
Member Avatar for Simon180

how would i go about spliting a string that is stored in a StringList ? information in string looks like this: Name RanK now i need to split them so i can use a funcation like this data[0] for Name and data[1] for rank can sumone help me please? thanks

Software Development pascal
Member Avatar for FlamingClaw
0
227
Member Avatar for salgaby

Hey I need help with the math tutor. I need to be able to print out if the answer is right or not . Also let the user enter the number of math problems per set and what the max number will be for the set. If you could please …

Software Development c++
Member Avatar for salgaby
0
199
Member Avatar for zachattack05

Thanks to you guys I have been able to get my first application halfway going. But I have a question about data integrity. The application that I am developing utilizes a single sql server and multiple work stations accessing that sql server. What is the best way to maintain data …

Software Development sql
Member Avatar for zachattack05
0
98
Member Avatar for krishnisilva

hi, how do u make a text box uneditable at runtime, the value is shown in the textbox but the value cannot be changed, how can i do this,?? thanxxxxxxxx

Software Development c#
Member Avatar for Szpilona
-1
148
Member Avatar for olofom

I'm writing a slideshow program with Tkinter, but I don't know how to go to the next image without binding a key. [CODE=python]import os, sys import Tkinter import Image, ImageTk import time root = Tkinter.Tk() w, h = root.winfo_screenwidth(), root.winfo_screenheight() root.overrideredirect(1) root.geometry("%dx%d+0+0" % (w, h)) root.focus_set() root.bind("<Escape>", lambda e: e.widget.quit()) …

Software Development os-x python tkinter
Member Avatar for olofom
0
311

The End.