64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for asdengler

I'm working with Visual Studio.net and Access 2002 to build an interface to add, edit and delete records in the database. Eventually, I'd like to build a web page to be able to view the data. Currently, I'm trying to search for a particular record in the database using a …

Member Avatar for asdengler
0
296
Member Avatar for princess_19

I really need some help!! I do not understand anything! I do not even know how to start!!! Can any1 help plz!!! “Moore’s law describes a trend in the history of computer hardware. The number of transistors that can be inexpensively placed on an integrated circuit is increasing exponentially, doubling …

Member Avatar for Narue
0
146
Member Avatar for Lordstr

I am using Eclipse to right there It is coming up with an error within the switch statement saying that the Clock.* has not been initialized. it says Description "The local variable Clock may not have been initialized" but doesn't that happen when i do "Stopwatch Clock;" I am still …

Member Avatar for Ezzaral
0
240
Member Avatar for adbox

I would like to have a price field populate with a price, based on conditions of a series of dynamic dropdown boxes. I have the dropdown boxes populating, but I cannot figure out what the function should be to add a value to a text box rather than a dropdown …

Member Avatar for adbox
0
135
Member Avatar for makubexiii

how can you make program using a linked list that displays your outputs in ascending alphabetical order? we are only allowed to use: #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<string.h> TIA

Member Avatar for makubexiii
0
1K
Member Avatar for nizbit

I was wondering if this code is correct syntax for function parameters in a class? [CODE] class myclass { private: char mystring[50]; int length(char string[]); public: int yourlen(){ return length(_string, _string); [/CODE] I know later in my code, I would have something like this: [CODE] mystring A; char string[50], string2[50]; …

Member Avatar for Sky Diploma
0
124
Member Avatar for 3Dees

Hey, i am trying to display weight base on a age input without using a table vb.net. Say a age can be anyware from 1 to 18 yrs and weight at 1 = 11kg with a avg increase of 3kg per year. I thought of using a for loop but …

Member Avatar for samir_ibrahim
0
159
Member Avatar for samir_ibrahim

Hi all, I new to vb.net, and I have alot of questions. so Get Ready :) I had added a forum and set the IsMdiContainer to True and I noticed that the backcolor has changed to darkgrey Is there a way to change back the backcolor to normal? TIA Samir …

Member Avatar for Dnx
0
158
Member Avatar for stockton

I have setup the following table:- [code] IF EXISTS(SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'TlHold') DROP TABLE THold GO CREATE TABLE THold ( pid int NOT NULL IDENTITY(1,1), TS NUMERIC(2,2) NOT NULL, TR NUMERIC(2,2) NOT NULL, TB NUMERIC(2,2) NOT NULL, TP NUMERIC(2,2) NOT NULL, TP2 NUMERIC(2,2) NOT NULL, filler1 …

Member Avatar for stockton
0
667
Member Avatar for veledrom

Hi, I have 2 tables in each page. when i have more than 1 page, tables are breaking into other pages. Like, end of the one table appear in next page. How can i do it stable. Because, when i print, i want each page have 2 tables without any …

Member Avatar for Shanti C
0
115
Member Avatar for Raj.Acharya

Hi! I have to merge two pdf file in to one pdf file using TallPDF.Net 3.0 any one can guide me on this issue. Please reply anybody as early as possible. Thnks

Member Avatar for peter_budo
0
171
Member Avatar for TofiLuk

the frame is okay but the text2, textfield has occupy the whole frame. what's wrong with my code? image: [URL="http://img68.imageshack.us/my.php?image=73815503ku1.png"]http://img68.imageshack.us/my.php?image=73815503ku1.png[/URL] here's the code: [code=java] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JFrameTest extends JFrame implements ActionListener { JButton button; JLabel label1, label2, label3; JTextField text1, text2; Container con = …

Member Avatar for masijade
0
119
Member Avatar for Pgmer

Hi all im Implementing wordcount feature in my appliction it counts the numberof lines in the document,number of pages, number of charecters with space and without space, numberof paragraphs in the document i implemented this function it is working fine but the problem is becoz of loops and im checking …

Member Avatar for Pgmer
0
132
Member Avatar for vistovistor

Hello daniweb, This is my first post, and coincidentally my first program! (more like a script though I am told) At my work there is a lot of programmers, unfortunately they do not like Python. I cannot agree with their sentiment! It is my first language (computer wise) and so …

0
67
Member Avatar for MVied

In this management software I'm working on, I've built a messenger for the employees to use to IM each other. Recently we moved to a brand new server and upgraded from PHP4 to PHP5. Now the instant messenger won't work. I've opened port 7357, which is the port it uses …

Member Avatar for MVied
0
100
Member Avatar for FAMV

Hello, I'm new to Javascript and I'm trying to write a code that when a user enters three numbers will tell if the numbers can form a triangle or not, or if the triangle is a right triangle. I can't see why the code won't work but I bet someone …

Member Avatar for FAMV
0
122
Member Avatar for ahspats

Hey everyone, I am supposed to write a program that counts the number of vowels in string of characters. It must include "Struct counter_t (it must be declared as in the code i've written)" and function "int CountVowels (IN text[], OUT Count)". the OUT parameter must be of type counter_t. …

Member Avatar for ahspats
0
143
Member Avatar for Demonisya

Hi!!! This is my first time to post here and I have a problem and I want your help..... This is the case my teacher gave me a question to add 1 to 100 using while loop and its really confusing me... but here is my idea and I jsut …

Member Avatar for Demonisya
0
116
Member Avatar for jem00

Hey guys, I'm trying to send an array as a parameter and it is not working.... I have set it to passed by reference in my sub. Visual Basic says: "Compile error: Type mismatch: array or user-defined type expected" How may i solve this problem? Yours words of wisdom are …

Member Avatar for jem00
0
144
Member Avatar for devnar

[CODE=C]#include<stdio.h> #include<conio.h> int main() { float a=0.7; if(a<0.7) printf("C"); else printf("C++"); getch(); return 0; }[/CODE] The above code prints 'C'. Whereas the following two codes prints 'C++'. Why is that? [CODE=C]#include<stdio.h> #include<conio.h> int main() { float a=0.7; if(a>0.7) printf("C"); else printf("C++"); getch(); return 0; }[/CODE] [CODE=C]#include<stdio.h> #include<conio.h> int main() { …

Member Avatar for smart_pc
0
588
Member Avatar for defychaos

Hey guys & gals, I have a homework problem, and I'm having problems looping the month. I will share the problem, then what I've got so far. Thank you in advance for any advice :) The problem is a typical wolf/rabbit population, but the solution asks for the population every …

Member Avatar for defychaos
0
213
Member Avatar for designingamy

Hello all! I have a few questions about putting images into the database. I have chosen to put the images on my server and then the location will be put in the database, instead of doing the blog thing. However, I am having a hard time trying to figure out …

Member Avatar for dickersonka
0
112
Member Avatar for evanlarsen

I am new to building web applications and I am developing my skills in programming. I have a few questions about JavaScript that I cant find the answers too easily. 1. People seem to think that there is a cold war going on between Adobe's Flash, Microsoft's Silverlight, and JavaScript. …

Member Avatar for evanlarsen
0
112
Member Avatar for Suetan

Here's my problem. I'm writing a program that has the user input a string. That string is then compared to the values in a string array within a class. Here's a sample of what I'm trying to do (sorry about the spacing. I use tabs, not spaces): This is my …

Member Avatar for Suetan
0
239
Member Avatar for rkumaram

Hi I have created a small program which just adds two char* with the help of overloaded + operator, but getting problem with destructor. [CODE] #include<iostream> #include<string.h> using namespace std; class base { private: char* name; public: base(); ~base(); void display(void); base(const char*); base(const base&); base operator+(base foo); }; base::base() …

Member Avatar for rkumaram
0
113
Member Avatar for andr3a

Hey Guys Can anyone help me with JavaBeans The error says my Bean cannot be resolved to type. Any solutions? Thanks in advance

Member Avatar for jwenting
0
60
Member Avatar for dmanw100

Is there any way to clear the screen in a console app? I noticed that System does not even appear to have a system call similar to the system("COMMAND"); of C++. Any ideas?

Member Avatar for jwenting
0
100
Member Avatar for Prabakar

I have wrote a simple program in c++ that will constantly read a record from a database. Once there is a change in a field the program will open a executable file. An instance of this program or a copy of this program has to run in [B]at least[/B] 80 …

Member Avatar for Prabakar
0
285
Member Avatar for daviddoria

I need to do something like this: [code] ifstream infile(Filename.c_str()); //ifstream infile(Filename.c_str(), ios::binary); string line; ///////////// Read Header //////////// //read magic number getline(infine, line); while(line[0] == "#") getline(infile, line); MagicNumber_ = line; //more ascii stuff ...... //start reading binary data int m; infile.read(reinterpret_cast < char * > (&m), sizeof(m)); [/code] …

Member Avatar for Narue
0
125
Member Avatar for prashanth18

hi , PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Domains\eazygurus.com\wwwroot\courses.php on line 45 im getting this error please help me out from this. im attaching the php file and copying my database values........ Table structure for table `course` -- [code=sql]CREATE TABLE `course` ( `id` …

Member Avatar for saikishore
0
167
Member Avatar for dav555

The DefaultListSelectionModel provides the method setSelectionInterval(int start, int end) to select an interval. But how can I select multiple intervals?

Member Avatar for stephen84s
0
183
Member Avatar for alexvena

The problem: Will not compile, i get the following errors: "invalid conversion from char to char*" "invalid conversion from char to const char*" Program Description: Opens a file and read each character into a linked list [code] #include <iostream> #include <fstream> using namespace std; const int MAX = 30; struct …

Member Avatar for mshahid
0
84
Member Avatar for shakuN

Hi, A newbie to VB6, I have to plot a graph using the picturebox control. I have drawn the 3 line graphs using the "Line" method and using relevant data. I have to shade the triangular portion marked "X" ( resulting from the lines B & C crossing the line …

Member Avatar for shakuN
0
173
Member Avatar for reshma.mane

Hi All, I want some interesting Advanced data structures problems. Could you please let me know the link or the actual problem statements? If possible, you can send some hints to solve that problem. This would be very helpful for me.

Member Avatar for Alex Edwards
0
101
Member Avatar for alc6379

Thanks to Dani for adding Python to the scripting languages category! ...I haven't heard many people mention Python around here... Am I the only Python fan here? I know its usage isn't as widespread as Perl, but it is, IMHO, as powerful and useful as Perl, for general scripting, web …

Member Avatar for ZZucker
0
526
Member Avatar for bpacheco1227

I'm having a problem with my for loops. The program is supposed to get a number from the user and when button is pressed add 1 and skip a line until the tenth number is reached. I fell like I almost have it but I'm missing something. Please help. [code=VB] …

Member Avatar for bpacheco1227
0
83
Member Avatar for EddySR

I've just started on my first AJAX project and I've just run into my first problem. Basically I have a textarea field generated by ajax and it needs to submit that value to itself using post. I tried using a getElementById but it always returns null. Here is the code: …

Member Avatar for EddySR
0
117
Member Avatar for nojtb

My Code has a problem, either if my first void is static or not i get a error that i cant seem to fix. This is the error i get if the void is static [CODE]Java Compiler By Noj All underpreciated java will soon apear All errors within java files …

Member Avatar for nojtb
0
138
Member Avatar for rugs267

Hey Everyone! I'm having trouble with a C++ program I'm trying to write. I need to input a text file into a 2D array and sort it into 13 rows, 5 columns using strtok. I need to use strtok because some of the words are separated by ws, others by …

Member Avatar for rugs267
0
253
Member Avatar for BeyondTheEye

I made a win32 application in Visual C++ 2008 using the Windows Forms Application. But for opening files, and saving eventually, havn't gotten to it yet, I was creating some basic classes in other files. The odd thing is the [i]stdio.h[/i] file seems to be working differently in VC. I …

Member Avatar for Narue
0
267
Member Avatar for mostermand

hi i was wondering how much i should use classes in C++. Should i use it as much as possible?

Member Avatar for mostermand
0
319
Member Avatar for rapture

Hi all, I'm stuck - it might be easy but I don't work with VB6 much. I have a form that is open and has a button on it which opens a second form overtop of it. when the second form opens it locks the first form. Upon exit from …

Member Avatar for rapture
0
98
Member Avatar for MelechM

Ok I have Visual C++ 2008 and I made a new project and made an app. It's a basic window with a menu, icon, etc. Now I have the following program for instance: [code] #include <iostream> #include <math.h> using namespace std; int main() { char answer; float c, e, x, …

Member Avatar for MelechM
0
124
Member Avatar for Nemoticchigga

How would one seperate a decimal into 2 numbers, the left and right sides of the decimal? float example = 131.14567 into... int left = 131 float right = .14567 thanks.

Member Avatar for ArkM
0
118
Member Avatar for laghaterohan

i want to change first letter of both First name and Last Name to uppercase here is my code however, i am getting error..as Index and length must refer to a location within the string. Parameter name: length MY CODE IS AS BELOW : [QUOTE]Function uppercasefirstletter(ByVal oldString As String) As …

Member Avatar for laghaterohan
0
86
Member Avatar for gamshid

hello guys i have small proplem i use macromedia dream weaver cs3 in developing application but when write a js code with error , nothing happen - no message of the error line or any usual message like php- quistion is ( is there any built in debugger in DW …

Member Avatar for gamshid
0
92
Member Avatar for castrohe

I want to insert and order 3 objects (from different classes) in a priority queue. I create an array to access to the element inside the priority and then I push in the priority queue. The code: [code] #include <iostream> #include <queue> #include <vector> using namespace std; class Alumnos{ public: …

Member Avatar for ArkM
0
113
Member Avatar for Lee_Sonnenburg

Hey I'd like to be able to play an mp3 file in a an application in one of my Load procedures. I just need the syntax for playing the file. thanks, Lee

Member Avatar for Lee_Sonnenburg
0
167
Member Avatar for veledrom

Hi, I want to create a form with 2 textboxses(starting number and ending number) and 1 button. When i click on button it is going to list all the records between two numbers in a report. How can i do this? Thansk

Member Avatar for veledrom
0
104
Member Avatar for emilio

i have a method that saves an object to file : [CODE=java]public void Save() { if (canSave) { JFileChooser fileChooser = new JFileChooser(); if (fileChooser.showSaveDialog (this) == JFileChooser.APPROVE_OPTION) { ObjectOutputStream out; try { out = new ObjectOutputStream (new FileOutputStream (fileChooser.getSelectedFile ())); out.writeObject(this.game); out.close (); } catch (IOException ex) { } …

Member Avatar for emilio
0
178

The End.