132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for werks

Hi experts this is an urgent question. how do you import and export database online? I have 2 equal database. I uploaded my FrontEnd(OPAC) and Database online. I have also a same database in my BackEnd(VB6) located in my computer. My problem is how do i update both database in …

Software Development visual-basic
Member Avatar for werks
0
113
Member Avatar for GermanD

Hi, I'm sitting with a weird problem. I created an application in C# 2005 Express. It has 3 timer controls in it. The first timer runs as a clock (system clock) and once this timer reaches a specific time during the day it runs its procedure (this works fine) The …

Software Development
Member Avatar for GermanD
0
94
Member Avatar for mdelaossa

Hello, In my java class we've been asked to create a painter program that allows the user to draw on the screen (as with a paintbrush). I had no trouble creating the program and having it perform up to standards with what was asked, but something that troubles me and …

Software Development java
Member Avatar for mdelaossa
0
150
Member Avatar for msaenz

greetings, im writing that program that creates a 2 square matrices that need to be added. but the trick is i need to use pthreads in order to do it... for soem reason my output is just 0. Any help would be appreciated im almost done im just stuck on …

Software Development c
Member Avatar for Dave Sinkula
0
189
Member Avatar for Gowrishankar

Hi, How to set the focus in a text box control?I want to blink the cursor in the textbox control while executing...Is there any property for this..?What is the command in ASP.NET using C#..?Thanks in advance...

Software Development asp asp.net
Member Avatar for nukewarm
0
2K
Member Avatar for katak_guy

How do i access the '\n' (newline) character in text widget? because I've a problem doing my project. I would like to ignore the character but ......... if (A2int[plain[i]]=='\n') do the trick. Any ideas? [B]KeyError: '\n'[/B]

Software Development python tkinter
Member Avatar for katharnakh
0
230
Member Avatar for pottert

hey everybody, I'm in an Intro to Programming with C++ class and I need help with an assignment. Is there any way to declare variables or arrays in Hexadecimal? If so, how should I do this? If this isn't possible, is there any way for me to indicate to the …

Software Development c++
Member Avatar for Ancient Dragon
0
6K
Member Avatar for RMartins

Can anybody tell me how can i avoid the overflow of this program? from math import sqrt f=lambda n: sum([int(i)*int(i) for i in str(n)]) L=[] for n in range(0,10**20): if sqrt(f(n))%1==0:# == float(int(sqrt(f(n)))): L.append(n) L.sort() print "Número de quadrados perfeitos na lista:",len(L) print L y= lambda L: reduce(lambda x,y: x+y,L) …

Software Development python
Member Avatar for G-Do
0
86
Member Avatar for bleonard989

This might be really simple or impossible, but what I need to do is somehow take what the user inputs in the client code, and set one of my variables in my constructor to the variable in the client code. This is my client code [code=language] int main() { StackType<int> …

Software Development c++
Member Avatar for Ancient Dragon
0
126
Member Avatar for SolTec

I have a form that is supposed to update tblMain in my database, and when I press btnSave it says in a messagebox, saved, but when I look at the table or try and recover the data from the dataset all I see is NULL values. Any help would be …

Member Avatar for VB_help
0
143
Member Avatar for Jboy05

I have to wrtie a valid C++ condition (Boolean expression) for each of the following checks: (naming my own variable when needed) [code] if the value of the variable GPA is between 3.0 and 3.6 excluding 3.0 and 3.6. if a voter is at least 18 years old and had …

Software Development c++
Member Avatar for Ancient Dragon
0
115
Member Avatar for jrkeller27

In C++ is there a way to define a class to be "comparable"? What Im trying to do is write a class that holds a string and a vector of numbers. If an object of this type is compared to another object I want the string that each object contains …

Software Development c++
Member Avatar for vijayan121
0
3K
Member Avatar for sbecker

I doing a proof of concept script to automate getting a field from ps. Currently, the script takes 2 imputs and I'm almost there but cannot get awk to recognize $2. I want to invoke it like this: #./script init 2 (search for init and get PID). Obviously, $2 to …

Software Development shell-scripting
Member Avatar for eggi
0
79
Member Avatar for neknek

We are supposed to make a program.. and I have a problem.. It's a inventory program, and on the 1st option, you'll add things in the inventory.. on the 3rd option.. you have the option to cut the price... on the second option.. you need to display the changes you …

Software Development c data-structure
Member Avatar for plgriffith
0
108
Member Avatar for ckins

I can make a box with a char quite easily where the user enters two values L, and W using a for loop but I don't know how to make just the outline. I'm told there are 2 if else statements needed and I've nested my for loop. I don't …

Software Development c++
Member Avatar for VernonDozier
0
335
Member Avatar for darknight09

[QUOTE]This program was suppose to make a bingo chess game.. but i am totally clueless.. so far the notes i got was jumbled so i have no clue at all.. anyone mind helping me out? This is a sample image that it suppose to look like a bit: [URL="http://img86.imageshack.us/img86/2594/55923788ip0.jpg"]http://img86.imageshack.us/img86/2594/55923788ip0.jpg[/URL] What …

Software Development c
Member Avatar for darknight09
0
252
Member Avatar for Metahuman

[CODE]int k = 0; int g() { k = k + 1; return k; } int D[] = {13, 19, 47, 3, 7}; ….. D[ g() ] = D[ g() ]++ — D[ g() ]++;[/CODE] According to a book from which this problem comes this code will generate 5 to …

Software Development c c# c++ visual-studio
Member Avatar for Aia
0
107
Member Avatar for virtual008

Hello I'm trying to make a simple function to Rot13 strings and it's not working.I ran it through my debugger and it works until it get to the top of the loop again???Then some of the chars are rot13ed and some stay the same. [code=c++] void Rot13(std::string &buffer) { int …

Software Development c++
Member Avatar for virtual008
0
215
Member Avatar for Phantom5800

I am using a program called FunEditor, I doubt many people know about it, but if you do help is requested. Before I go into my problem I will explain ProjectFUN a little bit first. Basically it is a C++ 2D game making program that is slightly simplified and does …

Software Development c++
Member Avatar for rjsmith64
0
91
Member Avatar for nate12457

Can anyone tell me why this is happening? All the code and input files are below. Stack.h [code] #include <iostream> #include <vector> using namespace std; const char FILE_NAME[] = "palindrome.txt"; typedef char StackElement; class Stack { private: vector<StackElement> myVec; public: bool Empty() { return (myVec.size() == 0); } void Push(StackElement …

Software Development c++ ios
0
82
Member Avatar for bwjones

Hi all, so I'm stuck on a certain part of a program for my C class. Okay the program is supposed to query a user for a set number of entries for temperatures which is 26. It is supposed to take those temperatures and calculate the avg. at the end. …

Software Development c
Member Avatar for bwjones
0
187
Member Avatar for ithelp

which accepts an integer of arbitary length as an input and takes maximum polynomial time to execute , let us define a language L= {n | P does not crash for any input of size n} How is easy or difficult to prove that L belongs to NP ?

Software Development c++
Member Avatar for Duoas
0
100
Member Avatar for flash121

Hello, I have an array with 10 random numbers ranging from 1 to 10. I'm trying to write a function that would create a new array which would contain the number of times a number apperead in the first array and return a pointer to it. For example: if the …

Software Development c++
Member Avatar for flash121
0
61
Member Avatar for guitarrick

Looking for the best way to search a string for project that must test for bad input. Must be able to detect wrong characters, letters, etc.

Software Development c++
Member Avatar for farag
0
103
Member Avatar for Jennifer84

I assigned String ^ Box1 like this. [code] String^ Box1; Box1 = comboBox1->SelectedItem->ToString(); [/code] What I am trying to do now and wonder is if it is possible is to put [COLOR="Green"]"comboBox1->SelectedItem->ToString()"[/COLOR] to a vector. For the std:: it would look like this: [code]std::vector<string> StdVector; StdVector[0] = "comboBox1->SelectedItem->ToString()"; [/code] My …

Software Development c++
Member Avatar for Jennifer84
0
174
Member Avatar for farag

i want to make a c++ program to run or compile a c++ source file stand alone from hard disk thanks in advance

Software Development c++
Member Avatar for farag
0
165
Member Avatar for Ryuji5864

I am currently taking C++, and I just want to know why it says,"Illegal Else without if," and I would like to know how to fix it so I will not encounter this problem again. I would like to know where to put the brackets, "{ " Here is the …

Software Development c c# c++ file-stream
Member Avatar for Ryuji5864
0
175
Member Avatar for begyu

Hi, I should printout the value(s) of the "sum" of the end of the code... But i don't know...:( I am not good at C++. Please help! The code is not so difficult: it generates random 3 dimensional vectors, e.g. number of 5. Then makes a matrix of 3x3 from …

Software Development c++
Member Avatar for Lerner
0
137
Member Avatar for geetajlo

Hi i want to convert only the first letter of a firstname n his lastname seperating by a space. Note every time he/she input firstname the first letter should be Uppercase and when she/he press the space bar the last name only the first letter should be Uppercase. Help Me …

Software Development vb.net
Member Avatar for Alekhan
0
112
Member Avatar for sean_morris9

Hi, I'm looking for help with this. I'm tring to get an image back from my SQL Server Express database. The code below is where I'm calling the stored procedure from. If I leave out the IF STATEMENT and WHILE LOOP I'm getting an error saying it's trying to read …

Software Development sql web-server
Member Avatar for sean_morris9
0
965
Member Avatar for matabor

Hi guys :) I've just learn programming in turbo pascal, and my teacher made an assignment to make pyramid of numbers as this: [code] 1 1 2 1 2 3 3 2 1 2 1 1 [/code] so far i've only come up as this: [code] uses crt; var i,j,k …

Software Development pascal
Member Avatar for Duoas
0
362
Member Avatar for Marks256

What would need to be done in order to make an application go full screen? this means NO task bar, or Title bar. I did find a small bit of code (a while back), but it didn't work. Any ideas/solutions would be great! :) Thanks!

Software Development vb.net
Member Avatar for clikka
0
242
Member Avatar for vladdy19

Could someone help me out I need to change a String such as "asu" I'm thinking of using the ascii but I'm not sure how i could do that

Software Development java
Member Avatar for javaAddict
0
168
Member Avatar for tactfulsaint

Hello EveryOne I need Help here ,i have been trying to view this GUI but it keeps showing me this erroe `NoClassDefFounderError`. Anyones help would be appreciated. import java.awt.*; import java.awt.event.*; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import javax.swing.*; public class HeartLandHomeFinance2 extends JFrame { JPanel Panel; JLabel …

Software Development finance gui java java-swing
Member Avatar for Ezzaral
0
118
Member Avatar for tpluscomb

I've been working on a program which reads in a sequence of numbers entered by the user. It's read in as a string and then converted to numbers. Then I am suppose to get the sum of those numbers and report it back. I got most done and I know …

Software Development assembly operating-system
Member Avatar for Duoas
0
9K
Member Avatar for jasmin_java

Hello Could anyone help us , we have a minesweeper's game code in java the game is good but has two problem the first one is when you press a mine button the game should be over and you can not press on any other button but our code allow …

Software Development java java-swing
Member Avatar for jasmin_java
0
146
Member Avatar for jessel

hello sir i'm a new user,i just want to ask if you have sample programs which deals on linked list....if possible not the add.edit,delete program

Software Development c linked-list
Member Avatar for zhelih
0
89
Member Avatar for darknight09

im having trouble programming , but its suppose to look something like this,, can anyone help out? im a beginner in c++ so i don't know much... tthis are my notes and im not sure how to do it image that it suppos to look like: [url]http://img86.imageshack.us/img86/2594/55923788ip0.jpg[/url] what it would …

Software Development c
Member Avatar for zhelih
0
107
Member Avatar for Greg123

Hello, I have dynamically allocated memory that I would like to share across threads. More specifically, I have an ACE thread pool, which I use to process requests on dynamically allocated ACE_Method_Request objects. These objects are created once at startup, and then processed throughout the system's running state (i.e. the …

Software Development c++
Member Avatar for Greg123
0
171
Member Avatar for Moporho

I need to build a simple integer caluclator that perform arthmetic functions of addition, subtraction, multiplication, modulus and disvision. The calculator contains an Accumulator that stores the current result. The Accumulator is also involved with each operation. Make sure that you define a class for this program. Once started, the …

Software Development c++ legal
Member Avatar for WaltP
0
191
Member Avatar for chankya

I want to change the color of the whole row("which is containing different data types in different cells") depending upon the value of one column. Have any idea????? Please help!!!!!!!!!!!!!!!!!!!!!!!1

Software Development java
Member Avatar for Phaelax
0
145
Member Avatar for sfurlow2

Here's a problem we're supposed to do for my class: Input five numbers from the user and print the highest, the lowest positive number, the highest (closest to zero) negative number and the lowest number. If the user enters all positives or all negatives, print "none" for the missing output. …

Software Development c++
Member Avatar for WaltP
0
93
Member Avatar for sugantha

Hi friends, I am using Netbeans 6.0.1 and I've installed MySql on Fedora 8...I 've been able to configure the jdbc-MySql connector that's bundled with Netbeans and I can create tables and query MySql using the Netbeans GUI.So I guess my connection was correct...My connection properties are as follows: Database …

Software Development gui java java-netbeans mysql
Member Avatar for Ezzaral
0
587
Member Avatar for msaenz

Getting this error don't understand really what i need to do to trouble shoot... hw.c: In function ‘PrintMatrix’: hw.c:14: error: subscripted value is neither array nor pointer hw.c: In function ‘main’: hw.c:27: warning: passing argument 1 of ‘PrintMatrix’ makes integer from pointer without a cast [ICODE] #include <stdio.h> #include <pthread.h> …

Software Development c
Member Avatar for WaltP
0
112
Member Avatar for Rentro

I have a string that looks for example like this: "aabbccddeeffgg" I want to retreive the "ee" or the "cc" value from that string. How can I do that ? The tokenizer is not what I am looking for. I'm looking for the function that allows you to specify that …

Software Development java
Member Avatar for Parsu7
0
212
Member Avatar for turnerca902

Hi folks, I believe this is a simple task, but I'm having problems getting things to work the way I would expect them to. What I have is a master file containing about 1000 lines. Each line looks like this: 2008_06_01 07:55 24.8 83.1 What I need to do is …

Software Development python
Member Avatar for turnerca902
0
113
Member Avatar for c++ prog

i've been developing a game for quite some time now...it will be finished soon...my only concern now is how to make my game more interesting to the gamer's eyes...so i included a video to be able to give a brief background of how the story unfolds...but the problem is that …

Software Development vb.net video
Member Avatar for c++ prog
0
91
Member Avatar for toomuchfreetime

Hey can any one help me i'm doing a hangman program and want to display blanks where a to z is. how can i do this? I've got it replacing "a" but can't get it to replace the rest i.e. b to z any help would be appriaciated. [code] show …

Software Development java
Member Avatar for toomuchfreetime
0
118
Member Avatar for nsoni

Hi Everyone, I am new user for this community and as a trend when we are in trouble then we remember friends. Don't mind . My Question: My application creates trace.txt file which contain debugging information when app. is running but in real production there may be a problem because …

Software Development c++
Member Avatar for Ancient Dragon
0
147
Member Avatar for Jozin_z_Bazin

Hi I was create a form in Qt Designer and saved as UR.ui (main title of this forms is "MainWindow") next write in terminal: pyqt4 UR.ui > UR.py and open created file UR.py and write: import sys from PyQt4 import QtCore, QtGui from UR import Ui_MainWindow class StartQT4(QtGui.QMainWindow): def __init__(self, …

Software Development python qt
Member Avatar for nish88
0
141

The End.