132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nihao

Hello everyone! I have a problem . How to maintenance the file's last modified time when upload it to FTP server? Please help me.Thank you~

Software Development ide java
Member Avatar for nihao
0
141
Member Avatar for abhipro

Hi all, I am tying to test the code from the following url [url]http://www.obviex.com/Samples/Encryption.aspx[/url] The following Decrypt code has some issues. It does not give any errors, but the plaintext is not returned either. The corresponding Encrypt code is working fine. [CODE] public static string Decrypt(string cipherText, string passPhrase, string …

Software Development encryption
Member Avatar for sknake
0
141
Member Avatar for Seagull One

I'm writing some code for my robot's stereoscopic vision. This is how I'm calculating the stereo vision in python (I'm using the roborealm API). [CODE=python]COGXR = rr.GetVariable("COG_X_RIGHT") COGYR = rr.GetVariable("COG_Y_RIGHT") COGXL = rr.GetVariable("COG_X_LEFT") COGYL = rr.GetVariable("COG_Y_LEFT") Z_Actual = (11 * 5.5)/COGXL-COGXR X_Actual = (COGXL*Z_Actual)/(5.5) Y_Actual = (COGYL*Z_Actual)/(5.5)[/CODE] Whenever I run …

Software Development api daniweb-api python
Member Avatar for Seagull One
0
571
Member Avatar for low1988

i wonder how to initialise some value in the linklist ,before insert the new node value? [CODE] #include <iostream> #include <conio.h> using namespace std; struct employeeInfo { string name; int id; string department; employeeInfo *next; }; const int SIZE = 10; employeeInfo employed[SIZE] = {{"Michael bay",1234,"Design"},{"Enrique",5678,"Production"},{"Fernando ",9012,"Management"}}; class List { …

Software Development c++
Member Avatar for Murtan
0
115
Member Avatar for vextorspace

when using the data_files option in my setup.py #!/usr/bin/env python import ctypes from OpenGL.platform import win32 from distutils.core import setup import py2exe import sys sys.path.append("dist") setup(options = {"py2exe": {"compressed": 1, "optimize": 2, "includes": ["ctypes","Tkinter","Numeric"], "excludes": ["OpenGL"] }}, zipfile = None, data_files=['msvcr71.dll', glut32.dll'], windows=['myprogram.py'] ) I get an error saying msvcr71.dll …

Software Development file-system opengl python tkinter
Member Avatar for vextorspace
0
279
Member Avatar for Darth Vader

I am trying to declare dimensions like this but this example does not compile. I think the declarations might be something wrong with but cant figure it out what it can be: [code] class Dime1 : List<String> { }; class Dime2 : List<Dime1> { }; Dime2 Dim3 = new Dime2(); …

Software Development
Member Avatar for Antenka
0
175
Member Avatar for StarZ

I'm a newb in Java. how do I make the loop stop when the user enters 0. Is the codes right so far? I can't seem to run it, theres 1 error saying (no source location) The output is suppose to look like this: 1. show total in bank. 2. …

Software Development java
Member Avatar for Grn Xtrm
0
131
Member Avatar for Nattynooster

Hi, I'm new to VB :sweat: Basically what I am trying to achieve is a browse button where the user is required to find a location for the file that my program will be creating. I'll give an example. |TextBox1| (Button4) When button4 is clicked it will open up a …

Software Development vb.net
Member Avatar for TomW
0
170
Member Avatar for lancevo3

I get the warning control reaches end of non-void function and I'm not seeing what causes it. [code=cplusplus] double ExprTree::evaluate(TNode* p) const { if(p->data == "+" || p->data == "-" || p->data == "*" || p->data == "/") { double op1 = evaluate(p->left); double op2 = evaluate(p->right); if(p->data == "+") …

Software Development c++
Member Avatar for sfuo
0
786
Member Avatar for Alba Ra

Hello, I am training as a future software developper, so maybe my problem can be solved differently, but for education the following problem is the problem (and not some code with a specific aim). Have have an application (a Mastermind clone) in Windows Forms mode. Everything is inside of different …

Software Development c# microsoft-access
Member Avatar for Alba Ra
0
426
Member Avatar for DC257209

[code=c++] // #include <iostream> using namespace std; int main() { int age; int weight; int height; cout << "Enter your age." <<endl; cin >> age; cout << "Enter your weight (in inches)." <<endl; cin >> weight; cout << "Enter your weight (in pounds)." <<endl; cin >> height; if ((age >= …

Software Development c++
Member Avatar for Grn Xtrm
0
103
Member Avatar for Bemani_lover

I need some help on Arrays. Here is the project I'm working on. Write a program to read the items into two arrays, x and y, of size 20. Store the products of corresponding pairs of elements of x any in a third away, z, also of size 20. Print …

Software Development c++
Member Avatar for StuXYZ
0
185
Member Avatar for phantom8l

Hey everyone im trying to finish up my custom renderers for menustrip toolstrip and statusstrip but when i override the OnRenderSplitButtonBackground the dropdown arrow dissapears here is my code [CODE] protected override void OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs e) { if (e.Item.Selected) { Rectangle rectBorder = new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - …

Software Development
Member Avatar for Diamonddrake
0
185
Member Avatar for Comix Zone

Hi, I am new member of this forum, and i find it quite interesting. Here is my problem, i have some work for school that have to finish fast, and of course I google it, and found it here :) But there seem to be little problem, code that I've …

Software Development c c++
Member Avatar for Comix Zone
0
228
Member Avatar for vanand

Hi all, I would like some advice as to how to go about this particular problem that I am facing. I have three computers involved in this problem: There is a real time DATA SERVER. The problem with DATA SERVER is it is located inside an internal private network. So …

Software Development python
Member Avatar for vanand
0
99
Member Avatar for Se7Olutionyg

I was trying to link those file but it occur the compiling error anyhellp would be appriciated

Software Development c++
Member Avatar for Se7Olutionyg
0
66
Member Avatar for jtabak2

I am relatively new to python, and have run into an issue with reading a strangely formatted output file. The current format of the output file for each line is [(x,y),.....(x,y)] (tuples nested within a list?) and I need to read each line in the file and output a 3 …

Software Development python
Member Avatar for jice
0
165
Member Avatar for Se7Olutionyg

[CODE]//****************************************************** // Filename: Solution_Lab_03.cpp // Purpose: Paint Your House Calculations // Author: Ken Busbee; ? 2008 Kenneth Leroy Busbee // Date: Dec 24, 2008 //****************************************************** // Headers and Other Technical Items #include <iostream> using namespace std; // Function Prototypes void pause(void); double getValue(); double calculateArea(); double numgallons(); double totalCost(); //****************************************************** …

Software Development c++
Member Avatar for sfuo
0
129
Member Avatar for KirkPatrick

Well I'm going through a lot of my code and wanting to clean it up a bit by creating functions to do the necessary tasks instead of having code that is multiple lines long. For example, I use the following code multiple times [code=java] ViewObject vo = new ViewObject(a, b, …

Software Development java
Member Avatar for Ezzaral
0
117
Member Avatar for infern0
Member Avatar for Ineedhelpplz

I receive the following error when I compile my code: [CODE]blade71(154)% gcc -o vt visitype.c Undefined first referenced symbol in file aVal /var/tmp//ccrbSM18.o ld: fatal: Symbol referencing errors. No output written to vt collect2: ld returned 1 exit status blade71(155)% cat visitype.c #include <stdio.h> #define MAX 1000 void aVal(char asciiname[], …

Software Development c
Member Avatar for Ineedhelpplz
0
185
Member Avatar for TinoMclaren

Hello All: I have 2 dataGridViews and id like it that when I select a row in dgv_A that dgv_B clearsSelection. I have aceived this using dgv_A_SelectionChanged { dgv_B.ClearSelection(); } and the same for dgv_B_SelectionChanged, except it obviously clears A. This works fine except for one thing : when I …

Software Development
Member Avatar for Geekitygeek
0
215
Member Avatar for Nishanthi

right now i m working in netbeansIDE with web application i m trying to connect to sql server 2005 database using the preceding coding Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbcdbc:data"); Statement st=con.createStatement(); st.executeUpdate("insert into audio values(11)"); con.close(); st.close(); now no data are inserted int the audio table what is the solution for this.Its …

Software Development audio java web-server
Member Avatar for peter_budo
0
80
Member Avatar for flit07

Hi, I'm trying to pass a string from form1 to form2. The string will change dynamically change as it receive inputs in form1. I've tried some example on passing by property and passing by constructors. But, I can't read the string in the second form. Any pointers? Thanks. Dan

Software Development vb.net
Member Avatar for flit07
0
201
Member Avatar for KirkPatrick

I currently have strings that are all the same throughout my classes, I was just wondering how I could make the value of the strings pass from the main class to the rest of the classes. My reasons being that I am wanting to create a property file and have …

Software Development java
Member Avatar for KirkPatrick
0
283
Member Avatar for Learning78

Hi; I am new to VB.net and am developing a memory quiz. The quiz contains more than 100 questions imported from access 2002 db. For the learning process, I need to run the game again and again. At the moment, I can't randomize the question order, I am getting the …

Software Development dataset vb.net
Member Avatar for Learning78
0
164
Member Avatar for jrosh

Please tell me how to check the version of the JDK of the java installed .... I wanna knw the version of the JDK which is the version of my code. NOT the version of JRE!

Software Development java
Member Avatar for masijade
0
51
Member Avatar for Geekitygeek

I'm currently re-writing a bit of code and i'm in two minds about which way to take it. Advice would be greatly appreciated :) The application is used to control a USB circuit board. The board has 32 analog outputs. The outputs are switched on and off by sending a …

Software Development mathematics pc-peripheral
Member Avatar for Geekitygeek
0
194
Member Avatar for zidaneqrro

I started an introductory Programming Course in High School, and right now we're doing Visual Basic. (We're learning about For Loops :/) I find the course far too easy and I can do 90% of the work of a single unit in one class. I would like to get ahead …

Software Development visual-basic
Member Avatar for Vineeth K
0
81
Member Avatar for phoenix_dwarf

Hi, i'm trying to focus the cursor on a textbox inside one of my tab controls (3 tabs) but my method doesn't seem to work...Any ideas? Here is my code: [CODE]private void Maintenance_Load(object sender, EventArgs e) { tabControl1.Focus(); tabControl1.SelectedIndex = 0; txt_CLName.Focus(); }[/CODE]

Software Development
Member Avatar for Antenka
0
2K
Member Avatar for Shigekazu

Hello all, I'm trying to add a multiple JTextFields onto a single JPanel that has been already initialized thanks to the Design tool from the JFrame. I'm pretty sure that I already added them and I'm not getting any errors but they aren't showing up when I execute the program. …

Software Development java java-swing
Member Avatar for quuba
0
162
Member Avatar for krisny

Hi All, I have a C++ program( using VC++6.0 with MFC) which calls another C++ .exe and performs some actions on it. The problem I am facing is that I get the file name of the .exe by using a GetDirectory function. Thus I am able to get the full …

Software Development c++
Member Avatar for krisny
0
305
Member Avatar for EvanRG

Hey guys, long time reader -- with maybe one post I think. I'm pretty new to C++ but can hold my own.... but I was looking for some help. What is the best way to go about allowing the user to input as many inputs as they want, then when …

Software Development c++
Member Avatar for Tom Gunn
0
149
Member Avatar for aomran

I have two source files main.cpp and process.cpp and two header files dheap.h process.h all under project assignment1, I am using code blocks. I compliled main but I got the following message: [COLOR="Red"]Linking stage skipped (build target has no object files to link) Nothing to be done.[/COLOR] Is there anything …

Software Development c++
Member Avatar for Ancient Dragon
0
359
Member Avatar for gururajb

I have one directory consisting of logfiles... I want to run 3 threads for m files where m is big. Here is my code in which i have created thread array and want to reuse the threads soon they finish the void run. But i am not able to use …

Software Development java multithreading
Member Avatar for JamesCherrill
0
92
Member Avatar for tuffyg

[CODE] package farecalc; import java.io.*; public class FareCalc { public static void main (String[] args) throws IOException { BufferedReader in; in = new BufferedReader(new InputStreamReader(System.in)); double firstMile = 2.80; double otherMile = 1.20; System.out.println("Please insert your total Mileage"); String mileageInput = in.readLine(); double mileage = Integer.parseInt(mileageInput); double price = firstMile …

Software Development java
Member Avatar for majestic0110
0
111
Member Avatar for Rads19

[CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; public class MultipleChoice1 extends Applet implements ItemListener { String question1 = new String("1. 7+2 = ? a.6 b.8 c.9 d.10"); String question2 = new String("2. 9-5 = ? a.2 b.4 c.6 d.8"); String question3 = new String("3. 144/12 = ? a.12 b.10 c.14 d.16"); …

Software Development html-css java
Member Avatar for Rads19
0
165
Member Avatar for osei-akoto

Please can somebody explain to me whether sometimes the strrev function fails or not. I was giving an assignment to write an application that can detect whether an entered word from the keyboard is a palindrome or not. After accepting the string and tried to use the function from the …

Software Development c
Member Avatar for yellowSnow
0
635
Member Avatar for MxDev

Hi dudes, Many times when I read others codes I found they're using[ICODE]attributes [/ICODE], and actually I don't know when to use attributes, or when it becomes necessary to use it to be aware of it in my written codes. So, would some one here help me. Any help appreciated, …

Software Development
Member Avatar for sknake
0
107
Member Avatar for chingkoysilog

im not a little bit familiar with c program.....so can u help me to change this program to c program......pls ASAP.. here are the code: import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import javax.swing.*; public class TicTacToeServer extends JFrame { private byte board[]; private boolean xMove; private JTextArea output; …

Member Avatar for yellowSnow
0
206
Member Avatar for bbballin

i have to write a program where i input two positive integers (L and H) which are both less than 21. the program then prints out a box of solid asterisks wit L horizontal asterisks and H vertical asterisks. i dont really know where to start... can someone tell me?

Software Development c
Member Avatar for yellowSnow
0
83
Member Avatar for pula.alt

I have to write a program to take in user input (VIN#, Car Maker, Car Model) and reorganize it based on either alphabetical order (for Car Maker only) or numerical order (VIN#). I'm using g++ to compile the code on CentOS. I've done a majority of the code but I …

Software Development c++
Member Avatar for dkalita
0
283
Member Avatar for A.Najafi

Hi All, Can I Show my file-dialog form as Right-to-Left? because Persian language is Right-to-Left. Thanks.

Software Development vb.net
Member Avatar for sknake
0
124
Member Avatar for romes87

Hi, I am trying to do a simple task in Python but I keep getting error. I have a string stored in a variable and a simple GUI with a button (in 1st.py) which will call another function in a separate file (twond.py) which will split that string and store …

Software Development app-store file-system gui python tkinter
Member Avatar for romes87
0
4K
Member Avatar for opethcire316

Hello, I am new to this forum and need a little help. I am taking an intro to Java Course and we are creating a project that reads in a set of user inputted numbers and stops when the user inputs any letter. From a textbook example they have the …

Software Development dataset java
Member Avatar for opethcire316
0
3K
Member Avatar for MxDev

hi guys, How to make a child form refer to it's parent form, what i mean is that when the child form created it's lock the parent till it finish. thanks in advance

Software Development
Member Avatar for sknake
0
111
Member Avatar for rajeshkhanna_in

Hi there, I get an error message everytime I try to run a software written in vb6.0. The error is "vsflex7d.ocx not currectly installed or one of its components is missing". I tried to seek it on the net but it seems it is not available on the net also. …

Software Development visual-basic
Member Avatar for Fahim6479
0
626
Member Avatar for lotrsimp12345

My understand is in generic programming you can have multiple containers, which use iterators but use the same algorithm. Wouldn't template be considered a ADT? Really confused.

Software Development algorithm c++
Member Avatar for kvprajapati
0
299
Member Avatar for jhai_salvador

hey guys.... does anyone here knows how to disable and enable CTRL, Alt, windows keys, or Tab key in keyboard?... because im going to use it in my time cafe client project in vb...

Software Development visual-basic
Member Avatar for omoridi
0
1K
Member Avatar for Ichibang

First i'll explain my program a bit. Im writing a Windows based app. In the main form, i have a DataGridView which binded to a DataSet. When i double-click the RowHeader, a detailed view of the selected customer will pop-up. So i can make changes to the customer details, and …

Software Development dataset
Member Avatar for sknake
0
2K

The End.