132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rvijaya

Hi, this is my basic program for an assignment but I can't figure out why I am not getting the desired output for the grade printed and why there is a repetition of the Enter Student Name at the end before the program loops again. I have also included a …

Software Development java
Member Avatar for rvijaya
0
146
Member Avatar for sean.downes.96

Can anyone explain how to remove an item from a listvuew. Ive tried: ListView6.SelectedItems.Remove() However that doesn't work, it has the little blue line underneath it. Does anyone else have any ideas? Thanks

Software Development listview vb.net
Member Avatar for bnitishpai
0
162
Member Avatar for sundog1

Hi Guys, **<-- Newbie Here!** I seem to have an issue with an INSERT INTO statement when trying to add some textbox data into a DataSet and then update the backend table called 'cashOrders' in a Access Databse. The Following code is being run from the 'Save Button' private void …

Software Development dataset microsoft-access
Member Avatar for sundog1
0
203
Member Avatar for rahul.ch

I noticed that when equals() is used to compare between two String objects it works fine. But when I compare two StringBuffer objects or two StringBuilder objects or mix of String and Builder and Buffer, equals() doesn't work even though I give same string value to the two objects being …

Software Development api java
Member Avatar for rahul.ch
0
323
Member Avatar for jane.frasier

I have an Access database that I upsized with the wizard wishing to continue using Access for the Front End. I want to be able to connect to the SQL database without having each computer setup for the DSN. I added this to the autoexec macro. Function autoexec() On Error …

Software Development visual-basic
Member Avatar for AndreRet
0
182
Member Avatar for Babyblues

Ok so here is what I have and I am stuck. It is not recognizing whether a number is even or odd. So where do I need to put the remainder operator so that it will recognize if a number is even or odd? import javax.swing.JOptionPane; // program uses JOptionPane …

Software Development display java java-swing
Member Avatar for stultuske
0
206
Member Avatar for straylight

I am very new to C and I am hoping for some pointers. I am attempting to take an input of 7 integers of an array and search through them to see if any number appears only once. Here is what I have so far #include stdio.h #define ARRSIZE 7 …

Software Development c seo
Member Avatar for straylight
0
209
Member Avatar for dtrump23

Hello, I need to figure out how to dynamically take a HTML view and convert to a image (jpeg or png). Then I want to pass that image to another application. Any suggestions? Thanks

Software Development html-css image
Member Avatar for geniusvishal
0
129
Member Avatar for uroz

Dear people of DaniWeb! I am in trouble. I can't figure this out I have a text file Five Finger Death Punch – 'Under and Over It':30 Staind – 'Not Again':23 Breaking Benjamin – 'Blow Me Away':56 Theory of a Deadman – 'Lowlife':33 Anthrax – 'The Devil You Know':120 Like …

Software Development
Member Avatar for AnnieCalvert
0
121
Member Avatar for Vasthor

#include "splitzer.h" using namespace std; // find all the lines that refer to each word in the input map<string, vector<int> > xref(istream& in, vector<string> find_words(const string&) = split) { funtion body; } error: line 3, expected initializer before using error: line 6, expected constructor, destructor, or type conversion before "<" …

Software Development c++
Member Avatar for rubberman
0
83
Member Avatar for rahul.ch

import java.util.*; class SampleA { } class SampleB extends SampleA{ } class SampleC extends SampleA{ } class VectorDemo { public static void main(String r[]) { Vector<SampleA> v = new Vector<SampleA>(); v.add(new SampleB()); v.add(new SampleC()); SampleC rect = v.get(2); } } The output says "Incompatible types. Found SampleA, required SampleC. SampleC …

Software Development java oop
Member Avatar for rahul.ch
0
229
Member Avatar for dantheman4

public static void total() { Scanner s = new Scanner("five six seven eight"); int num= 0; for(int i=0; i < s.length; i++) { if(s.charAt(i).equals("a") || s.charAt(i).equals("b") num++; } System.out.print(num); } public static void main(String[] args) { total(); } > What am I doing wrong ?

Software Development java
Member Avatar for Nutster
0
146
Member Avatar for timosoft

Hello i need your help in calculating this. i have 5 textbox with text: N203.00, N40.00, N500.00 ..... how do i add this textbox text and display result on a label. Thanks TiM

Software Development vb.net
Member Avatar for Nutster
0
209
Member Avatar for Sasquadge

Hey guys I'm running into an error. I've got the tree and the base working. But now that I'm to the trunk it'll only center the first one and the rest are to the left. any suggestions? #include <iostream> using namespace std; double height; int main() { cout <<"This program …

Software Development c++
Member Avatar for Sasquadge
0
119
Member Avatar for silvercats

with questions at the end. coding exercises and answers. for extreme beginners.

Software Development c++
Member Avatar for arkoenig
0
356
Member Avatar for theboyandtheocean

Hey There, I'm a beginner when it comes to VB.net. I can do all the basic stuff, but I'm having issues with connecting to a database I've created. Ultimately, I need to feed data from a few text boxes to one table within the database, but I can't even get …

Software Development microsoft-access open-source vb.net
Member Avatar for thewilf
0
196
Member Avatar for thewilf

Hi All, I have a Windows Form with a tab control on which was working fine and had 7 tabs. I added a picture box and this has some vb powerpack rectangles on top which werent displaying, were falling behind picture box. I sent the picture box to the back …

Software Development vb.net
Member Avatar for thewilf
0
109
Member Avatar for triumphost

I've been trying to do this for some time. I can do it with a vector but with a const void*, it crashes badly! My bad code: Bitmaps::Bitmaps(const void* Pointer, int Width, int Height, uint32_t BitsPerPixel) { Pixels.clear(); memset(&Info, 0, sizeof(BITMAPINFO)); width = Width; height = Height; size = ((width …

Software Development c++
Member Avatar for triumphost
0
187
Member Avatar for london-G

Hello, I have 3 combobox and I want to find them in my table "class" and retrieve the ID. I am currently having trouble with the following code: public void retrieveClass(String time,String stage, String teacher){ Connection con = null; ResultSet rs = null; java.sql.PreparedStatement st = null; Properties conProps = …

Software Development java
Member Avatar for london-G
0
215
Member Avatar for mikias.kidane.9

I am having a problem with arrays.... for this assignment i can not use Arraylist... I only be able to use array of string. here is my problem. I am asking the user to enter words with in 1 minute ... when the time is up ..i need to print …

Software Development java
Member Avatar for NormR1
0
251
Member Avatar for davidflynn9

I am needing some help with Visual C# 2010 Comprehensive An Introduction to Object Oriented Programing by Joyce Farwell, Chappter 11 Question 3. ArgumentException is an existing class that derives from Exception; you use it when one or more of a method's arguments do not fall within an expected range. …

Software Development
Member Avatar for nmaillet
0
418
Member Avatar for Sana'a Ala'a

Hi there i'm thinking of starting a database project but i want the DB to be located in a PC works as a server and distribute this DB over an internal network, so many users (clients) can access the DB from their own PC. Any good tutorial or example?

Software Development java
Member Avatar for Sana'a Ala'a
0
82
Member Avatar for lim9I

#include<iostream.h> class ADTqueue { private: int queue[10]; int head,tail; public: ADTqueue() { tail = -1; head = 0; } int empty() { if(head == tail+1) return (1); else return (0); } int full() { if(tail == 9) return (1); else return (0); } void append(int num) { if (!full()) { …

Software Development c++ queue
Member Avatar for rubberman
0
229
Member Avatar for soujanya.bhat.184

I am new to programming.I have written this code which arranges the words in reverse order i.e., if input is "I Am Sad" output should be "Sad Am I" but am not able to get where i am going wrong so plz help me. here is the code #include<stdio.h> #include<string.h> …

Software Development c
Member Avatar for deceptikon
0
146
Member Avatar for Lardmeister

To print on the same line Python2 uses print item, Python3 uses print(item, end=' ') Is there a way to make it work in both versions?

Software Development python
Member Avatar for Ene Uran
0
246
Member Avatar for sundog1

Hi Guys... I seem to be having an issue when trying to create a new row in a Dataset. Below is the following Connection Details to the Access DB. private void radioButton3_CheckedChanged(object sender, EventArgs e) { cashCustom.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Orders.mdb"; cashCustomerDS = new DataSet(); cashcTable = new DataTable(); cashCustomerDS.Tables.Add(cashcTable); cashCustom.Open(); …

Member Avatar for sundog1
0
2K
Member Avatar for 45lbplates

I'm a beginner so bear with me. I have a string and in it there is a character I want to remove. What is the best way to remove it? The shit I've found on the internet, it's making my head explode. I found this: str.erase(std::remove(str.begin(), str.end()), str.end()); Why is …

Software Development c++
Member Avatar for vijayan121
0
5K
Member Avatar for jemz

Hello, Is there a way to put some security in the jar files? the java codes are inside the jar file how do i prevent user to see my java codes...

Software Development java
Member Avatar for jemz
0
103
Member Avatar for as_khoshtip

have a Problem in C# windows program that is I can't work with 2 database those are simple database in tables and Data. in this Project I want to open Access DataBase and Create New Access DataBase with another Name But with Same Tables And Columns And Rows and fill …

Software Development microsoft-access open-source
Member Avatar for nmaillet
0
236
Member Avatar for dantheman4

import java.util.Scanner; public class LoopPatterns { /** * @param args */ public static void main(String[] args) { public static double Largest { Scanner s = new Scanner(System.in); int num, largest = 0; for ( int i = 1; i <= 10 ;i ++) { System.out.print("Enter a number : "); num …

Software Development java
Member Avatar for Starstreak
0
364
Member Avatar for Phadefrequency

define a class containing overloaded method which calculate are of square circle and rectangle depending on the type and numbers of arguments passed. If the number of argument passed to the are is one ,then the area of the cicle and suare should be displayed,however if it is 2 then …

Software Development java
Member Avatar for JamesCherrill
0
5K
Member Avatar for pao286

i created a game program using vb6 and i finish it already my problem is how can i make this program ready to install in or become installer.

Software Development visual-basic
Member Avatar for CJ_Pyro
0
6K
Member Avatar for dantheman4

import java.util.Scanner; public class LoopPatterns { /** * @param args */ public static double Largest (){ Scanner s = new Scanner(System.in); int num, largest = 0; for ( int i = 1; i <= 10 ;i ++) { System.out.print("Enter a number : "); num = s.nextInt(); if ( num > …

Software Development java
Member Avatar for NormR1
0
228
Member Avatar for jalpesh_007

I have made one program that work on hash map. I want to do one thing. All the tuples(row) with defined quasi identifier location having value >=k will be moved from map m1 to asMap and it also removed from m1. So at last i am printinf the output of …

Software Development java
Member Avatar for NormR1
0
248
Member Avatar for kerek2

Hi, Tq for ur support before.... I got some stuck here regarding how to make my text file write a new line for each input from textbox.. E.g :- I have a one textbox1 , when i insert any value in textbox it will save into my textfile. .. but …

Software Development vb.net
Member Avatar for lebo.bytes
0
2K
Member Avatar for poloblue

Good Afternoon, I'm fairly new to C++ programming, right now I'm having difficulties completing an assignment that consist of a student database. I really appreciated if someone would help me or give me some guidelines to complete the assignment. The assignment consists of that the database only generates one text …

Software Development c++ database-design file-stream
Member Avatar for deceptikon
0
197
Member Avatar for queos

please help with this program. I need to calculate the highestSalesand the averageSales using float funtions and displayOutput using void, I wrote the program but I can not get the output I get a lot of confusion. please help. when I'm trying to compile i get the error cpp:5 too …

Software Development c++ ios
Member Avatar for Bob
0
137
Member Avatar for Pooja#

Can anyone explain me the below and please tell me why it is not accepting large number of strings. sed ':a;s/(([^,|]+)[|,].*)\2/\1/;ta;y/,/|/;s/||/|/g' file_nm

Software Development shell-scripting
Member Avatar for Pooja#
0
287
Member Avatar for king03

Hi there guys I am encountering another problem with my code, it says Error: 'Francis.Form1.Dispose(bool)': no suitable method found to override. I have uploaded the screenshot of my problem, please help me guys I don't understand why I am encountering such problems and a fix will be very helpful. Thanks …

Software Development c c# c++
Member Avatar for abhishekabhi
0
224
Member Avatar for yup790

I am 2/3 thirds of sams teach yourself java in 21 days and I would like to know what to do to get proficient with programming. I heard I should look at source code, if so where can I find some. What kind of projects should I do. Should I …

Software Development java open-source
Member Avatar for JamesCherrill
0
203
Member Avatar for HibaPro

i use this Update code to update my record but i get this error msg : Dim con As New SqlConnection con.ConnectionString = My.Settings.TenderingSysConnectionString con.Open() Dim cmd As SqlCommand = con.CreateCommand() cmd.CommandType = CommandType.Text cmd.CommandText = "update BOQDetailEntry set BOQDetailEntry_ID=@BOQDetailEntry_ID, ProjectTenderingNO=@ProjectTenderingNO,BOQSection=@BOQSection,Part=@Part,BOQITEM=@BOQITEM,BOQItemNo=@BOQItemNo,Description=@Description,Unit=@Unit,BOQTY=@BOQTY,ReferenceDrawing=@ReferenceDrawing,ReferenceSpecifications=@ReferenceSpecifications where BOQDetailEntry_ID=@BOQDetailEntry_ID" ' BOQDetailEntry_ID=@BOQDetailEntry_ID cmd.Parameters.Add("@ProjectTenderingNO", SqlDbType.NVarChar, 50) cmd.Parameters.Add("@BOQSection", SqlDbType.NVarChar, …

Software Development vb.net
Member Avatar for G_Waddell
0
472
Member Avatar for pop_cola

Hi guys, Just want to ask if there's a way to search in a date/time field in access and display only the month that match the string from a textbox. The query below. sql = "SELECT * FROM tblName WHERE fldDate LIKE '%" & textbox1.text & "%'" So if I …

Software Development vb.net
Member Avatar for G_Waddell
0
258
Member Avatar for XEN0

A Example for OLE DB I Compiled. Put back together for fun maybe. # Someone convert this to ASP.Net plz with a splash screen. # # Required Materials # 1. a vb.net compiler(visual studio vb.net express perhaps?) 2. Libzplay dll(your search engine will help) Imports System.Data Imports ESO.libZPlay Imports System.Data.OleDb …

Software Development microsoft microsoft-access vb.net
Member Avatar for XEN0
0
409
Member Avatar for amir734jj

String s1 = "+1-2+3-4+5+6-7"; String s2 = "1-2+3-4+5+6-7"; I want to find the value of sum of each of those string in integer ? there can be only addition or subtraction

Software Development java
Member Avatar for zw_jvdijk83
0
94
Member Avatar for btbessaay

I made a battleship game and its gone well except for checking if the ship is sunk... Any help? Here's what I have so far, thanks in advance. public class BattleShip { private static final int dimensions = 10; private String[][] board = new String[dimensions][dimensions]; private String[][] piecesBoard = new …

Software Development java
Member Avatar for VernonDozier
0
262
Member Avatar for lmsmi1

http://www.daniweb.com/software-development/cpp/threads/267174/vigenere-cipher Read that. Was the full, complete code posted? If so, can I get a link or code? I want to refer to this when I get stuck with my project.

Software Development c++
Member Avatar for rubberman
0
606
Member Avatar for Sasquadge

Hey guys I'm new to programing and I made a program to solve quadratic formula but it doesn't work with imaginary numbers when the number is negative I get something like this -1.#IND. What can I add or adjust in my code to help get the program to show imaginary …

Software Development c++
Member Avatar for rubberman
0
3K
Member Avatar for Dudearoo

**Dudearoo** *Useing Code::Blocks* Hey Guys! ive got a question, How can you find a string and then print after it?? ive searched google high and low and came out with nothing. What i want to do is to read a string(StringONE) and see if an other string(StringTWO) is in that …

Software Development c c# c++
Member Avatar for Suzie999
0
246
Member Avatar for FUTURECompEng

I have the user input a sentence (example " Hello this is some jello "). I already have that complete by having a method to do this. What the method does is take a user input (.nextLine) then stores the words of the sentence into String[] words and I use …

Software Development java
Member Avatar for FUTURECompEng
0
172
Member Avatar for mitch_oso

Hi Everyone, I have this problem whit my code : ExecuteReader: Connection Property has not been initialized and i don't know why This is my code: Dim maximo As Integer Try oConn = New OleDb.OleDbConnection(con) oConn.Open() ' abrimos la base de datos oComn = New OleDb.OleDbCommand("Select ID_ISSUE From ISSUE") oRsRead …

Software Development vb.net
Member Avatar for thewilf
0
241

The End.