64,152 Solved Topics
Remove Filter ![]() | |
Hi, I've got a major headache with a SQL Union statement. Basically I'm running a SQL Union statement in ASP that is not returning the first few unions. But if I run the SQL in enterprise manager it runs fine. I can't find anything on the web that even remotely … | |
I have put values into 6 elements of the vector Numbers like below. What I wonder is if there is any function to check for the Highest value for a given range of the vector. Say I want to find the highest value from elements [3] to [5] wich in … | |
I'm completely new to C & need some help =( I want to make this clear.... This is a homework project that I'm stuck on so if you feel this is "cheating" then sorry for "offending" you. How can I change the tax rate in the executable file? This is … | |
I have 3 applets like this one that have walkers. What I need help with is adding an action listener to the buttons. I have tried several times and keep getting this error. I did have oneWalkerButton.addActionListener(this); [B]in java.awt.Button cannot be applied to walking[/B] What is supposed to happen is … | |
![]() | hi again i help with my carnival clubs fundraising and being lazy like i am, i wanted to make a program that would tell you how much to ask for after inputting information and would then save it into a text file. using griboullis' help from my other thread about … ![]() |
I have an input form that requests a date from the user and have a pop-up window with a calendar in it. Problem is the window shows for less than a second and then goes behind the main page. I have used this exact code in several other places with … | |
How can I use right-to-left text in a JTextArea? | |
I'm trying to instaniate (not sure if thats correct spelling lol) one of my classes but even though i've spelt the name correctly i keep getting a NameError: main: [code] import os import os.path import shutil print "#######################################################################" print "# FOLDER SORTER - VERSION 0.1 Beta #" print "# This … | |
i have a small app that reads a forecourt program's database. i want to get the current shift's info from that and display/print it out. SELECT name, liters, amount FROM salemast ORDER BY name the above statement was my first idea, but that didn't add them. just got a long … | |
I hate to bother you guys but I have a problem that has me stumped. When I test it on my local server it works fine, but then I uploaded the files to the web server and it doesn't work and I get the following errors: Warning: fwrite(): supplied argument … | |
Hello, I am writing some testing scripts. At the end of each test I may have to return my environment back to it's default state using various subroutines in various modules. I realize that using the END block I can run these subroutines, however I have hundreds of these test … | |
hi people, I'm supposed to be creating something like a dynamic item number generator. for example: FROM: A 1 0 111 TO: B 2 0 112 should produce: A 1 0 111 A 1 0 112 B 1 0 111 B 1 0 112 this would be quite easy using … | |
This goes out to only the users of Dev C++ (or people knowledgeable with this compiler). I am trying to consolidate all of the files needed to run Dev C++ onto a flash drive so I can use it on multiple computers. I have been having problems getting the app … | |
I have a file with a network map consisting of 0's and 1's. I want to read this map into a two-dimensional array. I have the following code: [CODE] #include <iostream> #include <fstream> using namespace std; int main() { char map[22][22]; // 22 x 22 (r*c) ifstream fin; fin.open("netmap.txt"); char … | |
I started a program that calculates an employee's weekly gross pay when the user inputs hours worked and hourly pay rate. With what I have so far, it compiles fine, but gives these errors: on Dev-C++: message: [Linker error] undefined reference to 'get_pay(float, float)' Id returned 1 exit status file: … | |
Hi all, Would you please help me to find a way that I can open an external crystal report in my application without creating a new report. I actually wanted the application to export the report to a PDF which I know the methods to do it. What I am … | |
hello guy,,can you really help me understand more about "stack" in java?? i am still confused about stack.push or stack.pop.....can you help me understand it more??..thank you again... | |
hello, it's me again. As you have noticed, i am working on an assignment that my teacher gave me. It's 20% of my midterm exam. I posted the threads "Need urgent help! please", "I need help with my program", and the "Help with my main method." I am having problems … | |
please tell me under what condition we should we use abstract classes and main difference between interface and abstract classes | |
[code=JAVA] import java.io.*; import java.util.*; import javax.swing.*; public class Calculator { private static Stack operators = new Stack(); private static Stack operands = new Stack(); public static void main(String args[]) throws IOException { JOptionPane.showMessageDialog(null, "Hello user! I hope you have a great time using this. = ]", "Welcome", JOptionPane.PLAIN_MESSAGE); JOptionPane.showMessageDialog(null, … | |
I am having a combo box in my form and i want to open a image using that now whenever i select any option from the combo box different different images should be displayed what cud be the necessary code and what event should be used to write the necessary … | |
Hi all... please help me with this code... i hv retrieved the id of the employee from the login n stored it as a lable in my form- logid but now with respect to that i want to get the employee name... please help very urgent!! [code] Dim rs As … | |
I'm writing a method to generated a latex table table from input arrays. It's working but there is one nuisance: I want trailing zeros on numbers. Right now I'm using the %g method which works nicely, but it still will turn 1.340 into 1.34 if I do "%.4g" % 1.340. … | |
I have code that successfully displays results, but throws an error in Fx 3 and IE 6. A sample of the XML file: [code] <?xml version="1.0" encoding="ISO-8859-1"?> <mycds> <cd> <title>Wolf City</title> <artist>Amon Duul II</artist> <artist_id>1</artist_id> <track_id>1</track_id> <sequence>1</sequence> <track_name> Surrounded By The Stars</track_name> <track_id>2</track_id> <sequence>2</sequence> <track_name> Green Bubble Raincoated Man</track_name> <track_id>3</track_id> … | |
I have a problem with my project. The project search through the database and displays the results. The problem is that I get question marks instead of GREEK letters (i do not mean rubbish, i mean Greek). Suppose that the problem is not about encoding. I have to find the … | |
I have a form in which i have 5 tab pages i have a doubt as to how to open a specific tab page within that form on button click. Say, i have an admission form in which when i click on save the details should be saved and then … | |
I have a VB6 program that does some image processing. It works fine when used thru both the GUI or non-GUI command line. My problem is that if I am in a command window and run the executable with arguments, it returns to the command window prompt after just a … | |
how i can create control at runtime? is this possible? Regards Vega. | |
Hi all, I am currently doing on this project and i am struck at this section - which is deleting multiple rows from mysql with checkbox. The code i am using is [CODE]<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="advert"; // Database name $tbl_name="test_mysql"; … | |
why it is use full to resolve overridden method at runtime rather than compile time | |
This is a code converting infix expressions to postfix expression and evaluates it. there is a problem, when i run it in ECLIPSE, it it displays this errors: Exception in thread "main" java.lang.NumberFormatException: For input string: "4+4" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at Postfix.toPostfix(Postfix.java:39) at Postfix.main(Postfix.java:21) Can anybody help … | |
[code] import java.io.*; import java.util.*; public class InfixToPostixEvaluate { private static final String operators = "-+/*"; private static final String operands = "0123456789"; private static int getPrecedence(char operator) { int ret = 0; if (operator == '-' || operator == '+') { ret = 1; } else if (operator == … | |
[CODE]#include <iostream> //Using for input and output #include <iomanip> //To set each number a determined place in the print function /* This program will try to move a knight around a chess board to each space exactly one time. How I will do that? I will first create the board … | |
I am having an issue with a subclass. When I put in the code [code]package Ch1Pkg; public class RoundBaseContainer extends BaseContainer{ [/code] to implement the superclass of BaseContainer, I am getting an error that says cannot find symbol Symbol: constructor BaseContainer() location: class Ch1Pkg.BaseContainer I have the files in the … | |
As a part of an assignment I am to construct a copy constructor for a bitmap loader/manipulator class. 2 of the things that must be copied are struct headers (containing a bunch of useless bitmap information, with a tiny bit of useful stuff). Image Headerfile: [CODE=cplusplus]#pragma once #include "Drawer.h" #include … | |
What is the easiest way to print pdf files using Visual Basic 2005? I have some experience programming in VB 6 but I'm haven’t' been using 2005 very long so I’m still quite ignorant. Thanks for any help I can get. If someone could point me in the right direction … | |
h! friends i am not gettin output for below program.. it shows [B]segmentation fault[/B]...:-O can any one suggest me on this.... [code=c] #include<stdio.h> #include<string.h> int main() { char *str1="United"; char *str2="front"; char *str3; str3=strcat(str1,str2); printf("\n%s",str3); return 0; } [/code] thanks:) | |
I am programming in vb6 and am trying to cause ctrl-a to "select all" in a list box, but am not having much luck. Does anyone have any ideas on how this might be accomplished? Thanks, theory | |
How can i playing wav file on my application? Im using vb.net 2005. Thank you very much... | |
Hi I have a site that I am struggling to get it to do what I need it to! I have managed to add how many photos appear but I cannot add A HREF links around these thumbnails to get a larger picture to appear in browser window. Code is … | |
Hi, I m new in this field. Actually I face a problem, I call a php file from a html file using javascript. I declare a variable in php file,I want to use this variable in the same html file after execution of php file.Please help. | |
window.location.href = "updateReg.php?idValue=" + idValue; in the above code, I pass just one value "idValue", can i Pass more than one value like this? | |
Hi, Below is my test code, i have a list of names in a file, i read the names and i have to insert them as menu options in the menubar. Since its a dynamic menu and people can add new menu's it has to be read from a file … | |
Okay. I'm a php newbie. I have a form where the user enters their name. I then on the next form I want it to access the database and add 1 to the row named 'number' that matches the persons name that they previously entered. If the name does not … | |
[B]TEXT file csvSTOCKS.TXT contains the following:[/B] Stock 1,200,300,200,200 Stock 2,200,300,200,200 Stock 3,200,300,200,200 Stock 4,200,300,200,200 Stock 5,200,300,200,200 [B]I'm attempting to read each line in the text file and put it in the array of strings lines()[/B] [code=vb] Dim sr As StreamReader = New StreamReader("csvSTOCKS.TXT") Dim lines() As String Do While (sr.Peek … | |
H! plz solve a problem..............! See I want to take continuous four input from the user, out of which three are character type and one is of int type. So my problem actually is that, it accepts only three input i.e. 2 char and one int & for remaining char … | |
Hi fellows, How can I set a value of any type in VARIANT const pointer? I am tried my best but vain. I am facing compile time error. Here is sample code [CODE]VARIANT *v=NULL; v->bstrVal = "Video.Bin"; another try VARIANT *pValue; //BSTR *fileName; const char* pName; pName = "Video.bin"; pValue … | |
take a look on image this is image u can find in every daniweb member's profile now i want the code to create this image can anybody have. thank in advance | |
hi 2 all.... i have a problem with my databind.it always view the wrong data. e.g. := webform1 --view customer details-- when i want to view customer details no1, all my text boxes always shows the other customer details..why is that??plzzzzz help... | |
[COLOR="Green"]Hello all, I'm new to the forum and also to python :D. Anyway I have been enjoying it quite a bit and wanted to start into something a bit more technical. So I though sockets would be a good start. I found a great sight , but the first script … |
The End.