132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 47pirates

For my school project , I got student details in database and according to system of that school yearly the student standards are raised by one grade . So how can i code so that the data i've entered in database, say 4 grade this year will become 5 grade …

Software Development java
Member Avatar for 47pirates
0
128
Member Avatar for mogaka

my application icon looks ugly-like a paper and i would like to change it to something like globe icon or any suitable image.Am programming using visual studio 2005 and the program is written in vb.net.Can somebody save me ?

Software Development vb.net visual-studio
Member Avatar for Oxiegen
0
93
Member Avatar for jammiedude

Ok im trying to get my head around this and i could do with some input from someone else, brains about ready to shut up shop! So im looking at LINQ to try and pull off records where a confirmed field is equal to null. The confirmed field is a …

Software Development
Member Avatar for jammiedude
0
891
Member Avatar for SC803

public class kgPoundsConverter extends JApplet 12 { 13 private JPanel kPanel; // To hold a text field 14 private JPanel pPanel; // To hold a text field 15 private JPanel buttonPanel; // To hold a button 16 private JTextField kgram; // kilogram 17 private JTextField pounds; // pounds

Software Development java
Member Avatar for Nick Evan
0
88
Member Avatar for nammae

Hi everybody, I am a newbie in C#. I have a fragment code but it doesn't run. Here is my code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int number; string type; number = 5; if (number …

Software Development
Member Avatar for nammae
0
108
Member Avatar for novice20

could anyone help me regarding calling different python scripts from within a main script.How can this be acheived? Thanks in advance

Software Development python
Member Avatar for cghtkh
0
230
Member Avatar for Ryan61343

Anyone able to help load a list box using a text file I load the text file into a single string then split at every new line and put into an array of strings then us the array of strings as the data source for the list box. The problem …

Software Development visual-basic
Member Avatar for AndreRet
0
84
Member Avatar for rcbpro

I want to let others to delete selected row in the following datagrid view, and i have written it like this. Now when i select a row and press the delete button i can remove the selected row but it will not update the database which meant it will not …

Software Development asp.net vb.net
Member Avatar for nikita111
0
503
Member Avatar for VBNew

Hi, I need to have a status bar at the bottom of the screen which will show the login name and project after I login. I have no idea how to start in VB6, could you help? I have attached a sample. Please help! Thanks!

Software Development visual-basic
Member Avatar for AndreRet
0
90
Member Avatar for ehsantl

Hi guys I'm trying to finish my assignment, I stuck in a weird situation. I'm trying to create a pointer a linkedlist. This linkedlist contains pointer to a user-defined objects (City) and I'm trying to add City to this linkedlist and then iterate through the linked list to find and …

Software Development c++ linked-list programming-construct
Member Avatar for ehsantl
0
172
Member Avatar for TinhornAdeniyi

I cant figure out what is wrong with this code These are the instructions [ATTACH]17304[/ATTACH] [ATTACH]17305[/ATTACH] [ATTACH]17306[/ATTACH] and this is my code [CODE]#include<iostream> #include<fstream> #include<iomanip> using namespace std; void Get_Info(string[],int[][3]); void Get_Average(int[][3]); void Prt_GradeBook(string[],int[][3],int[]); int MakeUps(int[][3]); int Grades[5][3],average[5]; string Students[5]; int main() { Get_Info(Students,Grades); Get_Average(Grades); Prt_GradeBook(Students,Grades,average); cout<<"There are"<<MakeUps(Grades)<<"Makeup(s) to arrange. …

Software Development c c# c++
Member Avatar for VernonDozier
0
197
Member Avatar for perryg30313

I am using a stored procedure to fill a dataset with a large amount of data (47k rows and 8 columns). I am needing to fill two tables with the results of this stored proc. One table will have data representing 47k reps that currently have credit for a transaction. …

Software Development dataset vb.net
Member Avatar for Oxiegen
0
133
Member Avatar for dustbunny000

for: [CODE]import random keys='abcdefghijklmnopqrstuvwxyz ' random.choice(keys)[/CODE] How would I count how many times it takes random.choices(keys) to generate "m"?

Software Development python
Member Avatar for D33wakar
0
168
Member Avatar for joewinsock

trying to make a payroll program, im pretty sure this is all the code i need. maybe 1 or 2 maybe 3 extra lines. ERRORS: operator * cannot be applied to java.lang.String operator * cannot be applied to double,java.lang.String operator * cannot be applied to double,java.lang.String ERRORS in CODE are …

Software Development java java-swing
Member Avatar for joewinsock
0
143
Member Avatar for liamzebedee

Is there any way of emulating an .exe in a .NET application?

Software Development asp.net
Member Avatar for Diamonddrake
0
117
Member Avatar for samuel_1991

Ever since the "disatrous" Adobe Encore (CS4 and 5 does not matter)'s way of storing the installation directory details in Sqlite database file and some uninstall string in the registry, I would like to create dll to get the install directory from Sqlite database as per recommended by the Inno …

Software Development c++ sqlite
Member Avatar for samuel_1991
0
724
Member Avatar for iqlas

[COLOR="Red"]could any one explain me this code pls[/COLOR] [CODE] Imports System.Runtime.InteropServices 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 …

Software Development vb.net webcam
0
141
Member Avatar for rena0514

I have to create a program that uses a class that adds, subtracts, multiplies, and divides fractions....and then reduces them....I did the program to make sure calculations worked and they did....I just began trying to reduce the fraction but I'm stomped. I have many errors concerning my get and set …

Software Development c++
Member Avatar for StuXYZ
0
193
Member Avatar for muraj

. Goal is for user to input 2 numbers then get a multiplication chart with a row and column. Example: user enters 3 and 5, then should print ...3 4 5 (disregard the dots) 3 9 12 15 4 12 16 20 5 15 20 25 My program will not …

Software Development java
Member Avatar for muraj
0
1K
Member Avatar for MKDWOLF
Member Avatar for abhimanipal
0
98
Member Avatar for techie929

How Can I read the below file without using tag names.If suppose I have to fetch Title value, I know using xmlDoc.getElementsByTagName("title").item(0).firstChild.nodeValue; But How can I read without using Tag Names. <catalog> <title>Airbus Aircraft Families</title> <aircraft> <Airbus>A380</Airbus> <Aircraft>A380 </Aircraft> <seats>555</seats> <Range>15000km </Range> </aircraft> </catalog>

Software Development xml
Member Avatar for hielo
0
145
Member Avatar for flowerzink

Hello, I have a problem, and I'd be grateful if someone could help me solve it. It's divided in two parts: 1. Record a sound using only code (Doesn't have to be in c++) 2. Being able to use the sound of a hanclap and use it to trigger an …

Software Development c++ linked-list
0
93
Member Avatar for ana_1234

Hi everyone, I have an assignees that I've been working on and I'm stuck on the last function. use the function void Increment(int numDays = 1) This function should move the date forward by the number of calendar days given in the argument. Default value on the parameter is 1 …

Software Development c++
Member Avatar for brandonrunyon
0
249
Member Avatar for coding101

How can I access a scanner from another class?

Software Development java
Member Avatar for coil
0
88
Member Avatar for ankilosado

Hi, there, I am also very new to Java. For class, I have to create an structure that reflects that of a document stored in a plain txt file. The hyerarchy of the classes is: Class document is made of //complex objects class Page objects, that are made of class …

Software Development java regex
Member Avatar for ankilosado
0
482
Member Avatar for amarnathnn2713

Hai Friends, I am very new to perl Scripting... but my task is somewhat tricky.. Actually i want to connect remote machine from local.. I think it is possible using [B][COLOR="Green"]Net-SSH-Perl [/COLOR][/B]but i unable to install in windows platform. if anybody have answer? Please give some idea about connecting remote …

Software Development perl
Member Avatar for brandonrunyon
0
846
Member Avatar for tomtetlaw

Okay, I have a problem. In this code, after the first call to strtok, the variable becomes "developer" when it was originally "developer;developer 0;developer". I would have expected it to become "developer 0;developer" after the first call.. [code=c]void Con_Execute(char *text) { char *pch; char string[10240]; strcpy(string,text); if(!strstr(string,";")) { Cmd_ExecuteString(string); return; …

Software Development c
Member Avatar for tomtetlaw
0
87
Member Avatar for Fadam360

Hello everyone, I need to make a program for Java that has the user enter in 2 numbers,1-9, then prints a top row and column with those numbers in it, then prints a multiplication table for those numbers. I need to use a for loop or for loops. Ex. 2 …

Software Development java
Member Avatar for muraj
0
169
Member Avatar for VBNick

Hi. I was wondering if someone could offer a bit of advice on this. I have made a web server, and everything seems to be done correctly as far as I can tell. It works and loads web pages just fine. The problem is, that when big files are requested …

Software Development c++ client-server web-browser web-server
Member Avatar for VBNick
0
285
Member Avatar for Peter_morley

Ive pasted the code for actor.cpp, date.cpp and the main function. This is alot of stuff I pasted but I believe it is necessary to show my problem. At first I get the date of the individuals birth and that gets displayed and everything turns out as it should. When …

Software Development c++
Member Avatar for Peter_morley
0
152
Member Avatar for TheWolverine

Hi all, I am currently working on a large software project for scientific computing for my PhD research. I am working on the architecture for part of the project now, and I am struggling with how to working with a polymorphic pointer as a function input parameter, by reference. The …

Member Avatar for TheWolverine
0
302
Member Avatar for tedmyers

Hi everyone I am new to the community and been programming in java for 2 weeks. This is my 3rd program so please take it easy on me, I know there are better ways to do things but this is what I know for now. The purpose of the program …

Software Development java
Member Avatar for tedmyers
0
174
Member Avatar for LianaN

Hi! I would like to add a link to JTable cell. When a user will click on this cell, then a file pointed in the cell will be opened. Could someone tell me some hints? Thanks!

Software Development java
Member Avatar for NormR1
0
2K
Member Avatar for Anon17

At the moment, I have the following to do MySQL queries: [code] MySqlCommand Command = new MySqlCommand(Query, SQLConnection); IAsyncResult Result = Command.BeginExecuteReader(); return Command.EndExecuteReader(Result); [/code] This is a static command in a server in the database class, which includes a static connect/disconnect function (used once when the server starts and …

Software Development client-server mysql
Member Avatar for Anon17
0
183
Member Avatar for LevyDee

When creating a resume for a programming job, you want to include some source you have written right? I am updating my resume and have added 4 pages of source, is that to much? THanks

Software Development c++
Member Avatar for VernonDozier
0
99
Member Avatar for coolboym99

I'm writing up a program for a class I'm taking where I need to make a linked list stack & queue. Right now I'm not quite done, but I'm having problems calling the functions from the .h file. What's happening is in the while loop, I'm trying to get data …

Software Development c++ linked-list queue
Member Avatar for coolboym99
0
202
Member Avatar for Fadam360

Hello everyone, I need to make a program for Java that has the user enter in 2 numbers,1-9, then prints a top row and column with those numbers in it, then prints a multiplication table for those numbers. I need to use a for loop or for loops. Ex. 2 …

Software Development c++
Member Avatar for VernonDozier
0
81
Member Avatar for bops

Hello. I am currently working on a little password based file encryption feature for an application I am doing. The following is an incomplete function that I have worked on to encrypt some content and (will eventually) write it to a file. [CODE]public static void encrypt(byte [] data, char [] …

Software Development api encryption java
Member Avatar for Stefano Mtangoo
0
344
Member Avatar for plasticfood

[CODE]import java.util.Scanner; public class Inti{ public static void main (String [] args){ Scanner kb = new Scanner(System.in); System.out.println("enter name: "); String input = kb.nextLine(); char name1 = input.charAt(0); int blank = input.indexOf(' '+1); char name2 = input.charAt(blank); int lastBlank = input.lastIndexOf(' '+1); char name3 = input.charAt(lastBlank); System.out.println(name1 + "\n" + …

Software Development java
Member Avatar for plasticfood
0
109
Member Avatar for moonlite25

I have this code: def rollBox(length, numDivisions, count): Angle = 90/numDivisions if count == 0: return elif numDivisions == 0: rollBox(length, numDivisions, count - 1) else: square(length) turtle.right(Angle) rollBox(length, numDivisions - 1, count) Is there any way to still decrease the 'numDivisions' parameter to zero while still keeping its original …

Software Development python
Member Avatar for TrustyTony
0
79
Member Avatar for youngmoolah

Hi I am trying to execute a TADODataSet by clicking on a button. As of now. whenever I run my delphi program my TADODataSet automatically activates and runs its corresponding stored procedure in sql. I want to be able to press a button on a form in order to execute …

Software Development delphi gui pascal
Member Avatar for Wolfgan
0
155
Member Avatar for Kanoisa

Hi guys, Im working on a small console app to seek out all those pesky and disk consuming .ncb files and debug folders left from VS and destroy them so the space i need to backup the files is considerably reduced. I have got my recusrion algorithm to scan as …

Software Development algorithm c++
Member Avatar for Kanoisa
0
2K
Member Avatar for |hex

how would i be able to make sure the user inputs the correct data. for example, if i wanted a command in my code to be run (filename). how can i display a message if the user forgets to add the name of the file or the 'filename'. i hope …

Software Development c++
Member Avatar for |hex
0
370
Member Avatar for neoraghav

Hi, I want to create a log file that captures all the actions happening...anyway i got code for that from internet. Now what i want to do is, make that [COLOR="Red"][U][B]file read only[/B][/U][/COLOR] so that the data is not modified by external application or user. [code=c++]log(char* msg) { time_t now …

Software Development c++ ios
Member Avatar for neoraghav
0
2K
Member Avatar for Exile_082

[CODE]string subChoice =""; getline(cin,subChoice);[/CODE] Can anybody help me??? What these lines do? and how are to be used?

Software Development c++
Member Avatar for Fbody
0
190
Member Avatar for bmos31

I think I'm there, but I'm not sure if the insert() is correctly doubling the dynamically allocated memory. In an attempt in my insert() I tried to: 1 double the allocated memory (not sure if that was accomplished) 2 copy original values to the newArray 3 free original space 4 …

Software Development c++ storage
Member Avatar for bmos31
0
1K
Member Avatar for jbisono

Hi all, i have a little problem here trying to print a crystal report document using the PrintToPrinter method. This process is trigger by the event click in a asp:button control, basically i just saying this. [code=csharp] rpt.PrintOptions.PrinterName = @"PathToPrinter"; rpt.PrintToPrinter(1, false, 0, 0); [/code] this solution works fine if …

Software Development
Member Avatar for jbisono
0
340
Member Avatar for chun0216

Hello, I am trying to optimize or make my code faster and I am not so sure how. So I have two level nested for loop and inside there, I assign value to the array. For example, [CODE=c]tmp[0]=*ptr; tmp[0]=100;[/CODE] I found out that the second one is faster than the …

Software Development c++
Member Avatar for kes166
0
110
Member Avatar for alexchen

How can I create the map size, [CODE] #include <iostream> #include <fstream> #include<string> using std::ifstream; bool msize(int Height,int Width){ //add code return true; } bool draw_map(char* Filename,int Width,int Height){ if(Width<1||Height<1) return false; msize(Height,Width); ifstream file; file.open(Filename); if(file.is_open()){ while(!file.eof()){ for(int x=0;x<Height;x++){ for(int y=0;y<Width;y++){ if(c!=']'){ file >> map[x][y]; file.get(c); }else map[x][y] = …

Software Development c++
Member Avatar for daviddoria
0
174
Member Avatar for Antikythera

To start I enter some information into 4 textboxes which then the data is stored into a class. I just add the class object into the list box to keep things simple and when i click on the object in the listbox I want it to show the original text …

Software Development
Member Avatar for edepperson
0
149

The End.