132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aadebayo

Hello I am currently doing a project and I have added a new table to an access database linked to the vb project. I re-linked the access database, but the new table does not appear in the drop down list of the form recordsource. Please can someone tell me what …

Software Development linked-list visual-basic
Member Avatar for aadebayo
0
96
Member Avatar for petee1302

Hi everyone, Apparently I'm very bad at this whole programming thing, but, nevertheless, I am currently in a CPS course and in dire need of assistance! I have 3 objects set up: TwoNumbers, TwoNumbersTester, and Test. When I build the code, it's all fine. When I run the code, though, …

Software Development java
Member Avatar for petee1302
0
300
Member Avatar for lsy_19830908

i want to make a treelist by using Boa Constructor. first, i make a new frame, and then add a new treelist in the frame, but i can not find any key or table to let me add items in the treelist. so i typed several Python code in the …

Software Development python
Member Avatar for vegaseat
0
458
Member Avatar for karanshah

[B]hi friends this is karan here and i m a beginner in visual basics and i m studying Visual Basics 6.0 i have a project in it for Music Cutter and Music Converter and i seriously dont know what to do in it..So guys please help me in it.. Music …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
88
Member Avatar for kilon666

I'm working on a program to write chemical reactions a certain way from a file, calculate the mass and check whether they are conserved. I have this code so far: [CODE]#include <iostream> #include <fstream> #include <string> #include <sstream> using namespace std; #define INDEX_H 0 #define INDEX_B 1 #define INDEX_C 2 …

Software Development c++
Member Avatar for kilon666
0
113
Member Avatar for bori02082009

For example, if I have the number 142, how do I know it contains the digit 1, 4, and 2? So far, I've worked out that 142/100 =[B] 1[/B] 142 - (1*100) = 42 42/10 = [B]4[/B] 42 - (4*10) = [B]2[/B] So i can just use a looping system. …

Software Development c++
Member Avatar for abdelhakeem
0
166
Member Avatar for gangsta1903

Hello everyone, This piece of C# code does not produce any overflow exception. wordsize is a constant equal to 32. the x and y can be very big at the computation time. So big that long or decimal even cant hold. But C# handles the problem even the value of …

Software Development vb.net
Member Avatar for gangsta1903
0
2K
Member Avatar for tanvirahmad

Hi Experts i need to set text Box Format at run time. Like , when type any case , then show in Only Upper Case

Software Development vb.net
0
77
Member Avatar for team_ferrari22

Hi All, Is it possible to take Backup of SQL Server Compact database (i.e. *.sdf) and Restore the same. Regards.

Software Development c# sql
Member Avatar for kvprajapati
0
553
Member Avatar for mr. bean

Hi I'm building a webservice in axis2c and wanna test it with a client. I build the skeleton code for the client using the wsdl2c tool in axis. Now, when I build the solution in Dev-C++, I get a lot of linker errors like the one mentioned in the title: …

Software Development c++
Member Avatar for mr. bean
0
1K
Member Avatar for clusebalca

[b]Split from - [url]http://www.daniweb.com/forums/thread34812-2.html[/url] [/b] hi can you help me with my problem in c++ coding? my problem that in every two zeros it must fallowed by 1, to become valid if the input is not 001 like this it becomes invalid..... example: 001001001 - valid 001010001-invalid

Software Development c++
Member Avatar for iamthwee
0
973
Member Avatar for Andy_Ballard

I would like to construct a neighbour list of multiple atoms. [CODE=python] AllAtoms = {} AllAtoms[0] = [0,[]] AllAtoms[1] = [0,[AllAtoms[0][0]]] AllAtoms[2] = [0,[AllAtoms[0][0]]] [/CODE] Every member of the dictionary is referencing other members of the dictionary. I do not know how to make this reference work so that when …

Software Development python
Member Avatar for Andy_Ballard
0
233
Member Avatar for abinpeter

[b]Split from - [url]http://www.daniweb.com/forums/thread94883.html[/url] [/b] hi i have the button click event [code] protected void Button1_Click(object sender, EventArgs e) { SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=D:\Postmyadd\App_Data\postmyad.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"; myConn.Open(); string strqry = "Insert into advertisements values (" + TextBox1.Text +")"; SqlCommand myCom = new SqlCommand(strqry, myConn); …

Software Development open-source
Member Avatar for vinnijain
0
316
Member Avatar for ceyesuma

I have a class KeyCards.java that just sets up a panel (gui) with labels,combobox and text fields when the combobox is selected a class generates strings to send to a class public Class Progressions extends KeyCards and puts the strings in setters. once all the strings are there it calls …

Software Development gui java
Member Avatar for BestJewSinceJC
0
183
Member Avatar for eURe

Hi There; I have an application that work in multi-user environment. Would like to know what are the possible way to update the datagridview in other user workstation once someone did the changes? For instance, when user A had done some Add/Update/delete for a record, datagridview that work by user …

Software Development
Member Avatar for eURe
0
2K
Member Avatar for JanieRae

Hi, I'm a freshman and I just started programing. I have an assignment due soon, and it's almost finished. My only problem is there is one build error that tells me ".class expected". This is on the same line as a for statement... and that really confuses me. Here's my …

Software Development java
Member Avatar for BestJewSinceJC
0
119
Member Avatar for heroes8453

Does anyone know where I can find information about writing a java application for a file dump utility, a java program that will read a file and display the contents of the file in a byte by byte format? I am lost on this one.

Software Development file-system java
Member Avatar for jwenting
0
118
Member Avatar for milosz

hi, i am having problem with closing user control. i have some function in my parent form(with panel2): [code=c#]public void ActivateUserControlOne() { panel2.Controls.Clear(); UserControlOne = new UserControlOne(); panel2.Controls.Add(this.UserControlOne); } [/code] ...and UserControlOne appears. i want to close(remove) UserControlOne on Cancel()(Cancel is function in UserControlOne) and load another User Control (UserControl2) …

Software Development
Member Avatar for kvprajapati
0
16K
Member Avatar for kvass

Hey everyone~! I am having a major issue understanding class casting. I thought I understood it, but I found 2 problems in my Barron's book that seem to contradict in their explanations. Can someone please explain the distinction between these two problems??? [B][U]Problem 1:[/U][/B] [INDENT] Bird = Super class Owl …

Software Development java
Member Avatar for kvass
0
234
Member Avatar for vijaysoft1

I am stuck with one problem , please anyone help me to do this . The question is Write a function to modify a list ( [I]one dimensional array[/I] ) of numbers such that every number is replaced by the average of its immediate neighbours ( [I]the value just above …

Software Development c++
Member Avatar for mrnutty
0
273
Member Avatar for KRal

/*I am a noob and can not seem to be able to pass a random number to cout. I have tried everything amd am looking for a little guidance*/ [CODE]#include <iostream> #include <ctime> using namespace std; class Fraction { private: int num; // Numerator int den; // Denominator public: int …

Software Development c++
Member Avatar for jonsca
0
114
Member Avatar for musthafa.aj

java.awt.image.DataBufferByte cannot be cast to java.awt.image.DataBufferInt.. how do resolve it...

Software Development image java
Member Avatar for musthafa.aj
0
3K
Member Avatar for mark johnson

:cry: i need a code for first come first serve simulation based on vb programming :rolleyes:

Software Development visual-basic
Member Avatar for emilycox08@yaho
0
1K
Member Avatar for rena0514

had to do a program that did a binary search for the number 5 but for some reason its not being found...here's my code whats wrong.. [code] #include <iostream> using namespace std; const int SIZE=15; int binarySearch(const int, int, int[]); int main() { int posints[SIZE]={10, 36, 87, 95, 100, 110, …

Software Development c++
Member Avatar for mrnutty
0
87
Member Avatar for beGinneR24

Hello, i am just starting with Java and one of the programs is, to make a long story short, evaluate a computers power (pretend). you put in how many applications you want to run, what operating system and what power your computer is and it tells you whether you can …

Software Development java operating-system windows-vista
Member Avatar for beGinneR24
0
100
Member Avatar for tennis

In this class, line 3 "char * pName" and last line "char * name" pName and name are pointers or strings? I think they are pointers but if they are pointers how can we do strlen(pName) and strcpy(name,pName) in the code? Thanks class student { public: student(char * pName="no name",int …

Software Development c++
Member Avatar for jonsca
0
141
Member Avatar for soapyillusion

Hey guys I overall got this problem solved it has to allow the user to input numbers to do artithmitic functions to fractions. And the whole mathmatical works fine. But the professor wants it to loop, and i cant figure out a good way to loop it. The way the …

Software Development c++
Member Avatar for soapyillusion
0
290
Member Avatar for HoldmysunnyD

My teacher issued an assignment for us to implement a stack and node class based off of his header files, and then to code a postfix expression calculator using the stack and node classes that we implement. When I tried to generate an instance of my stack class, VS threw …

Software Development c++
Member Avatar for HoldmysunnyD
0
963
Member Avatar for bryanpognant

Hey guys so have an assignment for my computer programming class, i was wonder if you could help me out. im really at a loss here haha, this is basically what i have to do and if anyone has a similar program that would help me out that would be …

Software Development c++
Member Avatar for WargRider
0
169
Member Avatar for rsaska

Hello, I am studying for SCJP 6 Exam, and came across this question which shows code as asks for the output [CODE] 3. public class Ebb { 4. static int x = 7; 5. public static void main(String[] args) { 6. String s = ""; 7. for(int y = 0; …

Software Development java
Member Avatar for rsaska
0
225
Member Avatar for solomon_13000

Why is it that when I invoke the Derived constructor from the main method, I get a compilation error pointing to the Derived constructor of the Derived class. I never called the Base constructor of the Base class. Therefore why is the error happening?. [CODE] class Base { private Base() …

Software Development java
Member Avatar for PatrickSharp
0
129
Member Avatar for Tenzing

Hello, I am new to this. What I am trying to do is take a .txt file and write parts of it to different lists. The file contains line sof FCODE,DESCRIPTION such as this: DAAS44,AIRSTRIP region ruin/inactive/abandoned I would like to split each line into FCODE and DESCRIPTION strings and …

Software Development python
Member Avatar for Tenzing
0
129
Member Avatar for Purnima12

[CODE]print (yourname1) snum = input('What is your date of birth (YYYYMMDD)?:') birth1 = snum[4:6] + '/' +snum[6:8] + '/' + snum[0:4] y1 = int(snum[0:4]) #year of person 1 m1 = int(snum[4:6]) #month "" d1 = int(snum[6:8]) #day '" print ('\n') print ('\n') sleep(1) print (yourname2) snum = input('What is your …

Software Development python
Member Avatar for Purnima12
0
2K
Member Avatar for KolosoK

Hello, I have a weird problem. I have a class implemented that looks something like the following: [CODE] class textBox { public: // default constructor textBox() { m_text = ""; } textBox(string text) { m_text = text; } string getText() { return m_text; } private: string m_text; }; [/CODE] Now, …

Software Development c c# c++
Member Avatar for hllsen
0
198
Member Avatar for Tech B

I am new to this website, well posting on here anyway. I've taught myself allot about programming and scripting, so I wanna thank everyone for posting. This isn't my first program, but its the first useful thing I've done. It uses the 'w', 'a', 'd', 's' keys to move the …

Software Development posting-games python webcam
Member Avatar for Tech B
0
275
Member Avatar for Yamazaki

Hello, I'm working on an inventory system for a store that was originally built by MS Access. The database, forms and reports are all MS Access components, and it's a total mess, thus an upgrade needed. I thought of programming the new system with C#, and using MS SQL to …

Software Development mssql storage
Member Avatar for Diamonddrake
0
110
Member Avatar for jorgelex008

Hi all, I've got a main form, and a secondary form (this being a list from which I pick a number). I can store values as "global" variables - so as to bring the value across different classes. Also I've managed to get the main JFrame to display the value …

Software Development java
Member Avatar for jorgelex008
0
169
Member Avatar for letlet_pogs

Good day. I need help from those who know about my problem. How to get the total length of a string. I am trying to code that will get a total length of a string. However, if there one or more that have the same value, then it will not …

Software Development python
Member Avatar for lrh9
0
120
Member Avatar for TSaunders84

heres my code: [CODE]#include<iostream> #include<string> #include<iomanip> #include<fstream> using namespace std; struct WeatherInfo { string City; //Name of the city double Rainfall; // Total rain fall of all citys double High; //Highest temperature of all citys double Low; //Lowest temperature of all citys double Average; //Average temperature of all citys }; …

Software Development c++
Member Avatar for TSaunders84
0
88
Member Avatar for java_programmer

Hi, I have another question. What is the advantage of arraylist over vector. Why arraylist is widely used instead of vector in java programming? Thanks in advance.....

Software Development java
Member Avatar for BestJewSinceJC
0
121
Member Avatar for DoEds

I'm new to structures, our instructor haven't discussed it yet... Im trying to make a program that will ask the user 5 "fruits". Ex. The user input: Mango Apple Mango Grapes Grapes Output: Fruits entered: 2 Mango 1 Apple 2 Grapes I've trying to see some tutorials but i can't …

Software Development apple c
Member Avatar for WaltP
0
111
Member Avatar for ls3095

[CODE]#include<iostream> #include<cmath> using namespace std; int main() { float user1; float user2; float sum; char choice; for (;;) do { cout<<"Calculator"; cout << "Enter your first number" << endl; cin >> user1; cout << "Enter your function \n"; cout << "+ \n"; cout << "- \n"; cout << "x \n"; …

Software Development c++
Member Avatar for WaltP
0
137
Member Avatar for react05
Member Avatar for WaltP
0
81
Member Avatar for wwsoft

hello , I am creating a map format for a game I'm making and I'm hoping to use xml. Can anyone tell me how to access elements using tinyxml ? or at least how create some sort of pain text parser ? Thanks in advance ! A Novice C++ Programmer

Software Development c++ xml
Member Avatar for wwsoft
0
109
Member Avatar for corby

ok so i need to create a cell class for a tic tac toe game. the cell class should have a row, column coordinate, and an internal and external display value. heres what i have so far. can anyone give me some hints or point me in a direction where …

Software Development c++
Member Avatar for Fbody
0
149
Member Avatar for skorm909

ok so i worked on this during lunch at school since i was bored, but here it is so far. [CODE]#include <iostream> #include <cmath> int main() { using namespace std; int badguy1; int action1; int action; int att; int def; int health; int shop; int action2; int action3; int action4; …

Software Development c++
Member Avatar for skorm909
0
418
Member Avatar for orion_nsk

Hello Everyone, Can anyone tell me how to Register .Ocx / .Dll files on Vista Ultimate, for vb6?????? Thanks in Advance SS

Software Development visual-basic
Member Avatar for frubicel
0
128
Member Avatar for fugnut

Hello all, I am a major noob a C++ and need some help with managing case. we are to write program that asks the user to enter a temperature and a single letter, F for Farenheit or C for Celsius. The program should manage the upper or lower case input …

Software Development c++
Member Avatar for fugnut
0
177
Member Avatar for jason.

Say I have a file of string[20] . I can easily write to this, but as soon as I try to receive the data I get incompatibility errors. So I make a string[20] variable to see if I can read into it. I cannot. It just says incompatible types. When …

Software Development delphi pascal
Member Avatar for jason.
0
125
Member Avatar for moein_soltani

Hi every body... this(attachment) is my code for implemention of Huffman code,this code must read every file and compress them, it works on many test file but if I input test.txt it give an Error... How can i solve this error ... and the next problem is if we input …

Software Development c++
Member Avatar for moein_soltani
0
2K

The End.