199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for branflake

I was working on some code to produce a 10 x 10 multiplication table with equal tabbing and spacing between rows. I can't seem to get more than one column on my table though. I did some other research but wasn't able to find a helpful answer. Any help is …

Member Avatar for thines01
0
149
Member Avatar for thetechlady21

[COLOR="Green"]I am trying to select a row in my datagrid. There are two columns only. The row displays into two text boxes. I am trying to figure out how to select the next row in my datagrid. I have tried looking at your examples but I am still having trouble. …

Member Avatar for Reverend Jim
0
194
Member Avatar for cool_zephyr

hey there, I'm writing a program where I have to store and retrive student information(e.g. name,address,photo..) in the database. I've written the code to interact with the database in a WCF service..The problem is I'm able to get the image from the database if I directly write the code to …

Member Avatar for cool_zephyr
0
316
Member Avatar for learner guy

hi i am a newbie at c++.. this is code of game am wondering why the text is blinking ? [CODE]/ /* Include section */ #define WIN32_LEAN_AND_MEAN #include <iostream> #include <windows.h> #include <cstdlib> #include <time.h> /* Using Statements*/ using std::cout; using std::endl; /* Constants */ #define X 20 #define Y …

Member Avatar for MandrewP
0
351
Member Avatar for chamnab
Member Avatar for bradyramone

Is it possible to get a user's mac address when he visits my website through a JApplet?

Member Avatar for stevanity
0
116
Member Avatar for james6754

[CODE] USHORT * pInt = new USHORT; *pInt = 10; std::cout << "*pInt: " << *pInt << endl; long * pLong = new long; *pLong = 90000; std::cout << "*pLong: " << *pLong << endl; *pInt = 20; std::cout << "*pInt: " << *pInt << endl; delete pInt; *pInt = …

Member Avatar for Moschops
0
124
Member Avatar for janet@123

i am receiving a struct from the switch: [CODE]/* Packet received on port (datapath -> controller). */ struct ofp_packet_in { struct ofp_header header; uint32_t buffer_id; /* ID assigned by datapath. */ uint16_t total_len; /* Full length of frame. */ uint16_t in_port; /* Port on which frame was received. */ uint8_t …

Member Avatar for janet@123
0
271
Member Avatar for zo0oda

[COLOR="Red"]hello.... I'm new member and I'm so happy that i found daniweb.com to get some help from you my friends.... i need help in solving this problem...[/COLOR] •Select one program of your choice that implements Single or Double Linked List in C++. Make sure you use class in your program, …

Member Avatar for Narue
0
116
Member Avatar for CityThrille

Good day everyone. I am back from some previous months of extensive schoolwork. I am creating now a payroll application, but I think there's something wrong in my code, because it created an output that's not my intended output. Wait, guys, I'm confused. Is this appropriate for a C forum …

Member Avatar for CityThrille
0
300
Member Avatar for warlord902

I have got everything right and my project is compiling. But I am experiencing problem with servlets, when I right click on a servlet and click on run in netbeans then I get following two error: 1) Class "Servlet1" neither has a main method not it a servlet specified in …

Member Avatar for warlord902
0
3K
Member Avatar for asif_aziz

I am using master page a header(user control).I am using one dropdownlist in content page and a button in header .i need two form tags run @ server that is not possible. I am accessing the value from of textbox on header through public property, I need this value for …

Member Avatar for hericles
0
117
Member Avatar for fausto1234

I have to write a program that takes the smallest number from a list of numbers and puts it on the first position. [CODE]public static void minToFront (ArrayList<Integer> minInteger) { int result = 0; int min = minInteger.get(0); for (int i = 0; i < minInteger.size(); i++) { if (minInteger.get(i)< …

Member Avatar for CSloan7597
0
190
Member Avatar for stereomatching

compiler : visual c++ 2010 os : win7 64bits [CODE] std::string temp = "temp"; boost::tuple<std::string> A( std::move(temp) ); //this is copy std::tuple<std::string> A( std::move(temp) ); //better, woundn't compile [/CODE] this is inconvenient when I want to do something like this [code] std::tuple<std::string> kkk() { std::string temp = "temp"; return std::make_tuple( …

Member Avatar for stereomatching
0
319
Member Avatar for narekm

Hi. I have an AJAX code which sends requests to multiple .php files in the server. All the files (that I send request) are using the same Db class and I think using sigleton pattern will help me out. But now I doubt that everytime I send request it creates …

Member Avatar for narekm
0
447
Member Avatar for noobies

I have 2 query which I want to make it as 1 query. Could anyone help me. Because the query is just the same. The difference is they have 2 condition which 1 query for same year and another query for different year. [CODE]If (bboard = "All") Then If (qter1 …

Member Avatar for adam_k
0
111
Member Avatar for askerknight

[CODE]#include<iostream> using namespace std; int main() { int x, s, g,; int m[10]; cout<<"Input 10 numbers: "<<endl; cout<<"number: "; for(s=0; s<10; s++) { cin >>g; m[s]=g; } cout<<"\n"; int max, max2; max=max2=0; for(int i=0; i<10; i++) { if(m[i]>max) { max2=max; max=m[i]; } if(m[i]>max2 && m[i]<max) { max2=m[i]; } } int …

Member Avatar for askerknight
0
149
Member Avatar for BWS9292

My assignment is to create an application that allows the user to type an item's price into a single textbox, add the price to the previously entered prices, and display the total charge which includes a $15 shipping charge and a 3% sales tax. Example: I type 10 in the …

Member Avatar for adam_k
0
92
Member Avatar for Arjun_Sarankulu

create table test2 (Roll_ID int ) insert into test2 values(1) insert into test2 values(2) insert into test2 values(3) insert into test2 values(4) insert into test2 values(5) i want output as RollId

Member Avatar for adam_k
0
89
Member Avatar for reco21

Hey. Im wondering how I would style the bottom row in a while loop. Can someone please help. How do I find the highest count and then if statement on my posts div. [CODE] <?php $query="select * from posts order by id desc"; $result = mysql_query($query); $i = 0; while($row=mysql_fetch_array($result)) …

Member Avatar for simplypixie
0
94
Member Avatar for asif49

I have a form with a text field where some text is entered and is sent across using the GET method. But instead of a traditional submit button I'm using an image and I want that to do the function of the submit button. A simple <a href="file.php"><img src="image"></img></a> can …

Member Avatar for simplypixie
0
609
Member Avatar for hatebin

Hi, I'm trying to write a program in Java to send AT commands to my mobile and recive information via BlueT from it. I've already got a program to search and fide blueT Devices, and thats how i receve: 1.name of device 2.blueTooth Adress How to use this two things …

Member Avatar for hatebin
0
383
Member Avatar for Jsplinter

[CODE] vector<int> iv; iv.push_back(4); vector<int>::iterator it = iv.begin(); cout << *it; cout << *(iv.begin()); //debug assertion here [/CODE] Why can't I dereference iv.begin() directly?

Member Avatar for Jsplinter
0
281
Member Avatar for dennysimon

hello all when I do javac ,I often warn to use -Xlint ,and then the result has one or more warning. As example I attach the javac's result below.The question is how to eliminate warning thank you denny C:\LJava>javac -Xlint -d build src\KwitansiJava04.java warning: [path] bad path element "%classpath%": no …

Member Avatar for JamesCherrill
0
383
Member Avatar for C++isC++

I have an assigment that i cant solve it , can any one help ? Here is it : .................... Write a C++ program that calculates the interest for a customer’s money at a bank account. If the customer deposit is 6000 JD or less, the bank gives an interest …

Member Avatar for MandrewP
0
103
Member Avatar for lele07060

This is saying that the sum is 0.0 but I am not sure if it is right. Can someone let me know please. Here is the code i used: [CODE]import java.util.Scanner; public class Lab424 { public static void main(String[] args) { int i; float sum; i=3; sum=0; while(i<=99) { sum=sum …

Member Avatar for stultuske
0
129
Member Avatar for Royson

I have an webbrowser control on my form. I am able display html files in that control. But my page contains some images if i give [B]absolute path[/B] to it then images are displayed. But if i give relative path then images are not shown in the pages. I have …

Member Avatar for hankas
0
2K
Member Avatar for triumphost

Hey all. I'll make this quick. I want to search for a pattern and replace it with an empty string using the boost/curl libraries OR strictly c++.. No DotNet. The below code I have, removes HTML Tags from a file/string: [CODE] static string StripTags(string source) { int iSize = (int)source.length(); …

Member Avatar for vijayan121
0
309
Member Avatar for geneh23

Hey everyone, So I've looked and tried to figure out how to get the user to "log in" before accessing a page. However I've seen where you send the user to the log in page if he or she has not log in but what about if the person has …

Member Avatar for geneh23
0
1K
Member Avatar for manugm_1987

Hi Please help me, i am stuck with this. My xml will be generated dynamically .i.e it is not the same always and it doesnot have the same elements or same number of nodes always, it may grow or shrink. How to convert this kind of xml to html in …

Member Avatar for hericles
0
189
Member Avatar for syeda amna

hi Is this possible to send a request to servlet from socket client? I use request.getInputStream method to get client request. I got an error HTTP/1.1 400 Bad Request Server:Apache-Coyoyte/1.1 Transfer Encoding:chunked Date:Fri,04 Nov 2011 Connection:close How can I achieve my task??

Member Avatar for syeda amna
0
191
Member Avatar for pbracing33b

Hello I am having trouble running a form validation this is what I need to do:" Create a Web page that meets these specifications: 1. Revisit the grade average calculation program. Name the file validgrade.html. You will validate each of the grades to make sure it is present and that …

Member Avatar for pbracing33b
0
195
Member Avatar for jobojo

Learning about asp.net slowly, but surely. I have a question for those much more experienced than I. How do I make one of the items in my checkboxlist automatically selected upon page load? The items in my checkboxlist come from a SQL DB and I want one of the fields …

0
103
Member Avatar for bossman5000

write a Unix shellscripthat will take the information from two files and combine into another file I created both files in vi and they are file1 David 734.854.5643 Roberto 313.432.4532 Sally 267.423.5412 Mary 435.432.7654 Ted 324.642.6743 Alice 234.576.3245 Frank 342.465.6754 and the second file is file2 Roberto Tuesday 2 Sally …

Member Avatar for L7Sqr
0
215
Member Avatar for A.D.M.I.N

I want to translate text inputted multiple times then output it. I am using the maketrans() function. I want to translate multiple times, by a number of times a user would input.

Member Avatar for woooee
0
302
Member Avatar for dennysimon

Hi all in code below ,after I got the object aobj ,how can I identify which component aobj actualy is.And where is it Location ? thank you denny [CODE]CaretListener listener = new CaretListener() { public void caretUpdate(CaretEvent caretEvent) { Object aobj=caretEvent.getSource(); Component comp=aobj. System.out.println(aobj.toString()); } };[/CODE]

Member Avatar for dennysimon
0
858
Member Avatar for ninjatalon

I've created an application where our clients can have access to our program by logging in. It uses our database for most information. I want to implement a richtextbox where it saves notes but i don't know if i should be saving that information as a file or what. Also …

Member Avatar for ninjatalon
0
84
Member Avatar for BurgerBob

Hi guys, I'm taking a Networking & Internet Systems module... have little experience working with java and am trying to work through an assignment... hopefully you can help! The task is to implement a basic UDP chat system. Create a simple chat system which uses the network (at least locally) …

Member Avatar for CSloan7597
0
8K
Member Avatar for geekman92

i have this code here (simplified it a bit for this but you get the idea!) and i have assigned the name field of a select tag with a value of a variable so that when i click the Update button i can use _POST[name_var] to get the value of …

Member Avatar for geekman92
0
191
Member Avatar for BoBok2002

I need help. I tried to load an image using SOIL. I was having problems with it so I found another code I am using. However, it looks like I am not loading it properly. It's simple but I think I'm confusing myself. I still can't wrap my head around …

Member Avatar for BoBok2002
0
5K
Member Avatar for ruelzkie03

hi... can someone help me with the codes..... when i search for the person only the data of that person appears on the form... i want also to show the picture of the person being search... how can i do that?.... can it be save within the adodc connection?... BTW.. …

Member Avatar for MichaekMagdy
0
145
Member Avatar for lele07060

I'm trying to make it print out like this ***** **** *** ** * but it keeps on coming out like this: ***** **** *** ** ** here is the code i used [CODE]public class Asterisk { public static void main(String[] args) { for (int i=5; i>0;i--) { System.out.println(""); for …

Member Avatar for thines01
0
123
Member Avatar for Acidburn

Guys, I've got an issue but I also dont know if its possible. I've templated (generic'd out a class that takes type T where T is a HtmlControl object ... [code] internal class Controller<T> where T : HtmlControl { public T locateControl(T t) { t.SearchProperties.Clear(); t.Find(); return t; } } …

Member Avatar for darkagn
0
122
Member Avatar for coding101

Im having trouble connecting my sockets. On one computer I have a java server socket running and on the other computer i have a c socket client trying to get the message from the other computers server. But I cant get them to connect. Do you see an error with …

Member Avatar for nezachem
0
150
Member Avatar for mcuk

I have a basic page which has a PHP form. It creates a record and uploads a picture. When they user clicks submit, I need it to display a "loading" notice of some description. I was using this: [CODE]<script type="text/javascript"> var ray={ ajax:function(st) { this.show('load'); }, show:function(el) { this.getID(el).style.display=''; }, …

Member Avatar for MartinRinehart
0
322
Member Avatar for opjjuly

Hello guys, im using javascripts in my index page. For navigation hovering, slideshow and the other one is for displaying inline content in a form of a lightbox. But the problem is they cant seem to work together. i have to remove the inline content JavaScript for the slideshow and …

Member Avatar for MartinRinehart
0
185
Member Avatar for buzzykerbox

Hi have to pass the values in the first five text box's to the second five text box's,nearly have it [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <script> function transfer() { var myArray = []; var txtBoxs1 …

Member Avatar for MartinRinehart
0
110
Member Avatar for narekm

Hi there. I have a simple textarea tag built and also a very simple script which inserts the text of the text value into textarea . Please copy and paste that to understand what I mean . And when you submit send button the new inserted line pushes all others …

Member Avatar for MartinRinehart
0
167
Member Avatar for Jdan2388

Hi I think im doing fairly good on this program but for some reason its giving me an error on line 27 this program is supposed to compute two statistical values for an array of 500 integers ranging in value from 0 to 2000 what am i doing wrong? [CODE] …

Member Avatar for Lerner
0
256
Member Avatar for hubbrdw

This is homework and I need help if someone is willing to help. I cannot get the 2 getElementById functions to work and I am a beginner so I am sure it is something simple but I have not been able to fix it. I need to click on the …

Member Avatar for MartinRinehart
0
166

The End.