199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anand01

Hi all, when I use break statement like following it doesn't show any error [CODE] String o="": o = o + 2; z: for(int x = 3; x < 8; x++) { if(x==4) break; if(x==6) break z; o = o + x; [/CODE] but when I interchange the label(z) position …

Member Avatar for anand01
0
236
Member Avatar for aerohn

I just want to know, what exactly the difference between the functions CStr() and Str()?

Member Avatar for Pgmer
0
95
Member Avatar for rhone0809

my code: command1.CommandText = "INSERT INTO table1,table2(value1...,value2..)VALUES('" ...... "')" how to save multiple table is one query? i tried this thing but it didn't work. anyone who can help me with this please.. thanks

Member Avatar for M.Waqas Aslam
0
151
Member Avatar for TheFearful

Hey guys, I am confused on how to do this code. The specifications are in the attachment. It is a word file. This is the code that I have so far. It does not work to what is asked for and I don't know where to go from here. [CODE] …

Member Avatar for raptr_dflo
0
115
Member Avatar for Lingson

hi, i've tried to search any examples to understand more about how to use the urllib in python 3.1, but all the tutorials are for python 2.x i need to do just a simple thing like getting the text (as string) and manipulate it. the code in python 2.x would …

Member Avatar for Rocketdlib
0
2K
Member Avatar for enterpise

[CODE]package test; import java.util.*; import sun.security.krb5.internal.UDPClient; import java.net.*; public class CMD { public static void main(String[] args) throws UnknownHostException, SocketException { DatagramSocket sock = new DatagramSocket (); Scanner keyboard = new Scanner(System.in); String fisrtarg=null; // System.out.println("Enter CMD"); // fisrtarg = keyboard.nextLine(); if (args.length > 0) {//this is important if no …

Member Avatar for enterpise
0
209
Member Avatar for thecoolman5

Hi. I am just wondering how to restore a number that is in scientific notation. So, take a number that is in scientific notation, turn it into standard form, and resave the variable in standard form. here is an example of outputing the variable amount in standard form: [CODE]n1.setf(ios::fixed); cout …

Member Avatar for raptr_dflo
0
247
Member Avatar for saybabs

I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, …

Member Avatar for broj1
0
180
Member Avatar for prachi munjal

Hi The code below is not getting executed when i m trying to make a line chart JFreeChart May be theres some problem with the persistence file.Every time I try to run it shows Jasper Exception... It shows the following [B][I][U][I]errors[/I][/U][/I][/B]: **An error occurred at line: 30 in the jsp …

Member Avatar for stultuske
0
254
Member Avatar for iamuser_2007

Hey guys I am learning CPP, I am looking for some topics material but I couldn't find any helpful material any where. It is also not available in my C++ Book, These topics are from older edition of C++. [ICODE] The Locator Design Pattern, Tracking Elements as they Move Defining …

Member Avatar for raptr_dflo
0
147
Member Avatar for complete

What software is used to record interaction with the my computer? I have seen this from time to time on YouTube where a software engineer or a graphic designer wants to record an instructional lesson, he can record this computer interaction for later playback. How is this done?

Member Avatar for DJSAN10
0
204
Member Avatar for clerisy
Member Avatar for black22622

Turbo C++ is showing declaration syntax error with this statement. Help. void main() { test s; int ch,roll; char name[30],choice,join; clrscr(); It is showing the error with the ' { ' . I have used proper header files and stuffs, and this is just a part of my 700 line …

Member Avatar for raptr_dflo
0
4K
Member Avatar for babyhuyx

Simple tic tac toe game against CPU, however, I'm printing out the results of the AI part and its coming up with some really large numbers that aren't suppose to be there. After the computer's first move, it just crashes and goes into endless loop. Where did I go wrong …

Member Avatar for raptr_dflo
0
136
Member Avatar for nijinjose123

Hi, Could anyone please help me in writing code to convert Hex Values to ASCII Thanks

Member Avatar for raptr_dflo
0
1K
Member Avatar for azegurb

Hi all, I have taken tutorial from net. but i didnt understand one thing correctly what does this [CODE] done:function(f){ postaction=f || postaction //remember user defined callback functions to be called when images load }[/CODE] and what does || sign mean there. Thanks for attention! here is [CODE]function preloadimages(arr){ var …

Member Avatar for azegurb
0
113
Member Avatar for sync101

Hello, my assignment is to write a postfix calculator. I have written the program. It works well, except for when the user enters in an error. Lets say, user enters "2 A +" it changes the A to a '0'. Which it shouldn't be doing. I have tried strtol() as …

Member Avatar for WaltP
0
191
Member Avatar for Topherman

[CODE][/CODE]hey, this program is supposed to display 50 random numbers, which is does already, average those numbers, find the maximum,minimum, and mode of the numbers. I haven't started on the mode yet, but i dont see why the other things don't work. Did I initalize it wrong? [CODE] #include<string> #include<ctime> …

Member Avatar for raptr_dflo
0
1K
Member Avatar for poojavb

Hello All, I need help in this... I am attaching a zip file which contains my project in Microsoft Visual Studia 2010 along with Crystal reports.... Please help me....its giving a lot of errors...and I dont know from where it is coming and why.... Urgent help....

Member Avatar for poojavb
0
97
Member Avatar for trisha0906

hi, what i need to do is to get information from 2 tables and show it to the listview. for example, i want to get the surname, first name and middle name from the student_info table and the Payment_Status from the accounting_system. i don't want to show the information that …

Member Avatar for ChrisPadgham
0
147
Member Avatar for srinivas88

In a client server program ... generally when the server goes down the client on executing the send command 2 times returns a SIGPIPE signal . I want to know y this happens. The client must recieve sigpipe immediately when it sends a message after the socket connection is broken …

Member Avatar for srinivas88
0
401
Member Avatar for maverick01

the uploaded is a assignment and i want to solve this task using the library fstream and using the tellp ,seekg other functions also can some body help me in that how to use all these things..!!I WROTE A FUNCTION ALSO BUT IT IS NOT READING THE FILE??? THE FUNCTION …

Member Avatar for MandrewP
0
236
Member Avatar for see_moonlight

what function can delete a space in a string? i want to find a c function , e.g. delspace(char *string) string = "abc d e" and delspace(string)-> "abcde" thanks, i want C function

Member Avatar for isaacws
0
576
Member Avatar for vijayram

Hi every one. I make it the following code for profile page.but i click edit profile display onle personal description.dont display . `<?php if($sf_user->hasFlash("notice_change_password")): ?>` this area. plz tell me how to change. <?php use_javascript("location") ?> <?php use_javascript("editProfile") ?> <?php slot("js") ?> <script type="text/javascript"> $(document).ready(function(){ $("#personal_country_id").change(); }); </script> <?php end_slot() …

Member Avatar for diafol
0
100
Member Avatar for shann1718

i have a data grid,, connected in ms access via code, on its celldoubleclick event i have the code [CODE]Public Sub dgv1_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgv1.CellDoubleClick Dim empid As Object = dgv1.Rows(e.RowIndex).Cells(0).Value display.Text = Convert.ToString(empid) editempfrm.ShowDialog() End Sub [/CODE] it suppose to display its content …

Member Avatar for ChrisPadgham
0
686
Member Avatar for Razer13

[CODE]public JLabel SetImage(String path) throws IOException { ImageIcon myPicture = new ImageIcon(path);//ImageIO.read(new File(path)); JLabel picLabel = new JLabel(); picLabel.setBounds(0, 0, 2, 2); picLabel.setIcon(myPicture); pnlImage.setLayout(null); pnlImage.add(picLabel); pnlImage.repaint(); pnlImage.revalidate(); return picLabel; } try { String Ref = txtRef.getText(); SetImage(); JLabel label = new JLabel(); label = SetImage("C:\\Users\\Documents"); App\\ImagesDoc_001.jpg"); pnlImage.setLayout(null); pnlImage.add(label); pnlImage.repaint(); pnlImage.revalidate(); …

Member Avatar for NormR1
0
139
Member Avatar for gowans07

Hi there, I've using the ADO connection within vb6. I know about the Data.Recordset.Addnew and Data.Update way of adding a new record but is there a way of adding a new record without having to link objects to the Table/Entity? Is it possible to use variables to do this. Currently …

Member Avatar for gowans07
0
123
Member Avatar for Aleksej

Hello everybody. I hope I'll find help here. I didn't know where to put this topic: here, or on php or delphi forum. Because I don't know from what to start. I have a lot of data stored in Word document. Over 1500 pages. And I want to make a …

Member Avatar for ChrisPadgham
0
116
Member Avatar for DeanMSands3

In my wayward youth, I learned a little bit of inline assembler in Turbo C. And that was fun. Then I got into DJGPP which came with GCC and Bell Syntax. And it was confusing. And I gave up. Fast forward 12 years. I'm 30, finishing a bachelor's in CS. …

Member Avatar for DeanMSands3
0
223
Member Avatar for scheppy

Hi all I'm wondering how i add Action listener to this Button It has no text, just an image, from an ImageIcon I tried I3 for the action listener but i doesant work [CODE] ImageIcon I3; I3 = new ImageIcon ("carrier.gif"); J1 = new JButton (I3); J1.addActionListener (this); J1.setBounds (420, …

Member Avatar for scheppy
0
145
Member Avatar for collin_ola

Hi, I seem to be getting the error "Syntax error in UPDATE statement." when attempting to update my database through visual studio 2008, using forms. Here is the code for the connection: [CODE]Private Sub btnLoadDB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoadDB.Click Provider = "PROVIDER=MICROSOFT.ACE.OLEDB.12.0;" Source = "Data …

Member Avatar for collin_ola
0
230
Member Avatar for jacksantho

Hi, In my record set, it's returning 67 rows. Some times(on iteration), am getting correct values from the record set and some times am getting wrong values from the record set. Am unable to solve this issue ? please help me out.

Member Avatar for gowans07
0
210
Member Avatar for hekri

Hi I'm new to this. I'm a mechanical engineering student and have to learn c++, i have this book and there's a program source code. My question is: why do we need to include ctime in this code and what is it good for? [CODE]#include <iostream> #include <cstdlib> [B]#include <ctime>[/B] …

Member Avatar for hekri
0
3K
Member Avatar for Zvjezdan23

My code has a successful build, but when I run it and type in my 5 numbers, it breaks. Any clue as to how I can fix it??? Much help will be appreciated. [CODE] #include <iostream> #include <sstream> #include <string> #include <ctime> #include <cmath> #include <math.h> #include <algorithm> using namespace …

Member Avatar for thines01
0
123
Member Avatar for gourav1

my teacher has told me to make a flag(India's national flag) in C using lines, bar and all. then fill colors. i have done this thing when i am writing this thread. now, he also told me now that the flag should look like as if it waving in the …

Member Avatar for DeanMSands3
0
1K
Member Avatar for timmy568

Hi guys, I was doing my project when i came across this error: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:686) at Screen.screenRunner(Screen.java:84) at Screen.main(Screen.java:90) I am also having problems getting my program to accept user input(height and width). [CODE]import java.util.Scanner; public class Screen { …

Member Avatar for timmy568
0
231
Member Avatar for geneh23

Hey everyone! So I have a log in script (that someone on here gave me for testing purposes) that logs in based on user_level and I also have a quick login area instead of going to the log in page..on the log in page..when the user doesn't enter any inputs …

Member Avatar for pritaeas
0
114
Member Avatar for Mr.BunyRabit

hey there. Im using Netbeans. i have a form where there is a button edit. when i press it, other form opens, and the selected item on the previous page has to be edited in the databse. So bottom line, i have to get a String / int that i …

Member Avatar for stultuske
0
173
Member Avatar for albhert2728

Hi. Can you help on my project. My code in search button doesn't run. I am making a Directory System and the following information must appear when you click search button..Remarks,Telephone Number, First Name, Last Name,Address. Email me the code at <<Snipped>..im hoping for your help on my project..Im creating …

Member Avatar for ScalesTech
0
109
Member Avatar for GeekZu

Hello I'm doing my project in C++ now. It's a Student Report Card Generator. So here's what I plan on doing: The file structure: ROOT/// --> Report.exe --> System Files -------> License.dat -------> ReadMe.txt --> Reports -------> Report 1 -------> Report 2 . . So, when the program is run, …

Member Avatar for eddiecrosby
0
936
Member Avatar for thecoolman5

hi, I am trying to make a variable equation solver using DEV-C++. I just need to know how to get C++ to solve an equation inputed by the user. So you input something like 1+1 and i need it to solve the problem and output the answer. heres an example: …

Member Avatar for eddiecrosby
0
4K
Member Avatar for SamJoe1

Hello! I would be grateful if somebody can advise me how I can build site same as [url]http://www.guide2marbella.com/property/[/url], namely, I want to creat same search form on my site where I can search items by location, etc. I am very new to web development and know only HTML and CSS. …

Member Avatar for arden_k
0
159
Member Avatar for shandoosheri

Hi i need that when i put something like a ball in front of my webcam a square is putten around that ball and keep following it if i moved the ball i currently have no idea on how i can do this so any help whould be appreciated thank …

Member Avatar for shandoosheri
0
563
Member Avatar for sidra 100

hi i m writing a program it is workng fine but doesnot update my database it gives me error since there are 4 query how can i know which one is wrong my part of program is: [CODE] $query2="SELECT * FROM rpms WHERE product_name='$raw_material1'"; $result2=mysql_query($query2) or die(mysql_error()); if ($result2) { …

Member Avatar for baruchM
0
92
Member Avatar for Hawk123

Hi, i made an application using VB.NET 2010. i have 5 forms. i want to know how to make one common navigation (like in a webpage) for this application. Is it possible to have the menu and header static and loads each form in one dynamic container. I hope my …

Member Avatar for Hawk123
0
98
Member Avatar for David Lee

I'm kind of a newb to javascript, so bear with me. I'm working on a site for a college javascript class, but I want to do a little bit more with my class site. I have a very simple slideshow set up( as a pop-up), but I want the images …

Member Avatar for Kyle G
0
264
Member Avatar for Aphrite

Ok so I have a program that can save user's input into a text file and load it back, but whenever I try to open the file and exit without selecting the file I get an error.(if i select the file and open it i don't get any errors). this …

Member Avatar for Jx_Man
0
216
Member Avatar for james6754

I have explicity declared my array to be 450 characters long. But for some reason when I run the program I seem to be getting about 475 characters and they are all -52(ascii) from 450 to 475. I also do not seem to have a null character in my array …

Member Avatar for thines01
0
120
Member Avatar for rajdey1

Hi I need to send a data to webpage and Read its response I am trying to code it for my project but I am unable to do so ..Please Help.. Below I attach the source code of the webpage where in a user manually types her/his enrollment number and …

Member Avatar for thines01
0
399
Member Avatar for syeda amna

hi What is the difference between in JFrame and JWindow? If I want to develop a a desktop application either I have to use JWindow or JFrame.

Member Avatar for mKorbel
0
2K

The End.