199,114 Archived Topics
Remove Filter ![]() | |
Okay, so I'm well read in VB and quite an avid VB programmer but I realize that programming in visual basic isn't very marketable and above all I only use it for fun. I wanted to move to C++ but noticed that it was a LOT harder, and worked completely … | |
Developing an applet , which queries information from database and displays. Database used is sqlite. Application Envi:: Application runs on the local machine and the database file is present locally. The application is run inside Web browser and not in the appletviewer. Due to security restrictions, applet doesn't allow application … | |
Hi I have a particular problem in returning an element of a struct which matches a maximum of another element here is part of the code, which will work, but does not display the details[i].title, which part of my original Struct declaration. What am I doing wrong ? [code=cplusplus] int … | |
Hi, I want to use outputs from different forms of a project and save them into a single text file that could be from a module. Please suggest any tips on this. Abhishek | |
when i am using graphic in my program and copy the .exe file in another computer where c++ is not available its return a graphics error(EGAVGA.BGI) is not found. why?? and how can i solve this problem. | |
I need to do some calculations in VB and display the results of the calculation as a decimal number like 1.62. In my code several variables have the Dim Double and some have the Dim Currency. The result of the calculation is always shown as a scientific number with a … | |
hi all, if you look at the code below you will see that i am trying to get a template function to return an iterator based on the type type of one of its parameters, i cant seem to get it to work i dont want to have to pass … | |
right i am really really sorry i have left it until the night before hwk is due in i need to make a program that; inputs student data outputs students data edits previously inputted student data deletes previously inputted student data if anyone can help me, give me a basic … | |
Hi, I need to write C++ code to find the factors of a polynomial.For eg. X^2-1 should return x-1 and x+1...anyone have any ideas on how to do this? | |
Sorry to everyone, I figured this out just after I posted, But i do still have another question, For a certain operation I am required to use log's in determining a variable for example Var3=log(Var1/Var2)/log(8) but java doesnt seem to accept log. What is the appropriate way to use logarithm? … | |
hi i have created application that uploaded files (.zip, .doc, ... any type ) to file system and then i have create another code to download the files but i need so have the option to open also the file if i do not need to save it on my … | |
First off, I'm not really a DBA... I'm learning as I go. The office I work in has a lot of problems when it comes to the integrity and reliability of data stored in our Oracle database. One of the little things I'm wanting to resolve is the duplication of … | |
Hi Folks, is there a way to validate input fields using only PHP scripts before inserting into a MySQL database? I have fileds for: Date (DD-MM-YYYY) Time (24 hour format between 0900 and 1700) Location (String) Your suggestions will be a boost. | |
I need a little help converting my GUI panel into JButtons instead of text for some parts [code] //Davina Moore //TempConverterPanel //November 6, 2008 import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TempConverterPanel extends JPanel { private JLabel input, results_f, results_c; private JButton output; private JTextField fahrenheit, celsius; public TempConverterPanel() … | |
Hi. I just joined this forum because I really need some quick advice on a Blackjack game I'm working on. It's my first major endeavor, and I can't quite get it to work right. Here's the code. #blackjack.py from cards import * from graphics import * import random DIM = … | |
Hi Everyone! I have to make a forum with MS SQL, and, as I'm Hungarian, we use characters, like áéÃőúű, etc. Now, if I insert a text with the letter Å‘ or ű, I get back o and u. How can I solve this problem? The users write posts in … | |
hi guys how r u doing .. i need some help .. something went wrong and i dunno what is going on .. i will post the problems .. i hope someone could help first i tried making a script .. to include certain files depending on the time ... … | |
hi I have crreated a conde to try and take input rom a user as a string then break it up into bits and pass it o it's functions but the values are not releacting at the functions and anyone has any other way o converting a string into a … | |
Hey Guys., Im super desparate have 1 day to hand this in. Have to use loops only. quote: The use of any of the following C statements or functions is not permitted under any circumstances. break; continue; exit(); abort(); No global variables. When the program starts it will prompt the … | |
Hi All I am writting an stored procedure to get the recently inserted records primary key as follows: [CODE]ALTER PROCEDURE [DBO].[AddEditUserMsgDetails] ( @iJobID [INT]=NULL, @iUserID [INT]=NULL, @vFromName [VARCHAR](50)=NULL, @vFromAddress [VARCHAR](50)=NULL, @vSubject [VARCHAR](50)=NULL, @iListID [INT]=NULL, @vActualText [VARCHAR](100)=NULL ) AS BEGIN /* Logic Comments: INSERTING OR UPDATING INTO THE TABLE ezlMailJobs EXEC … | |
Hi how are you all?hope fine I need quick help please, i'm a computer science student, in fourth year,and i should have a graduation project,the problem is i cannot find a good idea yet, so i need a quick help. i think a bout something in "java applet" ' but … | |
Hello, I have just started using Delphi and ran into a small problem. It's a simple app, as I am only practicing. It has a Button and 2 Edit boxes. I want the user to enter some text to be saved (in a .txt file) in Edit1 and choose a … | |
Hi All, I need help figuring out how I can call the various functions in this program from main. I've figured out as much of the code I could, but now I'm stumped. Any help would be appreciated. [code] #include <stdio.h> float deposits[50] = {0}; float withdrawals[50] = {0}; char … | |
I have trouble with getting the correct number of characters displayed when returning this simple function. Does anyone see what I am doing wrong in the function (the cout function outputs -2 instead of 4 which is the lenght of "test")? Thanks: [code] #include <iostream> using namespace std; int mystrlen(char … | |
I have a text data file including a lot of double data set as below: the dta are separated by 3 spaces. x x x x x x x x x x . . . x x x I want to read these data line by line and from left … | |
ok, so I have to write a program for computer science and I chose to do it in python (obviously) butI'm having trouble getting the program to open the file. here is just a snippet of the coding in question: [I]elif choice == 5: h = open("C:/Users/Dhyan/Documents/" + raw_input("Please enter … | |
hi everyone... I'm newbie in php.... currently doing my class project (simple tennis court reservation).... kindly please guide me how to do and please provide some sample.... thanks alot...:) | |
[code=csharp] using System; /// <summary> /// Summary description for Class1 /// </summary> interface I { void dis(); } class B:I { public virtual void dis() { Console.WriteLine("dis() in Base"); } } class D : B { public override void dis() { Console.WriteLine("dis() in Derived"); } } class c2 { public … | |
hi all, here i got strucked on auto incrementation of version using c# ,iam trying to do it programatically but i could able to change version number in variables but iam not able to write it back as it is read only.Is there any alternative for this?. my code is … | |
I'm writing a class for simple equation parser. I've completed the - and + operators, and am currently working on implementing brackets. They seem to work most of the time, except I occassionally get strange results, such as with 10 - ((10 - 20) + (10 - 20)) returns 40! … ![]() | |
Hello., i have sql server in my pc and i want to connect my visual basic form to my sql? how can i do that? what is the code i have to write in the modules? please help Thanx in advance... | |
I am a 17 year old beginner to C++ I want to find a beginner project that I can set my mind on so I can have a clear goal. What projects do you recommend? Please make them beginner friendly. I am having a huge problem with lessons, so I … | |
can anyone teach me how to design web using PHP What software i need to have and send me some tutorial | |
in my php application i have used onchange and onload javascript function.it is working fine in IE but it is not working in other browsers eg:mozilla,chrome,flock | |
hi, i'm trying to figure out how to fix this warning: decode.c(77) : warning C4715: 'get_msg' : not all control paths return a value i understand that my get_msg could not always return a value, i'm just not sure how to state that in my code? can anyone suggest anything? … | |
"need rotating div display, preferably in PHP" need a rotating div display, similar to rotating slideshow - preferably in PHP, since will interface with database. see [url]http://www.cshlaw.com/cai/[/url] - upper right is [a] a photo, next to it is [b] a caption, below it is [c] the name of the person … | |
Anyone who coulf help me in loading listview items to another listview? i want to load items one by one using "selected" property and all items by using "For each" statement.. and also i want to know hoe to track down duplicates with 1 column as a basis.. anyone who … | |
Hello all, I was wondering how I could make this with larger numbers instead of scientific notation or whatever it is. I have attached my code and here is what I did: 1. Typed in E for exponent and hit enter. 2. Entered 9 and hit enter. 3. Entered 9 … | |
Can't figure out a for statement that will make this function work...help please ASAP Receives nothing from main Returns an even integer Ask the user for an even integer Read in the user’s input value. Repeat the prompt and input for any invalid numbers until a value of the correct … | |
Hello everyone. I wanted to know how I could create a simple time restriction variable. For example making private double hour; not go over 2:59. Basically I don't want someone to be able to input a number greater than :59 in a Jtextfield. I can do a time application, but … | |
hi, i have a client and a server using uniform server and im using sockets to connect them. i would like to be able to input information from say a form on the client side, send it to the server, the server would then input this data and send it … | |
Hi, I have 2 things I'd like help with: 1) is there a way to find the exact center of my screen? 2) a loop Here's what I need the loop for: [code] image = ImageGrab.grab((0,0,800,800)) box = (100,100,400,400) im = image.crop(box) im1 = im.save("screen.jpg") # at this point I … | |
after you switch (variable) case 1: etc.... if the switch defaults, how do you return to repeat the switch case? do you just do a simple cin>>var and it will reset or you have to loop it? Sorry if question isnt clear | |
hey i need this for my exams the gave me a summary about a program which gets password from the user an saves it inside the exe itself.you can also give me help for encription please do write the source code | |
Hi, I'm trying to finish a college project for tommorrow, but am having real problems with my code. Every time I try and run it, I get an error message saying 'Expected If'. I looked and looked at it, but can't for the life of me work out whatthe problem … | |
Consider d_type=POINT_LONG in the following program. and data.Long=0xA; In the following program i am getting correct output in constDataArea[0],constDataArea[1],constDataArea[2], constDataArea[3] which is oxA, 0x0, 0x0, 0x0. But not able to write the same into ambi.dat file. Some junk value is inserting in the front. and writing 5 bytes instead of … | |
Hi, all.. Does anybody have experiencing on store the spoken word into database? For example, when the program hear the voice spoken by some person, the program can store the spoken word into the database? The database system use is MySQL. Anybody have any idea on it? | |
![]() | Hey I am new to php and was thinking of writing a mailing list. Very simple, users enter their email into a box and click signup or whatever. I am just wondering.. where -or- how do I store those email addresses? Obviously storing them in a text file on the … |
ok i cant see whats is wrong with this but it wont add a user [code=php] <?php include "config.php"; //Get the information from the form $username = $_POST['username']; $email = $_POST['email']; $password_1 = $_POST['password_1']; $password_2 = $_POST['password_2']; // makes sure that the 2 passwords match and that the email address … | |
Hey guys, I've got a beginner question about this for some reason the getline function will not work, does anyone know why? I can't seem to figure it out [code]int main () { string studentname; int test1, test2; cout << "Enter first test score"; cin >> test1; cout << "Enter … |
The End.