199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dyingatmidnight

Hello, I'm doing a sql database as a school project, the database will be a book catalogue of sorts. What I would like to do is store a biography for the authors and a summary for each book only I'm not sure what the best way to go about storing …

Member Avatar for dyingatmidnight
0
122
Member Avatar for xanawa

Hi, I have to make a datagridview and join three tables which have realtionships in my database and i need to display some of the data in these tables in a datagridview can u toutor me pls?

Member Avatar for Mitja Bonca
0
124
Member Avatar for ziggystarman

Hi Got a webBrowser control on a form displaying ads from a server, trying to load page in the default browser when user clicks on a banner within webBrowser control, by default the control always load pages within IE Browser which is not really what one wants. This is about …

Member Avatar for ziggystarman
0
698
Member Avatar for geir88

Hi, I've got an assignment at school that I would really like help with. I'm a total newbie. [code=c]#include <iostream> using namespace std; int main() { char chr=(char)67; unsigned int offset = 1000; char * ptr=(char*)0; ptr+=offset; cout << ptr[0] << (char)43 << (char)(chr-24) << endl; } [/code] The questions …

Member Avatar for Fbody
0
112
Member Avatar for kesh1000

hi can anyone tell me why the netbeans ide generates a null pointer exception. here my code. for class CustomFileFilter [CODE]import java.io.File; public class CustomFileFilter extends javax.swing.filechooser.FileFilter { private String extension; private String description; public void setDescription(String description) { this.description = description; } public void setExtension(String extension) { this.extension = …

Member Avatar for kesh1000
0
184
Member Avatar for djbuclkle

I am currently writing a program in which you input a word and the program then outputs all of the different ways the characters can be moved round into anagrams. I have wrote a way of turning the command line argument into a char array using the toCharArray() now I …

Member Avatar for JamesCherrill
0
173
Member Avatar for eng.nema

Graduation Project idea , computer system Engineering -------------------------------------------------------------------------------- Hey Every body; I am now preparing my self for my last year in college, and I want some suggestions for my Graduation Project . the problem that I dont have an applicable idea i need GP idea as embeded sysetm or …

Member Avatar for jwenting
0
269
Member Avatar for ashwinshenoy

Hi Guys, I am currently working on a vb project. What I am trying to do is reading a XML file and saving all the data in to the Access DB. Once this is done, I read the data from the access Db and display it in the required fields …

Member Avatar for ashwinshenoy
0
193
Member Avatar for alenD

Hi, I am using mysql 5.0.77. I am running queries like create table T1 as Select t1.arg0 as ARG0, t1.arg1 as ARG1, t2.arg0 as ARG3 from table t1, table t2 where t1.arg0=t2.arg0 I want to create the table if the select statement does not return an empty resultset. If I …

Member Avatar for smantscheff
0
205
Member Avatar for BMPaul

Hello, im a noob with C++ at the moment and Im trying to create a BMP image from pixel data stored in a array. Everything seems to work except that when i look at the file generated in a hex editor i get an extra '00 00' in between the …

Member Avatar for gpyrounakis
0
2K
Member Avatar for Effrego

I'm using PrintStream, to put some text in a txt. But how do I append to the end of the file? I saw some code whilst google-ing and it had other inputbufferstream stuff in it. Does PrintStream have its own append option?

Member Avatar for masijade
0
67
Member Avatar for functionalCode

Hey everyone I am trouble getting a reference to dropdownlist1. I need to get the selectedvalue so I can use the sqldatasource to update the table in my database. How can I get a reference to dropdownlist1. I have used Page.FindControl(), but I still am getting a null pointer exception. …

Member Avatar for Knvn
0
122
Member Avatar for Gernicha

Hey everyone!! I am having trouble printing the whole of a multidimensional char array. [CODE] #include <iostream> using namespace std; int main(){ char array [5][10] = {"---------", "| |", "| |", "---------"}; cout << array << endl; system ("pause"); return 0; } [/CODE] It just gives me random numbers and …

Member Avatar for Gernicha
0
187
Member Avatar for gulbano

Hey all, Can anybody tell me what is a stored procedure an what is the difference between a stored procedure and trigger? Thanks In Advance

Member Avatar for gulbano
0
94
Member Avatar for BubblesKulit

hi, i have a problem comparing values in an array and how to display them sample: [code]int[] d = new int[c]; for(i=0,j=1;i<d.length;i++,j++){ d[i]=Integer.parseInt(JOptionPane.showInputDialog("Enter value : "+j)); }[/code] i don't know how to start comparing values of each index's in the array..can someone help me? thanks BTW(new to this forum):)

Member Avatar for peter_budo
0
157
Member Avatar for vedro-compota

Hi mates!) If somebody can - please explain me - what does mean "[U]the lowest[/U]" in this context - [QUOTE]The open() function shall return a file descriptor for the named file that is [B][U]the lowest[/U][/B] file descriptor not currently open for that process.[/QUOTE] the QUOTE is from here - [URL="http://pubs.opengroup.org/onlinepubs/009695399/functions/open.html"]http://pubs.opengroup.org/onlinepubs/[/URL] …

Member Avatar for vedro-compota
0
185
Member Avatar for eileenc87

Dear All, How can I do this I created 2 forms... 1 is the main form and another is monthcalendar form. When i cliked on a button in MAIN form it will lik to another form which is MONTHCALENDAR form. When I click on the date in MonthCalendar , How …

Member Avatar for eileenc87
0
1K
Member Avatar for Greg8202

Hi I there a way to make a trigger completely independent from the calling table so that even if the trigger is made invalid, inserts can still be done to the table that calls the trigger? I created the following trigger: [CODE] CREATE OR REPLACE TRIGGER LOCAL.SYNC_TRIGGER AFTER INSERT ON …

Member Avatar for debasisdas
0
418
Member Avatar for branding4you

Hi I am new to PHP and looking to create a search php page, the search needs to be by Country, State and city. I have tried several methods over the last three weeks and none work, im slamming my head against my desk! Basicly I have three dropdown boxes …

Member Avatar for jayapalchandran
0
3K
Member Avatar for zifina

how to save the state of radio buttons on application exit.how to get or set check state of radio buttons of a form,from another form.pleasssssssssssssssssssssssssssss help me with dis..its very urgent.i am new to c sharp.i will be really very grateful. :) thank you

Member Avatar for zifina
0
237
Member Avatar for shyla

[B]i am getting this error can some one give me some directions[/B] Error 1 'ShapesDemo.Rectangle' does not contain a constructor that takes 0 arguments [CODE]using System; namespace ShapesDemo { abstract class GeometricFigure { static void Main(string[] args) { Rectangle rectangle = new Rectangle(8,8); Square square = new Square(9,7); DisplayFigureResults(square); Triangle …

Member Avatar for ddanbe
0
200
Member Avatar for ARaza110

Hi, I have a problem related to Java servlet sessions. I don't understand why the getAttribute() function of the session object is used before setAttribute(); Here is the code: [code]Vector buylist=(Vector)session.getAttribute("Register"); if (action.equals("del")) { String del = request.getParameter("deli"); int d = (new Integer(del)).intValue(); buylist.removeElementAt(d); } session.setAttribute("Register", buylist);[/code] Thanks.

Member Avatar for mKorbel
0
404
Member Avatar for guru_iyer

Hey I am trying to do a project on Test Engine. I need to retrieve random rows of questions from access database. I did the following code, but every time I once close and run it again, the sequence of questions is same. How can I change the sequence every …

Member Avatar for guru_iyer
0
797
Member Avatar for YMCMb

Hello everyone :) i want to be able to just edit and update one field of my grid view is this possible? as im using Visual Web developer 2008 express when a user selects edit to a row, it allows the user to edit the whole row ... but this …

Member Avatar for pinkygirl
0
1K
Member Avatar for cwarn23

hi, I have the following code and it compiles on Netbeans with no errors or warnings but when I load the applet in a browser the browser does not display all of the pictures that I got it to draw. The only picture it draws is my_gif. I have tried …

Member Avatar for cwarn23
0
211
Member Avatar for pawarnilesh4u

I want to send another ajax request when one request is in process to get the status of first request. If I call both the request the second request gets blocked till the completion of the first request. Can anyone suggest a method so that second request gets processed in …

Member Avatar for pawarnilesh4u
0
354
Member Avatar for jdm

I'm working on a simple program, but I help with a part of it. When I click the submit button I need the name field to be cleared and for all of the checkbox to be unchecked. I have the name field done, but I need help with unchecking all …

Member Avatar for jdm
0
2K
Member Avatar for MrCapuchino

Hello, I'm kind of new with JSP and I'm developing an school project. So far I have my web application configured to work with a database. Now I have a form that receives a user and a password, then when the user clicks enter, it calls a servlet which checks …

Member Avatar for masijade
0
135
Member Avatar for tetran

Hi all, I just want to ask about setprecision because I'm a bit confused. here's the code: [CODE] #include <iostream> #include <iomanip> using namespace std; int main() { double rate = x; cout << fixed << setprecision(2) << rate; }[/CODE] where x = to following: the left side of equation …

Member Avatar for Momerath
0
82
Member Avatar for himit

Hi All, I am using JQuery in my solution and was trying to get the value of the cell which has been clicked. however, after all my searches i ended up with no exact solution. the most common solution i got was to select a row (by making multi select …

Member Avatar for himit
0
2K
Member Avatar for navp

Hey i have to make a pizza website for my assignment. I am done the HTML part and have finished the PHP more than half. I am trying to decorate it a bit and trying to use "\t" for tab, but its not working. Any suggestions? P.S. I have made …

Member Avatar for diafol
0
3K
Member Avatar for abelLazm

Can anyone clear my concepts of IsDaylightSavingTime() function of DateTime in C#. I am really confused about it. I want to ask exactly what is the need and use of this function? Thanx

Member Avatar for abelLazm
0
164
Member Avatar for Tempest will

hi all, how do i use a drop down box to show my fields in my sql table ? below is what i have so far, i need to display all of the EmployeeIDs in the drop down box. [CODE]<select name="name"> <?php $sqlName="SELECT * FROM employeedetails"; $queryName = mysql_query($sqlName,$connection); $recordName …

Member Avatar for vibhaJ
0
115
Member Avatar for TinhornAdeniyi

What is wrong with my fread() [CODE]#include<stdlib.h> #include<stdio.h> #include<math.h> double stdDev(double avg, double x[]) { double stdDeviation; double diff; double Sqdiff; double sum=0; int i; for(i = 0; i<50; i++) { diff=x[i]-avg; Sqdiff=pow(diff,2); sum+=Sqdiff; } stdDeviation=sum/avg; return sqrt(stdDeviation); } double maximum(double x[]) { int i; double max; max=0; for( i …

Member Avatar for WaltP
0
107
Member Avatar for puvi

Hi ppl, I have been using fpdf for a quite sometime now and it works fine, but at times when i make some changes(changes does not include printing/echo/redirecting before genrating pdf, but yes i do use lot of empty space/indentation for readability n this did not create problem earlier.) in …

Member Avatar for puvi
0
89
Member Avatar for salty11

im trying to get this function to show the numbers that are not on the list in the input file, i've written this and it doesnt work, i know theres sometihng wrong with it but im not sure what it is? or how i can fix it to make it …

Member Avatar for salty11
0
180
Member Avatar for mpike

OK! i have a problem. I'm making a game with a character you control and theres monsters that move when you do and when you run into a monster i have it so you lose 1 life. (iLife --; ) i set iLife equal to 4 at the start. if …

Member Avatar for VernonDozier
0
126
Member Avatar for dmatos

Hello all, When trying to export save a file i get the following error in my SaveDialog window: The bold line is where the error occurs, says: Object Required [CODE] Dim eRuta As String On Local Error GoTo errores 'dialog.DialogTitle = "Exportar Archivo" cDialog.Filter = "Excel File (*.XLS)" cDialog.FileName = …

Member Avatar for debasisdas
0
133
Member Avatar for massivefermion

I know the how to fill a magic square but there is a problem in the code. The algorithm is like below: 1-Put number 1 at the second column of first row. 2-Put the next number one upper row and one behind column. 3-If the cell mentioned in the last …

Member Avatar for massivefermion
0
211
Member Avatar for hous3aholik

Hi guys im trying to generate 5 random numbers that return a string so i can compare it to a file. so far i have this but i have no idea how to make it a string. Since i have to compare it to the file i mentioned earlier. This …

Member Avatar for TrustyTony
0
2K
Member Avatar for bahed121

hello I have added a checkbox column in my C1TrueDBGrid i want to check all of the checkboxes with single click i have been looking for a solution i found one for DataGridView which is to add a check box in the header of column and check all of the …

Member Avatar for abelLazm
0
510
Member Avatar for tdba.316

Hi! For the past few months I've been self-learning C++ with the book "C++ Primer Plus" by Stephen Prata. After having gotten through chapter 7, I decided to check my progress by writing a little program, Baztro. Baztro stands for Basic Astrology Tool. It asks you for birthdate(s) and will …

Member Avatar for tdba.316
0
578
Member Avatar for tracydo

Please help with this program! I wrote & modified this code many time but not quite find a good solution for it. Below are some error after complied. Program problem: Input: student names, student IDs, their courses and letter grades Output to a file in table layout format with: College …

Member Avatar for dononelson
0
501
Member Avatar for bahed121

hey all can any one tell me how to insert a checkbox column in C1TrueDBGrid it is really showing me hell I am stuck in it.. Please please any one help Thanks

Member Avatar for bahed121
0
1K
Member Avatar for moey187

Hi, I'm new to programming and I'm doing a course in uni. I'm currently using "Dev-C++". I've been away on holidays and haven't been able to grasp the work we're doing now. I would really appreciate it if any of you C++ programming geniuses helped me with my work as …

Member Avatar for ntrncx
0
564
Member Avatar for Anigmalee

Hi All, I try to store Korean langguage in Microsoft jet OLEDB 4.0 database, but I cant retrive it back. [CODE]catNewDB.Create("Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & sDatabaseToCreate & _ ";Jet OLEDB:Engine Type=5;")[/CODE] I try to google around for weeks..but still cant find the solution, I believe microsoft jet 4.0 should …

Member Avatar for Anigmalee
0
108
Member Avatar for GreaseJunkie

I hate to post a thread on this since I know this topic has been discussed ad nauseum, but I've been searching for weeks and cannot find exactly the answer I've been looking for. I'm new to arrays and loops - I get the concept, but not the syntax. Here's …

Member Avatar for hielo
0
387
Member Avatar for kaizerkiller

Hi to all people members of Daniweb! I downloaded a complete package of virtuemart from this site, [url]http://virtuemart.net/downloads[/url], and but while trying to install the sample data I got this error that says, "[B]Error: Module Not Registered."store" is not a valid VirtueMart core module[/B]." I tried to reinstall the package …

Member Avatar for kaizerkiller
0
139
Member Avatar for Dannyo329

While coding a random Employee storer, I use Scanner, and its .nextInt(); to ask the user for the employee's contact number: [CODE] Scanner Scan = new Scanner(System.in); out.print("\nEnter Employee Contact Number:"); newEmployee.contactNumber = Scan.nextInt(); //(I have a class Employee) [/CODE] I get the error : [CODE] Enter Employee Contact Number:456645 …

Member Avatar for Dannyo329
0
4K
Member Avatar for Behseini

Hi Guys, I am trying to make a connection with Oracle 11g which is installed on a server 2008 BUT have problems with the ConnectionString. Could you please let me know how I set a correct connection String while I have parameters like these: Database name: GISData Server Name : …

Member Avatar for kvprajapati
0
664

The End.