132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for madhavipoudala

[b]hello, i want a help for you all. about mysqlprocedures and functions i am enable to create procedures and functions in mysql so that i am enable to do jdbc colleable statements programs. please help me[/b]

Software Development java mysql
Member Avatar for jwenting
0
72
Member Avatar for William Hemsworth

Hi I have a small question, probably quite obvious but I cant seem to figure it out. When using the ifstream or any other stream you can tell if it was sucessfull in its last event. For example: [CODE=CPP] #include<fstream> int main() { ifstream in("test.txt", ios::in); if (in) { } …

Software Development c++ ios
Member Avatar for William Hemsworth
0
110
Member Avatar for ADeen02

Hey this is Mohamed Shahabudeen. Can someone please help me with the following! Enter the following program called “composers.pro” % This database is about composers % Datarecords: composer’s last name, birth and death year composer (monteverdi, 1567, 1643). composer (bach, 1685, 1750). composer (vivaldi, 1678, 1741). composer (mozart, 1756, 1791). …

Software Development
Member Avatar for Ancient Dragon
0
124
Member Avatar for VernonDozier

I was debugging some code yesterday and, after about fifteen minutes, found the culprit. This was in the code: [code] if (a = b) { // code } [/code] instead of this: [code] if (a == b) { // code } [/code] A very common mistake, but an aggravating one. …

Software Development c++
Member Avatar for fierykido
0
1K
Member Avatar for zoner7

I basically need a function that, after a certain amount of time has elapsed, will restart a program from scratch. This is because the code can get stuck at a certain point if wrong decisions are made. I am curious how to go about making this. I am sure it …

Software Development c++
Member Avatar for Ancient Dragon
0
120
Member Avatar for WebMonkey76

OK...here is the deal.... I am messing around with this jGRASP program... I was able to create a program that will display the squares of the numbers from 1 to 10 by using the "FOR" structure. This is what I have done and here are the results, which is what …

Software Development java
Member Avatar for Software guy
0
106
Member Avatar for ramjeev

Hi friends, I have to fetch date, month & year from Calendar.For that I need a Calendar with User Interaction from which i can fetch. Is there any Calendar (builtin) in swing or i have to make it my own?.Pls let me know if u have any idea. with Thanks, …

Software Development java java-swing
Member Avatar for Ezzaral
0
65
Member Avatar for Jennifer84

I wonder if there is a good way to substring this string: [code] std::string OneString = "1,2,3,4,5,6,7,8,9"; [/code] so the substring will look like this: [B]1,2,3,4,5,6[/B] So what I am trying to do or wonder is, if there is a good way to substring from the end and 3 Commas …

Software Development c++
Member Avatar for Jennifer84
0
320
Member Avatar for saurabh singh

Hi , I want to create a System.Windows.Forms.Timer in a new Thread. When I do this everything remains OK but the timer never goes inside its tick event.I'm in deadlock condition. If anyone can give me some hint, I shall be very thankful to him/her. Regards- Saurabh

Software Development
Member Avatar for vavatl
0
169
Member Avatar for johnroach1985

Hi ! I am working on this project; the thing is that I want my program to create it's own environment variable path so it can be called from and used in CMD too. How can I do this... Googling hasn't been any help yet. Thanks in advance!

Software Development c#
Member Avatar for johnroach1985
0
135
Member Avatar for Agni

Hi, We're using curses library functions to draw windows in our project. For showing an error the error message is enclosed within '-'s , it seems to be working fine till we ported to a new linux machine where its displaying some garbage instead of the '-' . To be …

Software Development c++
Member Avatar for Duoas
0
117
Member Avatar for jsosnowski

I am trying to compile some code using BDS2006 and have received the following err: [Pascal Fatal Error] Variants.pas (1035): F2092 program or unit 'Variant' recursively uses itself. The code is highlighted by the debugger at the end of line 1035 which is the final end; statement for the Procedure …

Software Development delphi pascal
Member Avatar for Duoas
0
155
Member Avatar for prasadsatam

hi, Please mail me vb.net autogenerating number code. regards, Prasad P. Satam Mumbai

Software Development vb.net
Member Avatar for prasadsatam
0
259
Member Avatar for JA5ONS

Okay, I appreciate everyone's help! i am trying to work out how to find a duration type thing.. i have created this as an example of what i am trying to do. [CODE] ### gaining inputs start= raw_input("What time did the tv show start: (Format = 14, 12) ") finish= …

Software Development python
Member Avatar for JA5ONS
0
119
Member Avatar for computers08

I need to keep track of students last names and their GPAs. I need the user to enter 7 names and their GPA. I need to output it in columns. Also I need the average GPA and the Highest GPA. And I also need 'Last Name' earned the highest GPA. …

Software Development c++
Member Avatar for computers08
0
92
Member Avatar for shobha1335

When I typed the command as 'java -version' in commandprompt its showing "java version 1.3.1_01" but I want to set it to latest version of java in the path C:\Program Files\Java\jdk1.5.0_06 Due to this problem Im not able to open Eclipse, its saying "version 1.3.1_01 is not suitable for this …

Software Development java
Member Avatar for peter_budo
0
79
Member Avatar for darkis

So the problem seems to be when i try to compile its telling me on line 16 of the main program (the last line) "unqualified-id at end of input" and "expected ',' or ';" at end of input I played with just about every combination of ending brackets and semi …

Software Development c++
Member Avatar for Nick Evan
0
153
Member Avatar for kinger29

I am trying to learn how to create windows applications using microsoft visual c++ 2008. What is the difference between a Win32 Application and a Windows Form Application? Also does anyone know any good online tutorials or books on creating windows applications?

Software Development c++
Member Avatar for Nick Evan
0
110
Member Avatar for fans3267

i am required to do this : You will write the C++ program for a simple game playing system, which plays against a user. Let’s call the program P and the user U. P and U are in a magical world, in which a dragon can appear. P and U …

Software Development c++
Member Avatar for Nick Evan
0
299
Member Avatar for roblespaulo

Hi, im doing a software that uses diferent tables, and im trying to implement a save button but it doesnt save anything. This is the code. Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Try Dim XCmd As New OleDb.OleDbCommandBuilder(DA) 'DS.AcceptChanges() DS.GetChanges() DA.Update(DS) MessageBox.Show("Saved", "ESP MESSAGES", …

Software Development vb.net
Member Avatar for dadelsen
0
122
Member Avatar for Xokzin

Hi There, Hope you can help with this. I have created a void function which has to add the totals and return the values to the main section for display. For some reason it does not return the totals. I tried everything I know. I also put displays in the …

Software Development c++
Member Avatar for Xokzin
0
335
Member Avatar for bookworm619

I have this problem. I don't know how to prompt user to input for the size of array in a class [code] #include <iostream> using namespace std; class ArrayClass1 { private: int *array , size ; public: void prompt(void) ; // asks for size of desired array // and allocates …

Software Development c++
Member Avatar for VernonDozier
0
127
Member Avatar for kpkat

I need to write a program with seven vectors. The program needs to have methods to input the data into vectors, display a menu to print a report and sell an item, a method to sell an item, and a method to print the report. This is what I have …

Software Development java
Member Avatar for Phaelax
0
2K
Member Avatar for KillerOfDN

Hey. I would like to ask for help regarding SQL server. I have developed a client-side application to run on my clients' agents machines. They will use this software to add items to a cart and print an invoice, in addition to the program eMailing my client to notify him …

Software Development client-server sql vb.net
Member Avatar for ericstenson
0
97
Member Avatar for FTProtocol

[CODE] #include <windows.h> #include <shellapi.h> int main(int argc, char* argv[]) { ShellExecute(NULL,"open","C:/Windows/System32/calc.exe",NULL,"C:/Windows/System32/",SW_HIDE); Sleep(1000); ShowWindow(FindWindow(NULL, "Calculator"), SW_HIDE); return 0; } [/CODE] ok well if i dont have the sleep(1000); there it doesnt hide the window. i want it to load the window hidden, not hide it once its loaded. Does anyone …

Software Development c++
Member Avatar for FTProtocol
0
129
Member Avatar for mysong

Hello, I am in a Java Course and my instructor said my first 2 loans the calculations are wrong. and that I need to have this in an ARRAY also. Any help would be appreciated. [code] import java.text.*; import java.io.IOException; class javamortgage //program class name { public static void main(String[] …

Software Development java
Member Avatar for Alex Edwards
0
211
Member Avatar for k2k

What four ways can you specify the current directory in your PATH? for sh This is a question that I couldn't get it right. I thought pwd is one of the way but it wasn't. can anyone help? thanks

Software Development shell-scripting
Member Avatar for omrsafetyo
0
138
Member Avatar for eparse

In my database, the format for 8 columns are as shown: [code] +------+------+------+------+------+------+------+------+ | MPT | MPB | MP1T | MP1B | MP2T | MP2B | MP3T | MP3B | +------+------+------+------+------+------+------+------+ | 4 | 7 | 1 | 1 | 3 | 3 | 0 | 3 | | | …

Software Development vb.net
Member Avatar for selvaganapathy
0
95
Member Avatar for Gagless

Having trouble understanding how this recursive function works. [CODE]int F( int X ) { return (X<=0) ? 3 : F(X/2)+F(X-3); }[/CODE] I understand the first part, give it a value 0 or less, get back 3, fine. But greater values I don't understand 2 returns 9, 3 returns 9, 4 …

Software Development c++
Member Avatar for Gagless
0
119
Member Avatar for ps02.psp

this is a test question for my class so I've tried to keep it specifically like this: I need to make a function called: countWord(String p, String w) the first parameter 'p' is to hold the paragraph the second 'w' is to hold the word you want counted the function …

Software Development c++
Member Avatar for VernonDozier
0
109
Member Avatar for maxmave

Hello All, How to replace a string in nth line of a file using sed or awk. For Ex: test.txt Line 1 : TEST1 TEST2 TEST3 Line 2 : TEST1 TEST2 TEST3 TEST4 Line 3 : TEST1 TEST2 TEST3 TEST5 Line 4 : TEST1 TEST2 TEST3 TEST6 Line 5 : …

Software Development shell-scripting
Member Avatar for ghostdog74
0
351
Member Avatar for &rea

Hello, I am working with images and I have got a problem. I have this method and I want it to return an array of unsigned ints. I have not got problems of compilation but it does not work properly. Could anyone help me? Thank you in advanced. [code] unsigned …

Software Development c++
Member Avatar for Duoas
0
169
Member Avatar for Extremus

Hey A friend of mine and I, wants to start to develop software in C++, but we can’t seem to find any information about creating software, yes we have read several online tutorials and 2 books, but all the stuff we have been reading is all about console applications, which …

Software Development c++ oop
Member Avatar for Ancient Dragon
0
135
Member Avatar for Catherinedally

[code] Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub …

Software Development vb.net
Member Avatar for Catherinedally
0
209
Member Avatar for JA5ONS

just wondering if there is anything in python to give the date automaticly, just like excel has =today() cheers.

Software Development python
Member Avatar for lllllIllIlllI
0
151
Member Avatar for fedderico10

Hello everybody, ive been looking for an answer to this basic (i thing) issue: Im making a class to read a XML file but the compiling errors are driving me crazy, i cannot figure out how to solve this problem, so here is the code if anyone can help me: …

Software Development c++ xml
Member Avatar for fedderico10
0
662
Member Avatar for Potty391

Hi everyone, I just started working with Python and programming in general (i chose it as a school subject for this year) and i received a task(scroll a bit more down).. since im a total newbie with Python in general.. i was hoping someone could please explain this task in …

Software Development python
Member Avatar for woooee
0
100
Member Avatar for ToHa57

Hi guys Just a simple question from a newbee.. In VB.net I can use "dim t as new timer" in a windows application, but not in a wpfbrowser application. It says that "Typ timer is not defined" anything else in the program seem to funktion. Please if anyone have a …

Software Development printer vb.net
Member Avatar for ericstenson
0
280
Member Avatar for beelzibub

package chessbuard; import java.awt.*; import java.awt.event.*; import javax.swing.*; //import javax.swing.event.*; import javax.swing.border.Border; class ChessBoard extends JFrame implements MouseListener, MouseMotionListener { GridLayout Board = new GridLayout(8, 8); int drag1, drag2; int xMove, yMove, labelw, labelh; JLabel label; String[] manrow = {"Pawn0", "Pawn1", "Pawn2", "Pawn3", "Pawn4", "Pawn5", "Pawn6", "Pawn7"}; String[] manrowx = …

Software Development java java-swing
Member Avatar for Alex Edwards
0
149
Member Avatar for kllera

how can I get the remaining weight, without using the int modulus? The problem is solving how many widgets are on the pallet, and inputs are the total weight and the pallet. In the program, ONEWIDGET is the weight of a widget. since the input can put any random number, …

Software Development c++
Member Avatar for Radical Edward
0
190
Member Avatar for art vandelay

I've been searching like crazy for this but can't find anything in C#/VB.NET. I want to show off a DateTime as a "x days x hours x minutes x seconds ago" string, so I'm looking for a function that calculates the time difference between a DateTime and the current date …

Software Development vb.net
Member Avatar for Ramy Mahrous
0
616
Member Avatar for funtoosh

I'm trying to make a PhotoAlbum using JApplets.I write a Java code for it and then compile to make a .class file and then made a html file in the same directory which have .class file.But while running it on Web -Browser it doesn't load the applet and shows that …

Software Development java web-browser
Member Avatar for Ezzaral
0
178
Member Avatar for SubProf

Hello, I have a richtextbox which I write lines of data to. However, everytime a new line is written to the richtextbox it overwrites the last line of data so therefore after the progam runs only the last line of data is displayed in the richtextbox. I need the lines …

Software Development
Member Avatar for SubProf
0
138
Member Avatar for tejalrupera

Hi I am developing a window based application in C#.net. In this app i have to sync between flash and c#. For this i have added Shockwaveflashobjects.dll from com component. I got idea of this via this topic [URL="http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx"]http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx[/URL] Now when i am make a call from c# to flash …

Software Development audio c# flash video
Member Avatar for Jx_Man
0
157
Member Avatar for rysin

Ive been working with perl for a while now and was wondering how and if I could get started in making my perl code do real life things like flip a switch. Any help is appreciated.

Software Development perl
Member Avatar for ithelp
0
86
Member Avatar for Jennifer84

I have a problem with a sort I am trying to do with a std::vector. I am doing an example below where I push_back some strings like this. I know I have to use a comparator for this, that I have called:[B] "compare_on_asscending_value"[/B] The problem is that I am not …

Software Development c++
Member Avatar for Jennifer84
0
418
Member Avatar for keshari

Hi All My current code is executing system commands through java programme,like “dir”,”date” itc.Whenever I run the code the desired output comes.But when I am running the code continuselly then lots of command prompt open regularlly. Is there any way to stop the code from execution untill unless the command …

Software Development java
Member Avatar for PoovenM
0
110
Member Avatar for mshah2

I need to open a huge file in GBs to be precise in java. Can this be done. I need to actually break the file in 4kb chunks and compress each chunk separately . Can i do this in java. Will it create any memory out of bound error for …

Software Development java
Member Avatar for mshah2
0
77
Member Avatar for paolomontero

Hi, Im writing a program in Turbo C but i also want to use some assembly functions, for this im using nasm. This is my assembly code: [CODE=ASM] BITS 16 GLOBAL _Add4 n_Add4 equ 4 _Add4: push bp mov bp,sp mov ax, [bp + n_Add4] add ax, 4 mov sp,bp …

Software Development assembly
Member Avatar for xrysf03
0
468
Member Avatar for viperwarp

I've been running around like crazy trying to find anything on this problem and so far have found nothing. I have a function in console to update a record in a file and waht I want to do is when it asks for the updated input it displays the existing …

Software Development c++
Member Avatar for Nick Evan
0
112

The End.