132,726 Archived Topics
Remove Filter ![]() | |
can i write XML with JAVA ? if can ,can anyone tell me what book should i read ? | |
I have created an application which has a crystal report viewer embedded in it. But the *.rpt files that are going to be opened in the viewer are too big, and it waits for minutes while opening. How can I put a progress bar or something to indicate that the … Software Development | |
i know how to save a text file to a sql database, the problem is on when will be the process is executed because i need to monitor the operation of an existing system.. | |
Hi everybody I'm not sure where to put a question like this so forgive me if I'm in the wrong spot. I've just passed my college course C++ (had VB.net experience... if it matters) with a B. Is that knowledge enough to get a job somewhere or do I need … Software Development c++ | |
Hi there, I'm having some real issues with restoring a piece of legacy software at my workplace. I have an offending line of code that I can't debug. [CODE]bFound := tblComp.Locate('CompPhone;Title;AddLine2', VarArrayof([sPhone, sTitle, sAddLine2]), [])[/CODE] When the script gets to this point sPhone, sTitle and sAddLine2 are correctly populated. When … | |
this prints all five iterations. cani make it only print the last iteration? [CODE]key1 = [' ','a','b','c','0','1','2','3'] out = '' inpt = raw_input('enter text:') for i in inpt: if i in key1: out = out + key1[key1.index(i)+3] print out[/CODE] Software Development python | |
Hi everyone, Does anyone know how to tell if all elements in an array but one are the same. I know how to check if all elements are the same but this other problem has me stumped. Any ideas would be great Thanks Software Development c++ | |
Hello all, I need your help in the following. [ATTACH]21771[/ATTACH] I have created a custom tab control as seen in the attached image. Please tell me how to extend the white color in the circled area in the image for the selected tab. Software Development | |
hi, im a java beginner.i want to read multiple text files,say 100 files.i want to remove the stop words from each of the file and want to save the contents after the stop words removal into newer files. For instance, a file name.txt contains: my name is sash after the … Software Development java | |
Im fida hussain rind baloch from pakistan sindh. Im graduating in (it) 2nd year. I have problem to understand java core programming. its now started in class but not understand well about basic of java like 1 Global variables 2 access specifer, modifer, return value . i have a problem … Software Development java | |
hi friends .... i have one website which have only html pages. I want to add one page that fetch records from sql database . is it possible????? what should i do for this task???? somebody please help me.. i waste 2 days behind this thing. thanks in advance......... Software Development vb.net | |
How do I get the correct response to print out? [code]import java.util.*; import java.io.*; public class MultipleChoiceTest { public static void main (String[] args) { Scanner input = new Scanner( System.in ); String Question; String FirstName; String LastName; String Answer; double CorrectTotal; double IncorrectTotal; double TotalQuestions; double OverallTotal; System.out.println("Please Enter … Software Development java | |
Hi all, I am new to C++ and I am having trouble with the syntax. I am suppose to write code for this question: //Write a program in which the funtion main prompts the user for one of the six letters a, b, p, q, x, or y. The function … | |
Hey everybody, I need a way to browse your computer's files from a program without the use of a separate dialog box (I'm running in fullscreen, you see). It should start from a specified default folder and list all folders (except hidden ones) and files of a specified format in … | |
Hi!all Im having a diffucult time to spot the error on the below codes to find the GCD of the two integer numbers.Please help me to debug [B]Private Sub cmdgcd_Click() Dim A As Integer, B As Integer, D As Integer A = InputBox("A = ?") B = InputBox("B = ?") … Software Development visual-basic | |
What is the difference between declaring a variable [CODE]private static final int x;[/CODE] and [CODE]private final static int x;[/CODE] I mean what is the difference between declaring static first then final and vice versa . Thank You :) Software Development java | |
How do I call the function in the button section?? I tried doing target(); and got when the program ran, it gave me some exception thing.. [CODE] package smart; import java.applet.Applet; import java.awt.AWTEvent; import java.awt.BorderLayout; import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.Point; import java.awt.event.ActionEvent; import … Software Development java java-swing regex | |
Hey, So I am very new to using VB, Visual Studio etc. I am trying to do something really simple. Basically I have an Excel 2003 workbook with some data pre stored. All I need to do is add a chart to the spreadsheet and plot some data. However I … Software Development microsoft-office open-source vb.net visual-studio | |
I have two text box [COLOR="Red"]Textbox1[/COLOR]and [COLOR="red"]Textbox2[/COLOR] and [COLOR="red"]button1[/COLOR] textbox1.text = 1; textbox2.text = 0; Now I want when I click on button1.textbox2's data increment. this is my code [CODE]for (int i = 0; i <= 5; i++) { textBox2.Text = textBox1.Text[i].ToString(); }[/CODE] Software Development c# | |
[CODE]Imports System.Data.OleDb Public Class frmlog Dim con As New OleDbConnection Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click If ask() = True Then MessageBox.Show("Success") Me.Hide() Form1.Show() Else MessageBox.Show("Invalid") End If End Sub Public Function ask() Dim dt As New DataTable Dim ds As New DataSet ds.Tables.Add(dt) … Software Development dataset microsoft-access open-source vb.net | |
I'm trying to create an xsd dictionary for some data migrations, I don't fully understand how to format xsd:pattern values correctly, I was wondering if anyone had any ideas. I have some values that were done already: <xsd:pattern value="[a-zA-Z]{1}([#-. a-zA-Z0-9]*)"/> <xsd:pattern value="([ a-zA-Z0-9]*)"/> But I don't know how to manipulate … Software Development xml | |
[CODE]#include<stdio.h> void main(void) void change(void); int x=4,y; y=x; { printf("\n The value of x is = %f and the value of y is = %d",x,y); change(); printf("\n The value of x is = %d and the value of y is = %d ",x,y); } void change(void) { x=x+3; } [/CODE] … Software Development c++ | |
we were asked to create a calculator in java applet......My codes are working except for one thing....whenever I click the clear button, it only erases the first,second and the total sum.....it does not clear the total difference, total product and total quotient....please help me what to do?...... here is the … Software Development java java-swing perl | |
Hi, I'm pretty new to C++ but have a lot of experience in Python. In python its pretty straight forward to make functions that both take arrays/vectors as input and return arrays/vectors. My thought here is to make a function to calculate the gravitational force between to bodies with mass … Software Development c++ | |
[B]What kind of windows version do i have?[/B] i need to know what version of Windows i have for costomer service from iTunes, but i dont know what version, Windows 7, Windows Vista or what, so how do i tell Software Development c++ windows-vista | |
Is there a GUI Builder for Code::Blocks, something like BOA for Python? Greetings, Emir | |
Hey guys! I've been creating this program that takes in an input from the user, and if the user is done inputting the required information, the user clicks on the "Ok" button and it opens another form which displays the info that the user inputted from the first form. My … Software Development java | |
Is it possible to move the "description" column to the right of the "Allow Nulls" column in the table designer so you can see the descriptions for each table column without clicking through them one at a time? Like the attached picture? Please, someone, for the love of all that … Software Development sql | |
I have assigned the value whether the check box is ticked or not to a vairable.I want to pass the value to a function. how do I do that ? if (checkbox1.checked==true) { value1 = "I am here" } if (checkbox2.checked==true) { value2="I am there" } value3 = value1 + … Software Development | |
in my c# program, you will have to create accounts for you to log-in. now, when i create an account, (username, password, age, gender, date...) the info will be inserted in a table named "users". ones a users has a created an account he needs to update his record everyday, … Software Development | |
I can't seem to "return" a value that is stored in "diff". I am suppose to give the value of diff to "int main()" to activate the void low() or void high() functions. But the program I did skips [CODE] difficulty(diff); if (diff == 'l') {low();} else if (diff == … Software Development c | |
[B]Hi Guys[/B] Please Help me out....Iam banging my head to the wall now just because of this problem.... I want to get the HTML code of a Website using the Class of HttpWebRequst and HttpWebResponse..... the main problem is that whatever web requests are made...they are done using Internet Explorer.....Please … Software Development c# web-browser | |
I have problem with creating jar file want to create jar file with mysql connector i include the mysql connector in manifest file but still it five me error like: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) … Software Development file-system java socket-programming | |
Good day! I would like to ask how to enumerate the contents of certain vector and print it in a certain file because this code is having problems: [CODE] Enumeration e = v.elements(); ... while(enu.hasMoreElements()){ out.write(enu.nextElement()); }[/CODE] Error: ...: cannot find symbol symbol: method write(java.lang.Object) location: class java.io.BufferedWriter It seems … Software Development java | |
Hi, i am trying to make a BMI calulator and here is my code: [CODE]#include<iostream> #include<sstream> #include<fstream.h> using namespace std; int main (char argc) { double ff1; double ii1; double ww1; for(;;) { system("cls"); cout << "Enter feet." << endl; string f1; cin >> f1; stringstream(f1) >> ff1; if(ff1 >! … | |
Hi All Im using datagridview to load data but i want to filter the grid using the index selected with in a combobox. Software Development | |
Ok, now I'm feeling dumb and all, but I need help on how to a print a secret random code if I said yes on cheat, and I should not let it be printed if the answer on the cheat is no(but it should still be stored in a value … Software Development c | |
I'm not sure where this post fits, but after staggering here and there I Thought I would throw it here! I find difficult to make coordinates by hand (Not very good at x-y-z though I know the XY coordinate). Is there a tool that will allow you to draw let … | |
Hey All Im using 3 tier design to do my coding. Im having problems deleting a record selected in the grid. I have my method which does the loading of the datagridview in the businesslayer. Can you please assist me on how to delete a record selected... Please Software Development | |
hi, can any one tell me how to i convert amount(in digitts) to word. thanks in advance Software Development | |
Hi.. How to check a check box based on a condition at run time? Software Development vb.net | |
Why does it always return true?! No matter what I do it says the bitmaps are the same.. I want it to tell the difference between the two bitmaps.. like if they look alike with a slight tolerance to make sure that it doesn't have to be a perfect match.. … Software Development c++ | |
Hi any idea of how to parse a file like this. The problem that I found reading a line a putting into a list that it does not respect the blanks, I need to parse first 9 positions, then 8 positions then 8 positions, then 7, then 7 then 7 … Software Development python | |
hi, I want to run lkdemo.c which comes as a sample of open cv. Actually i am interested in using algorthim of optical flow in order to track movement of an object for my project but it gives error which says segmentation fault.my operating system is linux .it is showing … Software Development c operating-system | |
Ok so I'm new at programming java(well not that new) but I do tend to hit a lot of wall and give up out of frustration. I need help. Can anyone suggest a book for beginners or something. I'm actually doing a computing course but I really don't wanna ask … Software Development java | |
Hey Im new with this website. I need to find a good web project for my thesis... can you please help? Obviously i dont need a very advanced level because i m new with this street. Thanks for your help!! Software Development | |
Hi, this is my first attempt at actually making a game that is actually playable, instead of something boring that is just the same thing over and over. The problem that I am having is that when the function startGame(); is called, the program closes. There are no errors, because … Software Development c++ | |
I haven't really found anything on the topic other than its bad to cast, but I would assume there is a "proper" way to accomplish this. To illustrate: Class B and Class C both inherit from Class A. I have a function MyFunction(A obj); In MyFunction() I would check if … Software Development c++ | |
I have a homework question that instantiates 4 node pointers, *p, *q, *r, *t, and the first three have a number, 1, 2, and 3 respectively. I have to draw out (using 'blocks' and arrows) what the memory would look like when these lines of code occur: p->next = q; … Software Development c++ linked-list | |
Hi, I am using DEV-C++ and i am wondering how to declare variables in a windows project. I am trying to make a calculator and i need it to declare a variable a certain number when you press a button. I also need it to declare a char after you … |
The End.