199,114 Archived Topics
Remove Filter ![]() | |
Well, that is exactly what I want to do. To help you a bit more, I want to create a toolbox that has an auto-hide feature so my application's users will have the option to do actions from there. To be even more specific, I want to create a built-in … | |
Hello guys. After some time searching around the forums for a thread about an e-book for crash course from C++ to Java and no luck I decided to post a thread about it. So my question is,does anyone has or knows such book? Thanks in advance. | |
I just found this example in my book. After running the program in will only ready the first line of my file. Ex. inside my file "PhoneBook.txt" Mine 12345678 Hers 1234567 Them 123456 It will only read "Mine 12345678" ignoring "Hers 1234567 and Them 123456" How will i'll make this … | |
hi I'm trying to find a way to create a dynamic form from mysql database and update multiple rows from it. For example let's say I have a database with email and the owner's name. How do I build the script to make php grab the data from the db … | |
Dear All, Please kindly help me, i go data in the datagridview and textbox from database. i would like in textbox data change and equal to rows of datagridview. when i click next or previous button. Thanks in advance. Chantra | |
#include <iostream> #include <stdio.h> #include <fstream> #include <string> using namespace std; int main() { int number_Of_Lines_To_Print_From_End=0; char file_name[20]; streampos length; cout<<"enter file name that needs to be opened\n"; cin>>file_name; cout<<"enter number of lines to print from end of file\n"; cin>>number_Of_Lines_To_Print_From_End; fstream file; file.open(file_name, ios::out ); if(file.is_open()) { cout<<"the file opened\n"; … | |
hello to all, I am using MS SQL 2005. I have 3 tables, COLLAGE, USER, STUDENT I am providing username & password to collage as well as students. I wanted to assign Foreign Key to 'username' in both tables College & Student. i have done, 1. right click on username … | |
I'm trying to find the largest int in an array and then print it out to the screen. Here is what I have so far: [code=c]void LargeNumber(int numbers[], int k){ int len = k; int i = 0; int big_num = 0; for(i=0; i<len; i++) { printf("i is: %d\n", i); … | |
1st of all, i'm new in socket programming... I try to received file.txt n show it in a form... I try my code below, but it always fails... it seem like become endless loops... I try to trace it, 1st loop seem ok, but it's not stoping after 1st loop.. … | |
Hello :) I've been trying to compare to array lists with the following code: [CODE] final VideoObj v1 = new VideoObj( "A", 2000, "B" ); final VideoObj v2 = new VideoObj( "B", 2000, "B" ); ArrayList<Record> list = new ArrayList<Record>(); list.add(new Record(v1,1,0,0)); list.add(new Record(v2,3,0,0)); ArrayList<Record> list3 = new ArrayList<Record>(); list3.add(new … | |
I wrote this small program for a class im taking, and its supposed to take an int n and a radix (int between 2 and 16) r and give me the number converted to the new base. It only has to go from decimal to other radix's. I run my … | |
hello all, i am new to ajax.. unfortunately, i was given an assignment before i complete ajax.. i need help, someone pls direct me where i can learn to solve the following thing!! Consider a web page has 3 frames, the top has the header, the left has the actions … | |
Does anyone know if its possible and/or practical to set up database mirroring between two MS SQL 2005 servers that are on completely different networks? The bandwidth between them is around 5mb and asynchronous would be fine. Thanks in advance, Avi Reiter <URL SNIPPED> | |
i was wondering how i can convert my fetch data from database into XML..!! actually i want to use idea on pagination..!! when first time user search for data...!! a XML file will creating containing data from database..!! and further data will be listed from XML instead of database..!!! can … ![]() | |
i created a table with a files with auto number in mysql. i added 15 raws of data i deleted some added data (say 6-15) when i add data again, auto number starts with 16. how can i make it 6? (i hope u get the point) | |
Hi there, Can some one help me with the following problem. I need to pass the date to 2000-02-02 date format so that mysql will accept it. The following code is as follows; [CODE]function checkdate() { var begDate = new Date(document.demoform.now.value); var endDate = new Date(document.demoform.later.value); var difDate = endDate.getTime() … | |
[B][COLOR="Green"]Hello [/COLOR][/B]to each member of this community.I am a new member of this community and wants to know about [COLOR="Red"]bluetooth connectivity [/COLOR]from [COLOR="Green"]pc to mobile[/COLOR],if any one has relevent information(include code also) plz, provide me. [B][COLOR="Green"]Thanks a lot[/COLOR][/B].:icon_razz: | |
In unix if you create and open a file by using 9 digits numbers in the open function it seems to work but in C++ you only don't have a parameter to do that rather you have ios_base. Just wondering if there are owner,group and world settings that can be … | |
this is a while loop structure.... the output is this .....* ....*** ...***** ..******* .********* *********** supposed to be... this must be a perfect triangle... the dots represents blank spaces my code was this [ICODE=JAVA] public class stars{ public static void main(String args[]){ int stars=5, space=5; while(int i=1; i<=stars; i+2){ … | |
I'm a little lost when it comes to initializing a dynamic array. I am counting the number of integers that appear in a given text file and incrementing a counter which will then be used to set the size of the array. Here is what I have so far: [code=c] … | |
Hi, The following code works well but the problem is it does noy reads the null values.For Example if csv file contains" Surendar,Java,maths,science,,history,english " Here the program reads the first four strings properly and for fifth string instead of reading null value it reads the next string. Please Correct the … | |
Hi everyone. I want to read a file and store each word in an array. I also want to know how many words there are in the file. After I do this, I want to reverse the words from two different files and see if they are anagrams. Here is … | |
hello, I'm a beginner and I'm trying to create a mortgage GUI and I'm having some trouble trying to figure out why the variables in my ActionListener are not read. can someone assist? here is my code: import java.awt.Container; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import … | |
[ICODE] #include <iostream> #include <algorithm> #include <string> using namespace std; struct employees { int em_id; string em_name; string position; string gender; }; void read(employees record[], int max_1); bool IDsort(const employees &a, const employees &b) { return(a.em_id < b.em_id); } char Namesort(const employees&a, const employees &b) { return(a.em_name < b.em_name); } … | |
hullo frenz, i am designing an employee database. the records are displayed on a master (emp.vb) form whereas the search button is on a seaparate form(emp_search.vb). hw do i code the search button on the 'emp_search.vb' page so that this form closes automatically and den the records are displayed on … | |
O_RWDR opens a file for read and write and pmode allows you to specify permission for each of the users? WHAT DOES IT MEAN BY WHAT PMODES AND O_RDWR ARE AVALABLE ON YOUR SYSTEM? CONSIDERING I AM USING VISTA I HAVE NO IDEA. I HAVE THE ABILITY TO READ AND … | |
I'm trying to store or arrange three sets of two-dimensional data into three 2xN matrices that are stored as NumPy arrays. [CODE] 1. import os # for file handling functions 2. import numpy as np # for array/matrix processing 3. import matplotlib.pyplot as plt # for general plotting 4. from … | |
i am passing values to stored procedure from .net through command parameters.when i pass values like string City="'Lucknow','Kanpur'"; Com.Parameter.AddWithValues("@Cities",City); create procedure SPGetState @Cities varchar(2000) As Select * from Temp Where City in(@Cities) i can't get the result.But i run this in Sql Query Analyzer ,i get the result.What;s the problem,i … | |
HI everyone i have created a form in c#. This form is connected with the database. i want to add data with the help of button. for example if i click on add button the data should add in my database. any one please help me. thanks | |
I have a little special question about the for loop. Normally you could do the count as I have declared with a count from 0 - 10. What I do inside the loop is to identify many scenarios if the count should start from 0 - 10 or vice versa … | |
![]() | Hi there, I am running a program in order to generate some reports. The program starts connects to the database takes the first customer and then calls a method in order to create a report for this customer. When it completes takes the second customer generates the report etc etc. … |
Hi. I'm using a datagridview to display data and make updates to my access database. I was able to display data from my database to the datagridview but it is not filtered. The datagridview displays all the records on my database. I tried using query builder to execute sql select … | |
Here's my SQL Statement: SELECT * FROM tblHeader WHERE Requestor='"&label1.text&"' Why doesn't it work? | |
Hi all. I recently wrote a python program that takes a screenshot of the current active window. After taking that screenshot, it saves it as a bmp (using PIL), and then goes thru each pixel, looking for a certain color. If it finds that color, it moves the mouse to … | |
Hello everybody, I want to create a program that removes the first line from a text (csv) file (which is a header). I used this code: [CODE] string deleteline = "Name, ID, D.O.B, etc., etc."; //contains the Header information to be removed string line; ifstream sup; sup.open("DOWNLOADED_DATA.csv"); ofstream temp; temp.open("temp.csv"); … | |
Hi, i am currently making a class to handle xml files but my class will have a lot of child and i dont know if the way i keep the parent in the child node will be a copy of it or a pointer to it.... thx for taking time … | |
I am writing a custom slider control, All its functionality is accounted for but now the aesthetics (which was the reason for writing it in the first place) has become problematic. It starts with a custom class that converts true hls and rgb, thats 360 stops not 255. then I … | |
I really need help with this guys. This compiles and runs but does not give me the right output. tfile.data: Seth 19 1.7 Austin 20 1.8 Michael 21 1.9 [code]#include <iostream> #include <fstream> using namespace std; int main() { ifstream fin; fin.open ("tfile.data"); if (fin.fail()) { cout <<"ERROR"; exit(1); } … | |
Hi yall, So what my code is supposed to do is basically count the number of paranthesis that the user enters and hit me back with the result. The code below works perfectly when there are no white spaces in the user's input. But when white spaces are present, It … | |
Hi, i've just taken higher computing in college and need to know a couple of things before i can proceed further with the course. The first is how to represent floating point numbers in binary. i have a good grasp of binary & data types etc. there are a few … | |
i've copied this code from net but this is not working. Only blank output. can anyone help. i'm new to assembly. [code][ORG 7C00h] ; This is where BIOS put me ; --------------------------------------------------------- ; Main program ; --------------------------------------------------------- mov si, msg ; Print message call putstr hang: jmp hang ; Hang! … | |
| |
Hi, I have these 2 links I want to start in this web browser. The point of it being in the web browser is so they can't see the 2 links. The first link signs the person in on this gaming website. And the second link starts the game. The … | |
I am developing a ASP.NET Web site and am looking to add a hyperlink or something similar to a repeater that will retrieve the path directory from a database table to PDF documents, so that when the user clicks the hyperlink they will be able to download the PDF File. … | |
Hi, I need to convert a string of binary numbers to their corresponding ASCII characters. E.g. 011000010110001001100011 should be displayed as ‘abc’. I tried couple of functions in C# but could not get the desired result. To get a more clear idea of what I need, please visit [url]http://www.theskull.com/javascript/ascii-binary.html[/url] Enter … | |
Here's my program: import java.awt.Rectangle; public class RectangleTester { public static void main(String[] args) { Rectangle r1 = new Rectangle(0, 0, 100, 50); Rectangle r2 = new Rectangle(0, 0, 100, 50); r2.grow(10,20); System.out.println(r1); System.out.println(r2); } } No error compiling but when I run this is the output 2009-09-14 16:00:29.174 java[414] … | |
Dear Sir, Could you please give me some of the ideas of making the hotSeat game in pascal? The following is the simple mode of my coding:- [code] Program yeungkt1; {$APPTYPE CONSOLE} { Who wants to be a millionaire. Author: Chris Yeung Version 1 } uses SysUtils, OurCrt; Type hotSeat_record=record … | |
Hi all, I am a first year student at the university of South Africa. I am doing my degree via correspondence, thus no lectures. I am working through the prescribed book as best i can but they still assume a little bit of fore knowledge of programming which i don't … | |
I'm just learning python. I'm trying to figure out while loops with s.argv in a larger script on my network. hopefully this small example will show basically what i'm trying to do. argtest.py import sys for arg in sys.argv: print arg #which gives me: Life is good but could be … | |
I need help with my homework assignment for school. I was able to get everything to work fine when I just put everything in int main() without using functions but when I tried to separate everything into functions the program is not running correctly and although I don't get an … |
The End.