199,111 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for quintoncoert

i am trying to connect to an MS Access database but i am new to C#. I have looked at, amongst others, Paladin's response to dark omen about connecting to a database and since i have connected to a database before in Visual Basic most of it makes sense to …

Member Avatar for vkmaurya5785
0
166
Member Avatar for Beornhelm

New to the forums and could use a hand. I am completely stuck, and not sure what to do at this point. I keep getting "TRACE: <at java.lang.IndexOutOfBoundsException: Empty field: 106>, Exception caught in Display class java.lang.IndexOutOfBoundsException: Empty field: 106" during run-time when the method, displayList() is called (currently on …

Member Avatar for Taywin
0
409
Member Avatar for BOAH365

Hello, I'm very new at C++ and I have to write a code that uses a recursive function to reverse some characters within a boundary, so lets say I have A[1] == ‘A’ A[2] == ‘B’ A[3] == ‘C’ A[4] == ‘D’ A[5] == ‘E’ and I put in a …

Member Avatar for BOAH365
0
188
Member Avatar for cmccaig

im writing a program for school that needs to search through a directory and find files of a certain type. if it meets up with a folder i need to search inside it and so on for all other folders found inside. i was thinking of a function to pass …

Member Avatar for Taywin
0
964
Member Avatar for MasterGberry

I am a novice @ coding right now, and am getting it by trial and error, when i run this program after the 2nd round of input it skips some of the steps and then crashes. I threw the if (i > 0) to help bypass it on the first …

Member Avatar for MasterGberry
0
95
Member Avatar for jFincan

Hi, firstly my english is not very good so ım sory about that. ı want to parse a web source. ı got the source code with urlconnection in jTextArea but ı cant get between two html tag for ex. <p class="asd">asdasdasdas </p> <p class="asd2">bdfgfdgdfgf </p> <p class="AltBaslik">I want to this …

Member Avatar for Taywin
0
103
Member Avatar for Ceerno

Hello Help is appreciated in the following code. I am trying to multiply the first array ,collected from random numbers, by two. When i run the code below:I get only the last number of the first array multiplied by two using System; public class Matrix { Random randomNumbers = new …

Member Avatar for Ceerno
0
81
Member Avatar for mdpepper

Good evening folks. Im a Computing student in 2nd year of Computer Science at university. My current problem is the idea of a class within a class. I have developed a .h and.cpp file for a Date class(day, moth year), and a .h and.cpp file for a patients record. I …

Member Avatar for mike_2000_17
0
166
Member Avatar for Anuradha Mandal
Member Avatar for shelexelex
Member Avatar for jon.kiparsky
0
92
Member Avatar for brenton_77

Hi Guys, Hopefully someone can answer this question for me as I'm stuck as to what to do. So the scenario goes like this. We currently use an access database at our company that contains staff information. I have been asked to design a web page that when a user …

Member Avatar for sickpuppy18
0
115
Member Avatar for chupoi

Hi there, I am using some windows form controls available in the Infragistics Windows Form Controls. Everything works OK on my PC but when I save my project and try to run my form on another PC it doesn't work. I get a lot of missing references if I try …

Member Avatar for Momerath
0
103
Member Avatar for eagled2

I am looking for advice for using the functions of these 2 scripts on the same site. I have been using greybox and a different version of easytabs that didnt require the jquery script. I recently found a version of easytabs that allows the back button to work and for …

Member Avatar for eagled2
0
167
Member Avatar for sirlink99

I am in a java programming class but my teacher doesn't teach anything so could someone please explain to me how to import a picture into the applet and give me an example of a simple script that just imports a picture. I have learned how to use the mouse …

Member Avatar for kramerd
0
216
Member Avatar for Diamonddrake

I have written a couple applications that Work great on 32-bit but crash on open in 64-bit. They are all compiled against "any CPU" but even when I compile them for 64-bit they still crash on 64-bit windows. both of these applications rely on 3rd party Dlls, some native dlls …

Member Avatar for Diamonddrake
0
105
Member Avatar for crazy_perl

I have a code which parses/validates all the fields present in i/p weblog file. My first field is ip_address & currently can have a value like 12.45.24.245 Now I have a change where ip_address can be a dummy value something like $10.00 or $23.123.34. or $12.233. How should I change …

Member Avatar for sysadm1n
0
87
Member Avatar for mrar85

im' confuse with this function...how do i call one function so it can be used in another function?? [ICODE]#include <iostream> #include <cmath> using namespace std; double pi=3.1416; double getinput(); double distance(double,double,double,double); double radian(double); double circumferences(double); double area(double); double diameter(double); void displayresult(double,double,double,double); int main() { double x1,x2,y1,y2; double rad,perimeter,areas,dia; cout<<"Please enter …

Member Avatar for mrar85
0
166
Member Avatar for qvyhnl

So i have an original char * s with size of n; Can someone show me how to create another char * p with twice the size of s? and then fill p with 2 copy of s? Thanks.

Member Avatar for qvyhnl
0
103
Member Avatar for Joey_Brown

Hello, Im looking at this weird little code fragment I stumbled upon the other day and I cant figure out how it works. OK, I get the picture how the array is filled up to the fourth index, but that descending part is evil. And weird. :) [CODE] #include<stdio.h> int …

Member Avatar for smellissa
0
98
Member Avatar for optikali

Java n00b here. I am putting together a little random number game and am having trouble with my loss condition test. It seems like Java does not like casting ints as a bools. Here is my code so far: [code=java] import java.util.*; public class TwoRandom { public static void main …

Member Avatar for optikali
0
184
Member Avatar for BLUEC0RE

I am looking to make my code more abstract so I dont need to repeat the same code. I am storing objects two different classes in the same arraylist. When searching, I need to check ahead of time to see if the entry in question is of a certain class …

Member Avatar for BLUEC0RE
0
142
Member Avatar for Nathaniel10

I was already thinking along ARKoenig's suggestion and revised my code to use arrays. It was working pretty well until I made some minor changes. Now it loops non-stop without any prompt for the player to make a play. I am sure it is a small error, but I can't …

Member Avatar for Nathaniel10
0
165
Member Avatar for S.IDK

welcome , plz , i want a give the result about this instruction 50^99 in textbox what the data type can be use to give all number of this result. the result in textbox : 1.97654296816219E+172 but the cal in a windows 1.97654296816219[COLOR="Green"]383545704208846[/COLOR]E+172 how can give all number in textbox.

Member Avatar for Momerath
0
118
Member Avatar for r3s3v0ir

Good evening guys.... i'm newbie in here and in c++... while i in the middle of pratice in making program... i try to make a stack that can check whether the string that user input is palindrome or not. i'm using visual studio 2010 and get autos error this is …

Member Avatar for Taywin
0
233
Member Avatar for pythonlearning

I have a dictionary used a string (read from file by number) as key and a list as its value (each may have different number of elements). I want to print like this: 0 4 2 3 -4 5 3 1 -2 3 4 2 3 11 0 1 When …

Member Avatar for pythonlearning
0
150
Member Avatar for Jake1905

I am completly lost on this could someone point me in the right direction into where I am going wrong with this code. [CODE]#include <iostream> using namespace std ; int main() { int x ; int y ; int temp ; int remainder ; // read in the two integers …

Member Avatar for ixmike88
0
101
Member Avatar for burcin erek

i made a test program, this line " *ps.Working_Hours=10;" generates mistake. why ? [CODE]#include <cstdlib> #include <iostream> using namespace std; class Salary { public: int Working_Hours; float hour_rate; float x; }; int main(int argc, char *argv[]) { Salary s; float yy; s.Working_Hours=7; s.hour_rate=30.5; Salary* ps; ps=&s; *ps.Working_Hours=10; cout << "s.hour_rate=" …

Member Avatar for burcin erek
0
179
Member Avatar for hwalsh

Hi all! I'm new to Java, so please bear with me. I'm trying to calculate the average of grades input by the user. I keep getting a exception saying that it's dividing by 0. I can't figure out why. [CODE]import java.util.Random; import java.util.ArrayList; import java.util.Scanner; public class Average { // …

Member Avatar for Overbooked
0
2K
Member Avatar for Bandit290

I am trying to print out items I have saved. Each item contains a id number (ex. 34534), description( ex. book) and a barcode representation of the id number. My problem is that the barcode does not stay right below the id number. I would like for it to be …

Member Avatar for nick.crane
0
169
Member Avatar for theProgrammer7

Hi, a few days ago I was trying to write a WPF application that needed to update a progress bar whilst in a loop. I searched around on the internet and finally found a solution, however, I don't actually know how it works. Here is the code: [CODE]using System; using …

Member Avatar for nick.crane
0
150
Member Avatar for jvibez

write a pseudocode algorithm tp prompt the user to enter a number and it should tell if the number is odd or even.........i need help

Member Avatar for daviddoria
0
49
Member Avatar for mogaka

am new to c++. i want to create a desktop application but i don't know how to create a user interface-forms like vb.ne forms using dev c++ IDE. how do i go about it.

Member Avatar for daviddoria
0
222
Member Avatar for tKc

I need help in using 2d arrays in c++. I want to output a table that looks like this 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 …

Member Avatar for daviddoria
0
170
Member Avatar for beatenbob

I'm trying to write a program which uses 4 class files. However, I've got some issue regarding the error I got from cygwin using g++ command, it says Calling fdopen: bad file descriptor when I try to include the files I need on top of my header files. I'll show …

Member Avatar for beatenbob
0
464
Member Avatar for newboi

Hello Guys, I am trying to update multiple table rows using dynamically generated radio buttons. The radio buttons are in groups of two (yes and no) which also have dynamic names. In other to give the group unique names, I have added row numbers to the group names as thus: …

Member Avatar for diafol
0
117
Member Avatar for itisnot_me

hey all i have been trying to get the ext from a file so that i can append it back on. but it seems not to be working here is what i have tried [CODE]$tempFile = $_FILES["Filedata"]["tmp_name"]; $targetPath = $_POST["path"]; $filename = $tempFile; $filename=str_replace(" ","_",$filename);// Add _ inplace of blank …

Member Avatar for itisnot_me
0
92
Member Avatar for daneuchar

This code is working perfectly in Chrome and Firefox but i am unable to work it out in IE can some help me out with this [CODE]<form name="login" method="post" id="login_form"> <div class="form_back"> <input name="text" type="text" id="username" /> <input name="text2" type="password" id="password" /> <a href="" onclick="$(this).closest('form').submit(); return false;" class="login"><div id="login_button"></div></a> </div> …

Member Avatar for daneuchar
0
97
Member Avatar for Sarama2030

hi guys! it's my first post on vb.net, it's just that u can't develop on windows 7 anymore using vb6, guess we'll just have to get used-huh. i'm developing this procedure using a timer object.the thing is the procedure is not in the timer's event procedure but i want it …

Member Avatar for crapulency
0
351
Member Avatar for luke noob

i have a form with some hidden fields..... index.php page.... [code="php"] <form id="addReplyForm" method="post" action=""> <input type="text" id="target" name="commentreply" /> <input type="hidden" id="session_id" name="session_id" value="" /> <input type="hidden" id="page_id" name="page_id" value="" /> <input type="hidden" id="firstName" name="firstName" value="" /> <input type="hidden" id="lastName" name="lastName" value="" /> <input type="submit" id="submitReply" value="Reply" /> </form> …

Member Avatar for thejimgaudet
0
253
Member Avatar for bluem1

Team - I hope you can help me here. I am converting an old ecommerce site to a newer asp.net site but I need to retain the old cart. The cart is unique in that it uses forms to post the items into the cart. So if a page listed …

0
106
Member Avatar for jlivvers

Hi, I have a c# windows app with a formTab on one of the forms. What I'm trying to do is pass the id of one datasource into the parameter of the query for another datasource on another tab. So effectively when the row containing the id field is selected …

Member Avatar for nick.crane
0
166
Member Avatar for MoreBloodWine

See my demo page for where I have it working on an img src but not an input which is what I really want. Here's the link to my testing / demo page: [url]http://www.myu2sig.com/stellardonations/buttontype.php[/url] As for what I want to do, how can I apply the function to the input …

Member Avatar for MoreBloodWine
0
146
Member Avatar for Pushpasheela
Member Avatar for jon.kiparsky
0
189
Member Avatar for Alerwiali

Hi Every one in this great community ...i need help with Nokia BlockD game algorithm i really do not know how to start ,,,please could anyone here can get my feet on the stage ,just help me with some ideas to be able to get started: The rules of the …

Member Avatar for Alerwiali
0
70
Member Avatar for Awah Mohamed

hi eveyone i realy need ur jelp firstly my english is not verywell so please try to understand me i am self tought programmer , and i like web developing and i want to be a web developer in php but i dont know how and what i can do …

Member Avatar for Awah Mohamed
0
121
Member Avatar for nsam

Hi Experts,I have 2 pages with the name farmmgmt.php and assigndoc.php. In farmmgmt.php I insert certain fields like cowid and then get redirected to assigndoc.php for assigning doctors. After assigning when I update the table it does not do so.. I want to update the table for the recently inserted …

Member Avatar for diafol
0
146
Member Avatar for Nathaniel10

Is it possible to have an array as a class member? It is part of my Wumpus Hunt exercise. I want to do the following: [code] class Room { blah blah; }; int main() { for (i = 0; i < 3; i++) { Room adjacent[i]; blah blah; } [/code] …

Member Avatar for Nathaniel10
0
111
Member Avatar for PeterWaij

I am trying to implement a code to hide and show divs with a radio button. If yes is selected i want to show the divs. If no is selected i want to hide them. It sounds simple enouth but i can't figure this out. Can someone please advise. Here …

Member Avatar for PeterWaij
0
138
Member Avatar for vbx_wx

[code] int main() { const char* p = "Hello"; cout << sizeof(p) << endl; } [/code] Why this is 4 ?

Member Avatar for nbaztec
0
99
Member Avatar for gmfreak1991

Hey, I'm writing a wheel of fortune game and trying to figure out how to make the game update what players turn it is. It is assumed that there is only three players, and the variable "int players = 1" is defined globally, so if I change it in the …

Member Avatar for Fbody
0
175

The End.